NameSilo

Strange & very Frustrating Problem with a Re-direct

Spaceship Spaceship
Watch

Andy_G

New Member
Impact
0
I have registered a new domain and I would like to have Google completely ignore my old address while indexing the new address.
The new site content has been moved to a subdirectory of the root and my new domain pointde to this via my host.

Is there some code I can add to redirect users to the new site and to ensure Google completely ignores my old Index Page?

I currently have a Meta redirect instead of the .htaccess.

Cheers
AS
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Andy_G said:
Is there anything else I can try?
I temporarily have the command below in the header of my index instead of the .htaccess which will not work

<meta http-equiv="refresh" content="0; URL=http://www.internettreehouse.co.uk/index.htm">

If you can run PHP : (Save the code as index.php and upload to http://www.dannybaker.force9.co.uk/)
PHP:
<?php

$url="http://www.internettreehouse.co.uk/";
header ("Location: $url");

?>
 
0
•••
you could also do it using the .htaccess file by

Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html

or

If you want to redirect a whole directory
Redirect /olddirectory http://yoursite.com/newdirectory
 
0
•••
I'm afraid I can't run PHP on the Server :(

This is really doing my head in.
Normally a 301 redirect would redirect to a different server. In this case the redirect is on the old domain which is that of hosting company Force9. It redirects to the new domain which is a different directory on the same server. I imagine this is quite rare for a 301 redirect. :'(
 
Last edited:
0
•••
i have done a little PHP and redirecting is something i could help you with...hee hee i even made a prank page that redirected to a porn site just for the fun of it PM me if ya need help
 
0
•••
Appraise.net

We're social

Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back