[BNM] .htaccess
Hazlitt Eastman
heastman at i-zimbra.com
Wed Mar 18 15:17:22 GMT 2009
Hi Phil,
Try these rules.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Hazlitt
-----Original Message-----
From: bnmlist-bounces at brightonnewmedia.org
[mailto:bnmlist-bounces at brightonnewmedia.org] On Behalf Of Phil
Guilfoyle
Sent: 18 March 2009 15:03
To: bnmlist at brightonnewmedia.org
Subject: [BNM] .htaccess
Hi,
We are using WordPress and want to add a rewrite rule to the .htaccess
file to push the http://www.domain.co.uk/index.php to the
http://www.domain.co.uk.
This isn't working:
RewriteRule ^www\.domain\.co\.uk/index.php$ http://www.domain.co.uk/$1
[R=301,NC]
Can anyone shed any light?
Kind regards,
Phil
This message has been scanned for viruses by MailController provided by
Perceptive Online - www.perceptive-online.com
--
BNM Subscribe/Unsubscribe:
http://www.brightonnewmedia.org/options/bnmlist
BNM powered by Wessex Networks:
http://www.wessexnetworks.com
More information about the BNMlist
mailing list. Powered by Wessex Networks