Posted:
Mon Feb 09, 2004 11:33 am (20 years, 2 months ago)
To enable complete deep indexing of our site I am "playing" with the linux ReWrite rule and creating a search engine only site map of my dynamic pages. This is because only a few of the major search engines follow dynamically generated pages.
eg script.php?var1=100&var2=200
to script/query/var1/equal/200/and/var2/equal/200
I have a lot of different active scripts so the ReWrite rule must be non variable and script specific.
Posted:
Mon Feb 09, 2004 5:08 pm (20 years, 2 months ago)
the easier thing to do would be something like:
Code:
RewriteEngine On
RewriteRule ^script/([0-9]+)/([0-9]+)/$ /script.php?var1=$1&var2=$2 [L,NC]
that should make http://whatever.com/script/1/4/ be treated as whatever.com/script.php?var1=2&var2=4 (assuming you only want numbers in the query string).
________________________________ It's turtles all the way down...
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.