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 Link to comment https://forums.phpfreaks.com/topic/177380-page-name-issue/ 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. Link to comment https://forums.phpfreaks.com/topic/177380-page-name-issue/#findComment-935335 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 Link to comment https://forums.phpfreaks.com/topic/177380-page-name-issue/#findComment-935439 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.