JulienHG Posted December 6, 2009 Share Posted December 6, 2009 HiI 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 optionThen 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 replyJulien Link to comment Share on other sites More sharing options...
tomerg3 Posted December 6, 2009 Share Posted December 6, 2009 Are you sure you are running a Linux based server? Link to comment Share on other sites More sharing options...
JulienHG Posted December 6, 2009 Author Share Posted December 6, 2009 Yup Linux server : Operating system LinuxKernel version 2.6.9-89.0.16.ELsmpMachine Type i686Apache version 1.3.41 (Unix)PERL version 5.8.8PHP version 4.4.9MySQL version 5.0.81-communitycPanel Version 11.24.5-STABLE 38506Theme cPanel X v2.5.0Is 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 More sharing options...
JulienHG Posted December 6, 2009 Author Share Posted December 6, 2009 Is it because I am not using php5?Can I activate php 5 on my existing store?Thank youJulien Link to comment Share on other sites More sharing options...
davet85 Posted December 10, 2009 Share Posted December 10, 2009 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 More sharing options...
dlopeman Posted December 12, 2009 Share Posted December 12, 2009 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 More sharing options...
dlopeman Posted December 12, 2009 Share Posted December 12, 2009 Is it because I am not using php5?Can I activate php 5 on my existing store?Thank youJulien Maybe... and your Apache version is pretty old... Link to comment Share on other sites More sharing options...
dlopeman Posted December 12, 2009 Share Posted December 12, 2009 I'm beginning to think that the SEO Friendly URL's ability for PrestaShop is NOT PRODUCTION READY. I'm going to turn mine off until I see some actual solutions (that I can read in English! LOL) Link to comment Share on other sites More sharing options...
JulienHG Posted December 12, 2009 Author Share Posted December 12, 2009 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 More sharing options...
davet85 Posted December 15, 2009 Share Posted December 15, 2009 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 More sharing options...
Guest Posted December 29, 2009 Share Posted December 29, 2009 use php5 then you will see what happens Link to comment Share on other sites More sharing options...
curtdonohue Posted November 13, 2010 Share Posted November 13, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now