l234244
05-31-2005, 03:33 PM
Can someone give a brief tutorial in how they managed to mod rewrite their bookstore. I have added the .htaccess to the bookstore folder and added the name of the folder its positioned in, i.e;
RewriteEngine on
RewriteBase /Amazon ^isbn([^.]+).html$ book.php?isbn=$1
RewriteRule ^key-([^.]+)-([0-9]+).html$ index.php?key=$1&p=$2 [L]
It rewrites the urls as you can see - www.complete-directory.com/Amazon/index.php however when you click on them a server error appears. Is any changes required to the index.php to reflect that of the modrewrite?
RewriteEngine on
RewriteBase /Amazon ^isbn([^.]+).html$ book.php?isbn=$1
RewriteRule ^key-([^.]+)-([0-9]+).html$ index.php?key=$1&p=$2 [L]
It rewrites the urls as you can see - www.complete-directory.com/Amazon/index.php however when you click on them a server error appears. Is any changes required to the index.php to reflect that of the modrewrite?