Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-09-2010, 03:22 PM   PM User | #1
bngari
New Coder

 
Join Date: Nov 2010
Location: Kenya
Posts: 38
Thanks: 3
Thanked 1 Time in 1 Post
bngari is an unknown quantity at this point
Search Engine Friendly url

Hi, I have a website that usually has long query strings and I want to change that to the more convenient and Search Engine Friendly urls. Any pointers will be appreciated. The website is http://sinema.co.ke

Cheers, Biko.
bngari is offline   Reply With Quote
Old 11-09-2010, 03:59 PM   PM User | #2
MattF
Senior Coder

 
Join Date: Jul 2009
Location: South Yorkshire, England
Posts: 2,322
Thanks: 6
Thanked 304 Times in 303 Posts
MattF will become famous soon enoughMattF will become famous soon enough
There's no such thing as a search engine friendly URI. It's a myth which the SEO "experts", (Google did also help to propogate it at one time too, which doesn't help), have been using to milk their income from for years. The only difference between standard and fancified URI's are that one is more easily understandable by people, (not bots). Don't waste your time unless you have a personal reason for wanting to implement them. Search engines won't give a toss what the URI looks like. The only valid'ish reason for using them is if you want people to see something like: "article-name-here" rather than "article?id=256".
MattF is offline   Reply With Quote
Old 11-09-2010, 04:10 PM   PM User | #3
bngari
New Coder

 
Join Date: Nov 2010
Location: Kenya
Posts: 38
Thanks: 3
Thanked 1 Time in 1 Post
bngari is an unknown quantity at this point
I thought so too but its always good to have a second opinion. But i have another project where the client wants these search engine friendly URI so i just have to know how to!
bngari is offline   Reply With Quote
Old 11-09-2010, 04:27 PM   PM User | #4
djm0219
Senior Coder

 
djm0219's Avatar
 
Join Date: Aug 2003
Location: Wake Forest, North Carolina
Posts: 1,227
Thanks: 2
Thanked 189 Times in 187 Posts
djm0219 is on a distinguished road
Do your client a favor and explain that they aren't really needed and that they'll save money if you are able to focus on other things for their site instead of that area.
__________________
Dave .... HostMonster for all of your hosting needs
djm0219 is offline   Reply With Quote
Old 11-09-2010, 04:44 PM   PM User | #5
MattF
Senior Coder

 
Join Date: Jul 2009
Location: South Yorkshire, England
Posts: 2,322
Thanks: 6
Thanked 304 Times in 303 Posts
MattF will become famous soon enoughMattF will become famous soon enough
Quote:
Originally Posted by djm0219 View Post
Do your client a favor and explain that they aren't really needed and that they'll save money if you are able to focus on other things for their site instead of that area.
That would definitely be the best option. A link from Google's blog on the subject:

http://googlewebmastercentral.blogsp...atic-urls.html

If you do end up going down this rewriting route though, there are a few possible options. Are you creating this system from scratch or using an existing CMS or similar? If the latter, a rewrite option/mod/plugin may already exist for it.

If from scratch, you can either use rewrite rules to rewrite your fancy URI's to the dynamic equivalent, or, you can parse the request URI directly within your scripts and build the query from there, by using a custom 404 handler script. Any page which isn't recognised as existing gets passed to your handler where you do the internal rewriting/processing.
MattF is offline   Reply With Quote
Old 04-23-2012, 08:39 AM   PM User | #6
googliciousgr
New to the CF scene

 
Join Date: Sep 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
googliciousgr is an unknown quantity at this point
Yes but now we have 2012 and in terms of SEO friendly URLS they do exists guys.
For example, a URL with more than 160 Characters is NOT seo friendly but Google bot will still crawl it but that does not means that it has a maximum value since Google changed the way they show URLS in search engines.
So, it would be better to just have small URls for User Experience too.

Hope that helps.
__________________
This is my personal SEO Blog. It is in Greek but you may use Google Chrome to translate it. It has really nice stuff!This is my best frist επιπλα blog and i am working for these guys φωτοβολταικα
googliciousgr is offline   Reply With Quote
Reply

Bookmarks

Tags
php, search engine friendly, seo

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:16 AM.


Advertisement
Log in to turn off these ads.