chanchelkumar Posted October 12, 2009 Share Posted October 12, 2009 Hi all, Am working with php pages.. while i create a page i usually use _ (undescore) eg :my_name.php to connect the name. but for search engine optimization they asked me to change the name to - (hypen)my-name.php .in my experiance sometimes this - make the link breaks.. Please advise which is the correct way i have to use.. my_name.php or i]my-name.php[/i] thanks in advance Quote Link to comment Share on other sites More sharing options...
xsist10 Posted October 12, 2009 Share Posted October 12, 2009 hyphens in a URL is completely acceptable. See http://www.w3.org/Addressing/URL/uri-spec.html for the full URI specification. Quote Link to comment Share on other sites More sharing options...
haku Posted October 12, 2009 Share Posted October 12, 2009 Xsist - that's not what he was asking at all. OP: Whoever told you that was right... 3 years ago! I think I have an article on the matter bookmarked. I'll dig around for it. ...edit - here it is: http://searchengineland.com/its-not-just-google-that-treats-underscores-like-dashes-11854 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.