Problems with a rewrite rule in cms
Hi, I've created a cms using webassist extensions, and have set up a dummy site to demonstrate and test this - its a bit basic but does the job.
I'm having a problem creating SEF urls. I've created rewrite rules in my .htaccess file, but there seems to be a redirect happening somewhere that is making the query string appear in the address bar. You can check it out at the following url:
www.onespotcms.co.uk (some of the product links are a bit dodgy as I need to eliminate the spaces).
My rewrite rules are as follows:
RewriteRule ^company/([A-Za-z0-9-]+)\.php$ http://www.onespotcms.co.uk/company.php?PageName=$1 [NC,L]
RewriteRule ^product/([A-Za-z0-9-]+)\.php$ http://www.onespotcms.co.uk/product.php?CatName=$1 [NC,L]
Its been suggested that maybe the php is redirecting the headers somehow. I've had someone else check out my .htaccess file which doesn't contain any errors - can anyone shed any light on this?