Hey ive been on 3 different hosts so far each one claiming that they use mod_rewrite but non actually work. Im running a phpbb forum and trying to make a php to xml sitemap and need rewrite in htaccess.
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^forum-([0-9]+).xml$ sitemap.php?fid=$1 [L]
I put this in htaccess Rewrite egine is on. I changed the php extension to xml typed in the sitemap.xml and now I get a 404 error:
The requested URL /sitemap.php was not found on this server.
Please tell me what I can do.
Thanks,
Andy
|