mod_rewrite and client side JS
Posted: Tue Feb 20, 2007 1:15 pm
HTML processed by PHP it's quite easy to switch between SEO friendly links or not, but JS is a whole different ball game.
For instance, assume you have a drop menu which generates it's links and when you initially coded your site you used URL such as
You later make everything SEO friendly so links generated on the backend comeout as
Is there a way using mod_rewrite or some other technique which can be used for backwards compatability with existing javascripts?
Hopefully I made sense, I've hammered this out in quite a rush
Cheers
For instance, assume you have a drop menu which generates it's links and when you initially coded your site you used URL such as
Code: Select all
index.php?page=aboutusCode: Select all
/aboutus.htmlHopefully I made sense, I've hammered this out in quite a rush
Cheers