php - How do rewrite underscore to dash without mod_rewrite -
i using php-login.net model mvc framework site.
however, view/controller setup works urls underscores:
domain.com/this_is_a_subdir
current seo best practice suggests using hyphens separators, google not recognise underscore separator:
domain.com/this-is-a-subdir
if 1 attempts use dashes (-
), results in internal server error 500.
i told because first , second part of url represent class/controller name , according method/action. , in php classes , function names cannot have dashes in them.
advice here suggests use either mod_rewrite or use "the parameter content url, wordpress etc do".
i'm interested in how latter of these solutions work, explain involve/where might start?
Comments
Post a Comment