php - How to get mod rewrite to change an url's symbol for display purposes? -
good day all, ive been wondering, google searching , goign greyer quicker thinking if possible mod rewrite change specific symbol grabs url else? i.e. if url www.website.com/foo-bar using rewriterule can hyphen become forward slash? <?php $foobar = "foo-bar"; ?> <a href="/<?php echo $foobar; ?>">foo-bar</a> .htacces code have.. rewriterule ^([^/]+)$ index.php?page=$1 [l] so mod rewrite make url display on addressbar www.website.com/foo/bar if possible? regards, dan. have @ this: http://forum.modrewrite.com/viewtopic.php?t=2799