PDA

View Full Version : Another MOD RW question


hedjr01
02-11-2007, 02:05 PM
I have tried searching thru the threads for an answer to my situation.

I took one of my HTML pages as a template, inserted a php script, then saved the page as a php file. The script finds articles from a remote site (with their permission of course!) and pastes them into a generated page that matches my theme.

I want to display the following URL example result as a static url:

http://www.thisis-my-siteurl.com/a.php?title=Biology

I tried using a .htaccess file as follows, but it didn't change anthing:

Options +FollowSymLinks

RewriteEngine On
RewriteCond % {SCRIPT_FILENAME} !-f
RewriteRule *(.+)\.html$ /a.php?title=$1 [QSA,L]

Mod_Rewrite does function on my server and I did place the htaccess file in the right place.

Any suggestions?