webbusiness23 Posted May 12, 2010 Share Posted May 12, 2010 Hi,i want to change the place where the ID appears inside the URL.For example, instead of: http://www.mysite.com/35-laptops.html i want it to be http://www.mysite.com/laptops-35.html I want the above for both categories and product URL's.Any suggestions? Link to comment Share on other sites More sharing options...
Guest Posted May 12, 2010 Share Posted May 12, 2010 Maybe you have to change the Friendly URL rewrited setting.I want to know what's purpose of this, SEO? Link to comment Share on other sites More sharing options...
webbusiness23 Posted May 12, 2010 Author Share Posted May 12, 2010 I just don't like the ID showing in the place it currently shows.How can i change the friendly url settings? Link to comment Share on other sites More sharing options...
Guest Posted May 12, 2010 Share Posted May 12, 2010 If you don't enable the Friendly URL in the BO, you will not see the ID showing in the place. Link to comment Share on other sites More sharing options...
webbusiness23 Posted May 12, 2010 Author Share Posted May 12, 2010 If you don't enable the Friendly URL in the BO, you will not see the ID showing in the place. I did change the URL's in order to be displayed friendly.I was asking how can i change the ID's position inside the URL. Link to comment Share on other sites More sharing options...
tomerg3 Posted May 12, 2010 Share Posted May 12, 2010 If you don't enable the Friendly URL in the BO, you will not see the ID showing in the place. I did change the URL's in order to be displayed friendly.I was asking how can i change the ID's position inside the URL. It's not a good idea to start messing with the URL structure because you can never know what it will affect (and could pose trouble when /if upgrading).I would just let it be, it's doesn't make that much of a difference, at least not to warrant all the trouble. Link to comment Share on other sites More sharing options...
webbusiness23 Posted May 12, 2010 Author Share Posted May 12, 2010 I was thinking about changing the place the ID appears inside the URL for SEO purpose. But it you say it's complicated and problems might appear, then i will let it as it is. Link to comment Share on other sites More sharing options...
tomerg3 Posted May 12, 2010 Share Posted May 12, 2010 In my experience, it won't make any difference for SEO.Check out my site for some good Prestashop SEO tips http://www.presto-changeo.com/content/6-prestashopseotips Link to comment Share on other sites More sharing options...
webbusiness23 Posted May 12, 2010 Author Share Posted May 12, 2010 In my experience, it won't make any difference for SEO.Check out my site for some good Prestashop SEO tips http://www.presto-changeo.com/content/6-prestashopseotips It will make some small difference: it's more important to have the name of the product at the very beginning of the product's name part of the URL, then having a pseudo-random number starting the product's name.Am i right? Link to comment Share on other sites More sharing options...
tomerg3 Posted May 12, 2010 Share Posted May 12, 2010 Hard to say, I have not seen anything to indicate that theory. Link to comment Share on other sites More sharing options...
webbusiness23 Posted May 12, 2010 Author Share Posted May 12, 2010 I'm currently reading a SEO book: "Get To The Top On Google", written by David Viney.Inside the book you can find what i just said above.After reading that part of the book (and the explanations he gives related to this thing), i strongly believe it would be a lot much better to have the ID at the very end of the product's / category's URL. Link to comment Share on other sites More sharing options...
tomerg3 Posted May 12, 2010 Share Posted May 12, 2010 I have not read that book (there are probably hundreds or thousands of books on the subject), the bottom line is that this is most likely speculation, since different search engines use different techniques and those are also evolving all the time.In my experience I saw no indication that the placement of an extra number in the URL will make a difference. Link to comment Share on other sites More sharing options...
juanmaminage Posted May 31, 2010 Share Posted May 31, 2010 hi,what about this topic?I also need to change friendly url's structure 'cos i'm migrating from Zencart, which has a different structure than Prestashop.Google has cents of indexes to my current page on Zencart, and i dont want to change themZencart: www.xxx.com/golden-watch-p-125.htmlprestashop: www.xxx.com/125-golden-watch.htmlHow could i do this?thankss Link to comment Share on other sites More sharing options...
rocky Posted June 1, 2010 Share Posted June 1, 2010 It's difficult to do, so you shouldn't do it unless you understand code. You'll need to switch around the regular expressions in the .htaccess file so that ([0-9]+) is at the end instead of the start, then switch the variables in classes/Link.php too so that $id_product is at the end instead of at the start. 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