Forum Moderators: open
I have a site that has been running for a while.
I am now picking it up and running with it - trying to make a success of it 8)
It has been crawled last month, so waiting to see how that goes, but basically, we have moved to a new server, so want to make a change.
Previously, the site has lived at
http://www.mysite.com/us/
now we have a true sub domain on the new server for this site, I want to change everything to
http://us.mysite.com
the old URL will still work.
Would google look at this, see page(s) in its index for http://www.mysite.com/us/page.htm, that is identical to page http://us.mysite.com/page.htm and think "Duplicate content, SPAM! SPAM! SPAM!" or would this be ok?
This is a legitimate change, I am making the us.mysite.com a true stand alone web site, rather than the small after thought it was previously.
what is anyone's thoughts?
just to track advertising, we added a source code AFTER the url for a series of links we were purchasing from a MAJOR online presence.
e.g. mysite.com/?source=nameofsource
ALL of the links from the ad outlet showed up on different page results. I then had TWO listings...one for the page, and the other for page PLUS source code. If I could have had ALL links pointing to ONE page, it would have been wonderous (hopefully corrected in next update)
MAJOR BLUNDER! Don't repeat my mistake!
It WILL be viewed by G as a different page...
>You really should do a permanent redirect for all pages that have moved.
wellll
the redirect caused problems with the invision forums 8( - so had been temporarily removed.
but can I ask what you mean by ALL pages?
My redirect was to redirect all traffic from www.mysite.com/us to us.mysite.com - surely that will pick up everything?
In the directory http://www.mysite.tld/us/ create a .htaccess file with a single rule
-----------
[code]RewriteEngine on
RewriteRule (.*) http://us.mysite.tld/$1 [R=301,QSA,L][/code]
-----------
This means that every file requested in the /us/ directory (.*) should be redirected to its equivalent file in the root folder us.mysite.tld, that the redirection is permanent (R=301) , that the Query string - if any - should be passed intact (QSA=Query string Append) and that it's the last rule to be applied (L=LAST)
Dan
PS: could someone tell me why I can't type the left square brackets in this window? I had to use copy/paste from a text doc to use them. Thanks.