Welcome Guest, Not a member yet? Register   Sign In
Suggestion For SEO Friendly URL
#3

(09-24-2015, 12:39 PM)Diederik Wrote: For good SEO urls you need to remove all unnecessary stuff so the URL itself is as descriptive as it can be and put the most important parts at the front end of the url. I suspect that the 38 in your URL structure represents the city ID for Rio, if so, you should get rid of it and use the city name itself as a parameter.

I would suggest a structure where your first URL parameter is the name of the city, followed by the type of information you want to show about that city on that page.

And use a dash to separate words in a URL, don't use CamelCase.

http://www.xyz.com/city/rio-de-janeiro
http://www.xyz.com/city/rio-de-janeiro/album (or http://www.xyz.com/city/rio-de-janeiro/photo-album)

If you can you should get rid of the /city/ part as well but I dont know if that is feasible for you app.
http://www.xyz.com/rio-de-janeiro
http://www.xyz.com/rio-de-janeiro/album

Also use a title to slug function when saving data and store the slug in your DB table. Your url segment rio-de-janeiro will then match the slug in the DB table
Reply


Messages In This Thread
Suggestion For SEO Friendly URL - by codeigniter_ - 09-24-2015, 05:59 AM
RE: Suggestion For SEO Friendly URL - by Diederik - 09-24-2015, 12:39 PM
RE: Suggestion For SEO Friendly URL - by Martin7483 - 09-25-2015, 12:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB