Note that there are some explanatory texts on larger screens.

plurals
  1. PO301 redirect everything to new website root/whole site including sub pages? Moved Permanently
    text
    copied!<p>QUICK UPDATE</p> <p>Ok getting there Is this mod_alias?</p> <pre><code>RedirectMatch 301 ^/ http://brightmist.co.uk/ </code></pre> <p>I've added this one line of code underneath everything and it appears to work, however my other directories such as <a href="http://brightmist.co.uk/blog/2013/02/23/manchester-art-gallery-feb-2013" rel="nofollow">http://brightmist.co.uk/blog/2013/02/23/manchester-art-gallery-feb-2013</a> are telling google these pages have temporarily moved - see <a href="http://www.internetofficer.com/seo-tool/redirect-check/" rel="nofollow">http://www.internetofficer.com/seo-tool/redirect-check/</a></p> <p>Does this mean I have to go right the way though my site and add a tone of redirects?</p> <hr> <p>ORIGINAL QUESTION</p> <p>I have a new website. I'd like to redirect all of my old site links from <a href="http://artygirl.co.uk" rel="nofollow">http://artygirl.co.uk</a> to my new one <a href="http://brightmist.co.uk/" rel="nofollow">http://brightmist.co.uk/</a></p> <p>I'm primarily a designer with years of experience using mainly in Photoshop, CSS, HTML, Wordpress, and jQuery but I don't know much about editing things like the htaccess file. And I don't want to get it wrong as it means google ranking drops etc</p> <p>Does anyone know of any script I can paste into the bottom of my htaccess file, I'd like it to redirect all links/pages on the site to the same place as before. For example if I type <a href="http://artygirl.co.uk/buy-art-prints-cheshire/" rel="nofollow">http://artygirl.co.uk/buy-art-prints-cheshire/</a> I want it to go to <a href="http://brightmist.co.uk/buy-art-prints-cheshire/" rel="nofollow">http://brightmist.co.uk/buy-art-prints-cheshire/</a> I'm using the same host, they've just re-pointed the domain</p> <p>Among other things my host has recently added the following code, I assume this is also to do with the domain mapping, also here is my whole htaccess file -</p> <pre><code>ErrorDocument 401 /forms/401.html ErrorDocument 403 /forms/403.html RewriteEngine On RewriteBase / #uploaded files RewriteRule ^(.*/)?files/$ index.php [L] RewriteCond %{REQUEST_URI} !.*wp-content/plugins.* RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteCond %{REQUEST_URI} ^.*/wp-admin$ RewriteRule ^(.+)$ $1/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule . - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] &lt;IfModule mod_security.c&gt; &lt;Files async-upload.php&gt; SecFilterEngine Off SecFilterScanPOST Off &lt;/Files&gt; &lt;/IfModule&gt; &lt;Files 403.shtml&gt; order allow,deny allow from all &lt;/Files&gt; deny from 218.143.4.127 deny from 143.90.221.204 deny from 95.135.78.190 deny from 114.108.150.74 deny from 95.135.111.205 deny from 91.124.239.150 deny from 94.178.2.93 deny from 91.124.206.118 deny from 91.124.226.116 deny from 118.98.32.34 deny from 94.180.252.133 deny from 58.27.140.58 deny from 77.93.197.83 deny from 88.191.63.27 # Hotlink Protection START # RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?brightmist.co.uk [NC] RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC] RewriteRule \.(jpg|jpeg|png|gif)$ - [NC,F,L] # Hotlink Protection END # </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload