regex - How Can I Rewrite Dynamic PHP URLs to Static HTML Pages Keeping the Querystring as Filename -
i've tried multiple different things work , have hit wall. here's example urls:
domain.com/pagelist.php?pagenum_rs_quote=4&totalrows_rs_quote=69&person_name=&qtext=&subject=3 domain.com/pagelist.php?person_name=aristotle domain.com/pagelist.php?subject=1 i want change this:
domain.com/pagenum_rs_quote=4&totalrows_rs_quote=69&person_name=&qtext=&subject=3.html domain.com/person_name=aristotle.html domain.com/subject=1.html i have static html versions of pages , don't need php site. need keep file pagelist.php though static file on site also.
so far best i've been able domain.com/.html?subject=1 or domain.com/pagelist.phpsubject=1
basically, rid of pagelist.php? , add .html end of filename.
Comments
Post a Comment