chrislep62 Posted April 1, 2013 Share Posted April 1, 2013 Hi guys I want to turn /index.php?id_category=3&controller=category&id_lang=1 into /ipod.html I just want to write it manually as I have few items in the shop, and altogether few pages in the whole website I can't find a way to do this in htaccess through a RewriteRule What is the exact syntax to rewrite urls manually in htaccess ? Thanks Link to comment Share on other sites More sharing options...
sophiep Posted April 1, 2013 Share Posted April 1, 2013 If you want to redirect one url to another url permenently, this rule will help !! RedirectMatch 301 URL1 URL2 Refer this detailed post about URL rewriting http://www.seomoz.org/learn-seo/redirection Link to comment Share on other sites More sharing options...
chrislep62 Posted April 1, 2013 Author Share Posted April 1, 2013 Hi, thanks, I'll look into it and let you know. Basically, I'm not trying to redirect, but to rewrite, as I need to change the url of one single page Link to comment Share on other sites More sharing options...
chrislep62 Posted April 1, 2013 Author Share Posted April 1, 2013 Hi again, tested but can't tell as it has no effects at all nothing seems to have any effect when I modify the htaccess, as if anything I change/add is totally ignored by Prestashop Link to comment Share on other sites More sharing options...
hugosnel Posted April 1, 2013 Share Posted April 1, 2013 (edited) I have a doubt about the way the urle's are registered in sitemap file. I am using 1.5.4.0 since two dayes without problemes. A sample of a rewritten url in the site is: http://perledeproven...ille-shampoings This is correct but a sample of a url in sitemap file is the following: http://perledeproven...troller=product This leads tot a 404 not found page ! Please avice! TIA Edited April 1, 2013 by hugosnel (see edit history) 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