Forum Moderators: phranque
this is the code that i use to do it, but comes up with an error
#### CODE START #######
RewriteEngine on
Options +FollowSymlinks
RewriteBase /test/
#RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^press(.*).htm press.htm?PressID=$1 [R]
#### CODE END #######
The full path to the website is:
/home/bloww/public_html/test
If that is needed, any help given to point me in the right direction will be gratefully appreciated
Welcome to WebmasterWorld!
Take a look at your server error log file after you get an error. It will identify the problem. You may be able to find it by fishing around using FTP. If not, ask your host where it is located.
Here's a cleanup of your code, but I doubt it will change anything:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /test/
#RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^press([^.]+)\.htm$ /press.htm?PressID=$1 [L]
Jim