I wanted to switch my site from www.mutantspace.ie
to www.mutantspace.com. Up until now the .com
was my parked domain. I looked into it and was told that using this code in my .htaccess file in www.mutantspace.ie
would work:
RewriteEngine on
RewriteCond %{http_host} !^www.mutantspace.ie$ [nc]
RewriteRule ^(.*)$ http://www.mutantspace.com/$1 [r=301,nc,L]
I then asked my provider and he said 'Where are you moving too though?' Then he told me best way was for them to repoint site to www.mutantspace.com
.
I said fine (in my ignorance) and that is whats happened.
However even though new URLs are being indexed I have 100s of old URLs out there returning 404s. Now I can't access my old .htaccess file to put in permanent redirects because its now .com
. Is there any code that I can use anywhere in my root directory that will redirect old www.mutantspace.ie
pages to their corresponding www.mutantspace.com/
pages?