Work experience |

 Your Ad Here

Changing hosting and domain solution for SEO |


Recently, I changed my hosting services. Purchased domain and hosted my site on a new hosters server. As I'm interested in SEO and most of visitors comes from Google (some day I will write a little about SEO when Ill have more free time). I needed to do something with forwarding, google cache and so on. The biggest problem is links from other sites. As I don't spam about my site in order to get link to it, mostly people who finds my blog links to it in discussions, messageboards and so on. So it'll take too much time to find all links, register and post to forums that url is changed. Other problems:

1. Lots of visitors comes to http://experience.projektas.lt/some-exact-url-to-article.html
2. Google has duplicate content detection system. You can get ignore or ban.
3. Google needs to cache your new site

Thats how I solved them:
In old hosting http://experience.projektas.lt/ I put php script index.php:
<?php $url = $_GET["q"]; Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://experience.masalas.org/".$url); ?>
I use friendly url's and use .htaccess file to covert url index.php?q=doc_id to friendly-url.html
Send header 301 Moved Permanently (Its recommended by search engines, when you move page or whole site to a new location).
Send header forwarding site to a new location. As you can see it forwards to http://experience.masalas.org/$url , where $url is the adress to exact document.
In order to cache your new site, ensure, that some other website links to your site. Also you can use google sitemaps.
So, visitors coming to old location are forwarded to a new one, google clears its cache as gets 301 Moved Permanently header and caches new one location by finding link from other site(s) or/and using sitemaps.

!!!TO ALL WHO ARE LINKED TO MY SITE!!!


Please, update links: From http://experience.projektas.lt to http://experience.masalas.org Thank you!


Comments:


Name:
captcha