March 25, 2006 at 1:07 am
#687025
Inactive
Example static URL: http://www.choicegambling.com/blacklisted-casinos.php
Example dynamic URL: http://www.choicegambling.com/games/slots/new-slots.php?page=2
(notice the ? in the URL)
Example dynamic URL that uses mod rewrite to form a static URL:
Original dynamic URL: http://www.site.com/reviews.php?name=nostalgia-casino
Static URL after mod rewrite: http://www.site.com/reviews/nostalgia-casino.html
Mod rewrite code used to convert dynamic URL to static URL (this code is placed in the .htaccess file):
[COLOR=”Blue”]RewriteEngine on
RewriteRule ^reviews/(.*).html reviews.php?name=$1 [nc][/COLOR][/CODE]
Hope that helps. :blush:[CODE]RewriteEngine on
RewriteRule ^reviews/(.*).html reviews.php?name=$1 [nc][/CODE]
Hope that helps. :blush: