Jump to content

Internal 500 error after changing url in SEO/URL


Recommended Posts

[i looked for this issue in this forum, but most of topics are not relevant to my case]

 

Please help, my website got Internal 500 error after changing url in SEO/URL preference. I've tried to fix by logging into Php Admin to change ps_shop_url, but It still occur.

 

The reason why I changed it: My website was working well, except for SEO/URL preference asked me to change url because its current url was not the same.

Asked to change url to: www.90pluswine.vn

Working well url: http://90pluswine.vn

 

www.90pluswine.vn

 

Could you please help me to fix it soon.

 

Thank.

 

 

Link to comment
Share on other sites

first, turn on errors to find the underlying error

 

config/defines.inc.php

 

set the following to true as shown:

 

define('_PS_MODE_DEV_', true);

I did it already but i confuse because it has several logs file and i didn't find any thing in it.

Link to comment
Share on other sites

are you able to access the back office?

 

if  so, try this,  rename .htaccess (in your shop root) to _.htaccess

 

then from back office-->preferences-->seo & urls 

 

turn on or off (depending on current setting) friendly url's, this will regenerate your .htaccess

Hi El Patron,

No, i am not. I also found htaccess in my hosting and found nothing.

Link to comment
Share on other sites

what is  the data in this table?

Hi El Patron,

 

Please attached file. Thank for your promptly support  :). By the way, I don't mind if you could log in to my host to inspect.

 

Also remind you that SEO&URLs asked me to change to www.90pluswine.vn while the good config was http://90pluswine.vn.

post-777784-0-53844800-1402189901_thumb.png

Edited by luthanhphu (see edit history)
  • Like 1
Link to comment
Share on other sites

remove the http then you should be ok.  The shop_url domain and ssl domain should only contain the domain name not the http,

 

i.e. mydomainname.com or www.mydomainname.com

 

 

Hi El Patron,

 

Actually, I've changed or removed several times but the situation is still the same.

 

The origin was 90pluswine.vn as you said, when it came to error , I tried to change to some possibly urls.

Edited by luthanhphu (see edit history)
Link to comment
Share on other sites

please make sure that the ps_shor_url is set correctly without the http

 

then rename .htaccess to _.htaccess

 

see if you can access the b/o, if so then turn off and on friendly url to regenerate .htaccess

 

note: if this does not help, then you must find the underlying error from 500, this should display instead of 500 error, if not please contact your hosting company to see if they can find the underlying error.

  • Like 1
Link to comment
Share on other sites

Hi luthanhphu,

 

It seem that mod_rewrite is not enabled on your server. If you want SEO friendly urls then mod_rewrite (Apache configuration) should be enable on server & then there should be .htaccess file. So temporarly you can go with renaming .htaccess file but if you go fir SEO then it is necessary. So take require action.

 

Thanks

Alok

  • Like 1
Link to comment
Share on other sites

Hi El Patron,

 

My issue was solved successful!

 

I renamed htaccess file as you said. It took some times because my hosting hides that file, so I thought It corrupted.

 

Thank for your enthusiastic support :).

 

glad to help, typically .htaccess is 664, which hides it,  most ftp allows you to show 'hidden' files in settings.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

 

i have this error after i change the SEO URL, it ask me to change because the domain name was different than what i am connected that moment. and then i changed it, and it brought me to an error .

 

please help me to solve the problem i am new on prestashop.

 

thank you guys

Edited by putraAriwangsa (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...