Welcome Guest, Not a member yet? Register   Sign In
search engine friendly urls
#2

[eluser]theprodigy[/eluser]
One of the things I do is, I try to stay away from url's like
Code:
http://www.domain.tld/my_controller/products/1234

I overcome url's like that by having a link_name column in my database set as unique (to avoid duplicate entries), and run my searches based on that column rather then the id.

This allows me to create url's like
Code:
http://www.domain.tld/my_controller/products/my_red_stapler

Most search engines prefer words over id's when dealing with url's, especially when the word is relevant to the content being displayed.

There are several other things you can do, but this is one that I have gotten in the habit of always doing.


Messages In This Thread
search engine friendly urls - by El Forum - 02-03-2010, 09:38 AM
search engine friendly urls - by El Forum - 02-03-2010, 07:47 PM
search engine friendly urls - by El Forum - 02-03-2010, 09:30 PM
search engine friendly urls - by El Forum - 02-04-2010, 12:46 AM
search engine friendly urls - by El Forum - 02-04-2010, 12:54 AM
search engine friendly urls - by El Forum - 02-04-2010, 01:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB