Jump to content

Friendly Url Causing Server Problems Http Error 500


Recommended Posts

hey guys!! i m using prestashop 1.5 and mystore url is http://www.thebookshop.tk. I was experiencing friendly url problem for some pages..rest were working perfectly fine.In order to resolve that problem..i activated the friendly url from the back office.The pages which were giving problem of url were successfully rectified. But from now onwards whenever i open any category it shows me an SERVER ERROR.Then i click on reload then it opens the webpage.But when i close my website tab and again open the same category it agains show me the same error.Plz help..im into a big trouble. http://www.thebookshop.tk. u can visit the link and experience it urself.Thanks

Link to comment
Share on other sites

I had the same ploblem. Just get into the control panel Preferences>SEO URL>

when you change

Automatically redirect to Canonical URL option from yes to no and visa versa it creates a new .htaccess file. Setup your your shop domain and ssl properly and toggle and save

Automatically redirect to Canonical URL option

Link to comment
Share on other sites

I just realized something. The friendly urls are not getting updated when a change is made to the canonical url setting or the domain setting. You have to enable/disable the friendly url to get the correct updated htaccess. This is a problem as people do not know to change those settings in that order. You can see what I mean if you view your current htaccess file on the server with the following steps...

  • Have friendly urls on.
  • Note what your current domain url is (with or without www).
  • View your htaccess file on the server. Note the structure of the friendly urls (with/without www).
  • Now change the domain url in BO to the opposite (with/without) www.
  • Refresh your view of the htaccess on the server.
  • Note that the primary domain setting changes, but the friendly url settings do not update to reflect the domain change.
  • Now go into BO and disable/enable friendly urls.
  • Refresh your view of htaccess again and you will see the friendly urls are now showing the correct structure.

If my testing is correct, which I believe it is, this would be why so many people get confused and why it seems that the settings are not working. I think some testing needs to be done in regards to how the changes to these settings are applied to the htaccess when they are done in variable order. Someone please test and confirm this issue.

 

Also, this realization has not corrected my issue of not being able to login on the www domain.

 

http://www.prestashop.com/forums/topic/207986-login-issues-login-redirection-htaccess-cookie-issues/

This is from

Link to comment
Share on other sites

×
×
  • Create New...