Jump to content

Prestashop friendly url


Mr2803

Recommended Posts

Hello everyone, I am faced with a problem.

image.thumb.png.2e14263991a7551ca3d870ae0b355668.png

Before bringing my site into production, I had redirect enabled on 302. Now that I've gone online, I've set my shop to 301.
Until before modifying this parameter I was using friendly urls. However once I changed from 302 to 301 my website was no longer able to find the links and always returned page not found.
By disabling the short urls, everything seems to work again. Anyone have any idea why this is happening?

Link to comment
Share on other sites

50 minutes ago, corrigerunbug said:

Hi, 

Did you refresh your htaccess file ? 
Do you have any SEO module installed ? 

I initially deleted the .htaccess file via ftp and then regenerated it. I currently have no SEO modules installed

Link to comment
Share on other sites

59 minutes ago, PrestaServicePro said:

Hello, 
Follow the below steps and maybe it can help you:

1) turn off friendly url
2) rename .htaccess
3) clear cache of shop
4) turn on friendly url

And check again 

I tried your solution.
I disabled the friendly urls, deleted the .htaccess file, cleared the cache, but nothing. Now I am noticing among other things that prestashop gives me this warning:

"URL rewrite (mod_rewrite) is not active on the server or the server configuration cannot be verified. If you want to use understandable URLs, you need to enable this mod."

But if it was a server problem, how is it possible that until recently it worked?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...