Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 13th, 2012, 08:29 PM
zxcvbnm's Avatar
zxcvbnm zxcvbnm is offline
A Change of Season
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2004
Posts: 1,679 zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 18 h 43 m 44 sec
Reputation Power: 71
What is a friendly url anyways?

Hello;

A few things:

1 - Which one is more Google friendly:
  • http://www.howtomoveonfromabreakup.com/tips_on_how_to_move_on_from_a_breakup/things_to_do_in_order_to_move_on/
  • http://www.howtomoveonfromabreakup.com/tips-on-how-to-move-on-from-a-breakup/things-to-do-in-order-to-move-on/
  • http://www.howtomoveonfromabreakup.com/tipsonhowtomoveonfromabreakup/thingstodoinordertomoveon/
  • http://www.howtomoveonfromabreakup.com/tips/thingstodo/
  • http://www.howtomoveonfromabreakup.com/tips/things-to-do/

2 - Is this proper way of doing it?
Code:
RewriteEngine on
RewriteRule ^tips-on-how-to-move-on-from-a-breakup/([^/\.]+)/?$ index.php?tips-on-how-to-move-on-from-a-breakup=$1 [L]


Thank you

Reply With Quote
  #2  
Old September 14th, 2012, 12:41 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Dec 2004
Posts: 8,062 E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 1 Day 6 h 41 m 13 sec
Reputation Power: 7104
Google doesn't care a great deal what your URL looks like, but the second one is the friendliest for humans.
1) Not everyone even knows what an underscore is because it's not normally used in written text. The best way to describe it to someone is usually to tell them where it's located on the keyboard.
3) Hard to read
4) Not very descriptive
5) Not very descriptive
__________________
PHP FAQ
How to program a basic, secure login system using PHP
Connect with me on LinkedIn


Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
  #3  
Old September 14th, 2012, 01:06 AM
zxcvbnm's Avatar
zxcvbnm zxcvbnm is offline
A Change of Season
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2004
Posts: 1,679 zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 18 h 43 m 44 sec
Reputation Power: 71
Quote:
Originally Posted by E-Oreo
Google doesn't care a great deal what your URL looks like, but the second one is the friendliest for humans.
1) Not everyone even knows what an underscore is because it's not normally used in written text. The best way to describe it to someone is usually to tell them where it's located on the keyboard.
3) Hard to read
4) Not very descriptive
5) Not very descriptive
Thanks. I am learning the mod rewrite thing. I thought now that I am writing these rules, I might as well learn what is the best way to do so I follow a pattern.
Code:
RewriteRule ^tips-on-how-to-move-on-from-a-breakup/([^/\.]+)/?$ index.php?tips-on-how-to-move-on-from-a-breakup=$1 [L]

Reply With Quote
  #4  
Old September 14th, 2012, 01:12 AM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Dev Shed God 7th Plane (8000 - 8499 posts)
 
Join Date: Dec 2004
Posts: 8,062 E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)E-Oreo User rank is General 92nd Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 1 Day 6 h 41 m 13 sec
Reputation Power: 7104
There are a lot of different ways to set up the rewrite rules. It mostly depends on how many rules you are going to have. If it's only a handful, or only a handful of formats, then it makes sense to just define them individually. If it dozens or more then the usual approach is to just have one rewrite rule that routes everything to a single PHP file and have that PHP file parse the URL in $_SERVER['REQUEST_URI'] and perform its own routing. That is how virtually all generic PHP frameworks operate.

Reply With Quote
  #5  
Old September 14th, 2012, 01:27 AM
zxcvbnm's Avatar
zxcvbnm zxcvbnm is offline
A Change of Season
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2004
Posts: 1,679 zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 18 h 43 m 44 sec
Reputation Power: 71
Quote:
Originally Posted by E-Oreo
There are a lot of different ways to set up the rewrite rules. It mostly depends on how many rules you are going to have. If it's only a handful, or only a handful of formats, then it makes sense to just define them individually. If it dozens or more then the usual approach is to just have one rewrite rule that routes everything to a single PHP file and have that PHP file parse the URL in $_SERVER['REQUEST_URI'] and perform its own routing. That is how virtually all generic PHP frameworks operate.
Hey while I got you here, I am finally doing a php -zend frame work course. Very expensive but it covers all the things I always was desperate for. Do you have any comments, or tips? Check this. Thanks

Reply With Quote
  #6  
Old September 15th, 2012, 05:11 AM
tianamartin tianamartin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 21 tianamartin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 2 m 13 sec
Reputation Power: 0
Url with a specified keyword placed in it considered as best url. like if http://www.howtomoveonfromabreakup.com/tips/things-to-do/ contains your keyword "Things To Do" than it will be good enough. Dates question mark dot, comma etc all are unnecessary.

Reply With Quote
  #7  
Old September 15th, 2012, 07:30 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,894 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 2 Days 19 h 45 m 6 sec
Reputation Power: 4192
I agree with E-Oreo. However, is such a long name for the "folder" really necessary? It's making for a rather long URL with some redundancy in the keywords.
__________________
Spreading knowledge, one newbie at a time. I'm available for hire at Dynamic Site Solutions.

Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

Remember people spend most of their time on other people's sites (so don't violate web design conventions).

Reply With Quote
  #8  
Old September 16th, 2012, 07:18 PM
zxcvbnm's Avatar
zxcvbnm zxcvbnm is offline
A Change of Season
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2004
Posts: 1,679 zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level)zxcvbnm User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 18 h 43 m 44 sec
Reputation Power: 71
What I did I just got rid of the .php in all pages! Like this. It is understandable and human friendly. As the website is not that large, I think it does it. Do you have any comments on this?
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ %{REQUEST_FILENAME}.php [L]
Thank you.

Reply With Quote
  #9  
Old September 17th, 2012, 04:51 AM
abiabiah abiabiah is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 27 abiabiah User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 25 m 19 sec
Reputation Power: 0
The last URL I can say is the most SEO friendly URL. On the other hand a URL which is easy to read and understand by the end user and it is easy to remember is named as SEO friendly URL.

Reply With Quote
  #10  
Old September 17th, 2012, 08:30 AM
modulesoftsoln modulesoftsoln is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Location: Bhubaneswar, Odisha, India
Posts: 26 modulesoftsoln User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 23 m 49 sec
Number of bans: 1
Reputation Power: 0
Facebook
The second one is good for SEO friendly URL.

Reply With Quote
  #11  
Old September 18th, 2012, 01:42 AM
micheal.burns1 micheal.burns1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 40 micheal.burns1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 47 m 10 sec
Reputation Power: 1
Friendly URL means a url which is more readable. Normally, people modify their url to make search engine friendly. 2 and 3 are fine as per my opinion.

Reply With Quote
  #12  
Old September 18th, 2012, 01:59 AM
stefijain stefijain is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2011
Posts: 58 stefijain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 39 m 25 sec
Warnings Level: 10
Number of bans: 3
Reputation Power: 0
search engine friendly url means we should keep keyword in url but it should be not like too too big URL. we should keep and small so people can read well too and understand what is it about.

Reply With Quote
  #13  
Old September 24th, 2012, 05:04 AM
micheal.burns1 micheal.burns1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 40 micheal.burns1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 47 m 10 sec
Reputation Power: 1
Yup!! I completely agree with you. Now, on CMS like wordpress as soon as you post your title of article you are free to edit it anytime and anyhow as you want. Once the article is published then that friendly url is live on internet.

Reply With Quote
  #14  
Old September 24th, 2012, 01:40 PM
aruna8712 aruna8712 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2012
Posts: 10 aruna8712 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 17 m 23 sec
Warnings Level: 5
Reputation Power: 0
Facebook
I think, last url correct.mostly keyword load in folders its great advantage...but in url u can add underscore or iphen its better.

Reply With Quote
  #15  
Old September 25th, 2012, 02:28 AM
micheal.burns1 micheal.burns1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 40 micheal.burns1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 47 m 10 sec
Reputation Power: 1
with hyphen and underscore the url is more readable.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > What is a friendly url anyways?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap