Is a 301 redirect the answer? - Joomla! Forum - community, help and support


hi

here's dilemma - had website called www.websitea.com example primary domain , purchased new domain called www.websiteb.co.uk same host. asked host make www.websiteb.co.uk primary domain instead of www.websitea.com.

now appears google having problems indexing site. wondering if need 301 redirect of whole site enable google crawl new domain in order index it. google still has indexed pages of old site on google don't lead where.

i'm unsure do???

any appreciated.

it sounds if having duplicate content problem - google not index site content copy of existing site.

the way through 301 redirect old site new. tells google old site has been permanently relocated. hosts might able you. otherwise, if server supports it, can use mod rewrite achieve this.

put following (suitably modified) .htaccess file on old site:-

code: select all

rewriteengine on
rewritecond %{http_host} ^www\.oldsite\.com [or]
rewritecond %{http_host} ^oldsite\.com
rewriterule ^(.*)$ http://www.newsite.com/$1 [r=301,l]


replace oldsite , newsite actual site names, remember backslash . indicated





Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support