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

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -