Jump to content

seo friendly url on existing shop


Recommended Posts

Hi

I would like to know what the steps are to activating seo friendly urls on a store with existing products.

I generated the .htaccess file
enable the seo friendly url option

Then basically every link in my store was no longer available. The products are still all good in my admin section but the store has lost all the pictures and products.
I must be missing a step unless this must be activated only before entering any products in which case I'll have to do without :(

Thank you in advance for your reply
Julien

Link to comment
Share on other sites

Yup Linux server :
Operating system Linux
Kernel version 2.6.9-89.0.16.ELsmp
Machine Type i686
Apache version 1.3.41 (Unix)
PERL version 5.8.8
PHP version 4.4.9
MySQL version 5.0.81-community
cPanel Version 11.24.5-STABLE 38506
Theme cPanel X v2.5.0

Is it possible to apply the friendly url with existing products already in the store?
What do you think?
Thank you

Link to comment
Share on other sites

Try regenerating the htaccess file. Friendly URL needs to be enabled when you generate the file otherwise you will get the error you are describing. Stumbled across your post while trying to fix the same problem, just regenerating the htaccess worked for me.

Link to comment
Share on other sites

Try regenerating the htaccess file. Friendly URL needs to be enabled when you generate the file otherwise you will get the error you are describing. Stumbled across your post while trying to fix the same problem, just regenerating the htaccess worked for me.


This did not work for me.

It seems that the rewrite is working... the product is no longer something like:
"product.php?id_product=1" but instead "1-productname"


It just doesn't bring it up and gives me a 404.
Link to comment
Share on other sites

Try regenerating the htaccess file. Friendly URL needs to be enabled when you generate the file otherwise you will get the error you are describing. Stumbled across your post while trying to fix the same problem, just regenerating the htaccess worked for me.


This worked fine for me. Make sure the .htaccess is chmod 777 activate the url friendly option then regenerate your htaccess file. I am using 1.2.5
Link to comment
Share on other sites

Try regenerating the htaccess file. Friendly URL needs to be enabled when you generate the file otherwise you will get the error you are describing. Stumbled across your post while trying to fix the same problem, just regenerating the htaccess worked for me.


This did not work for me.

It seems that the rewrite is working... the product is no longer something like:
"product.php?id_product=1" but instead "1-productname"


It just doesn't bring it up and gives me a 404.


It sounds to me like your server doesn't allow URL rewriting, once you have created the htaccess file from within prestashop you shouldnt see any more 404's as it displays a custom error page. Are you running a Windows server? A lot of hosting companies do not allow URL rewriting on their Windows servers. If this is the case I would suggest speaking to your hosting company or transferring to a Linux account (as I have had to do with a couple of the sites I manage).
Link to comment
Share on other sites

  • 2 weeks later...
  • 10 months later...

I'm not sure if this will help or not, but I created a video to walk through the process of enabling friendly URLs, creating the blank .htaccess file, and uploading that file to the web host. You can view the video at the following address: http://www.prestatraining.com/create-prestashop-htaccess-file/.

This video doesn't address any problems with incompatible Apache or PHP software, but it might help with the process setting up the friendly URLs and uploading the .htaccess file.

Good luck.

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...