Jump to content
Corcorlee

404 /login client side

Recommended Posts

When I go to website/login with full seo enabled i get 404 but when I turn it off it works fine, The seo friendly shows fully compatible. 

Share this post


Link to post
Share on other sites
Posted (edited)
3 hours ago, Corcorlee said:

When I go to website/login with full seo enabled I get 404 but when I turn it off it works fine, The seo friendly shows fully compatible. 

Found the problem to be with the clientarea.php but still can't figure out what is the problem

Edited by Corcorlee

Share this post


Link to post
Share on other sites
Posted (edited)

I'm also briefly experienced this issue - admin area works fine with full friendly rewrite, but the client area gives a 404 - I see this in the logfile:

[Thu Oct 06 22:15:48.982910 2022] [negotiation:error] [pid 230468] [client xxx.xxx.xxx.xxx:53504] AH00687: Negotiation: discovered file(s) matching request: /var/www/html/login (None could be negotiated)., referer: https://my.whmcs.domain/adminurl

I can confirm that after adding the following to my .htaccess everything works as intended:

Options -MultiViews

Obviously if you have more options already there, make sure those are added, I didn't have any so that's all I needed.

Edited by pKris

Share this post


Link to post
Share on other sites

Yes your need to disable MultiViews as there is a login.php file in the document root therefore without disabling MultiViews, the /login route will not work as Apache will choose the login.php file over the route.

Share this post


Link to post
Share on other sites
4 hours ago, leemahoney3 said:

Yes your need to disable MultiViews as there is a login.php file in the document root therefore without disabling MultiViews, the /login route will not work as Apache will choose the login.php file over the route.

Thanks I got I had that turned on.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated