Htaccess redirect all in Wordpress?

Associate
Joined
5 May 2014
Posts
256
Location
Staffordshire
Hi guys,

Any idea how I could modify the htaccess file of a wordpress site to point every page to a temporary holding page?

When I add the standard way of doing it the main WP bit seems to get tripped up and the site doesn't work at all?
 
Associate
OP
Joined
5 May 2014
Posts
256
Location
Staffordshire
I tried this, but it kills the page...

Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

RewriteCond %{REQUEST_URI} !^/goodbye$
RewriteRule ^(.*)$ http://www.website.com/ [R=307,L]
 
Back
Top Bottom