Forum Moderators: phranque
[example...]
so after some reading I came up with this:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule file/(\.*)/(\.*)/$ /directory/file\.php?$1=$2
for some reason it wouldn't work, I just got internal server errors showing. Then a friend of mine who runs servers said I needed to write Dynamic Mirroring mod_rewrite for what I wanted to do but as far as I can tell, that means writing code for every single page of my site - I have over 300,000 pages so that is not really an option.
What I want is for the information that is currently at:
[example...]
to show up in a browser window (at a crawler/bot request) when you type in:
[example...]
is this impossible?
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^file/([^/]+)/([^/]+)/$ /directory1/$1.php?id=$2 [L]
Jim
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^file/([^/]+)/([^/]+)/$ /directory1/$1.php?id=$2 [L]
in the .htaccess file of /directory1/
but when I enter
[example...]
into the browser it just comes up with the 'page doesn't exist' page.