Page 1 of 1

Static To Dynamic URL using Modrewrite

Posted: Wed Sep 19, 2012 1:05 pm
by kkonline
Hi,
I have site running and wish to convert the url
http://mysite.com/variable
to
http://mysite.com/index.php?action=variable

This requirement is opposite to the usual method to convert dynamic url to static url

How can this be achieved with mod rewrite rules

Re: Static To Dynamic URL using Modrewrite

Posted: Fri Sep 21, 2012 5:22 pm
by social_experiment
wouldn't removing the rewrite rules that caused the 'clean' urls revert the urls back to their 'normal' form?