Search code examples
http-status-code-301seo

SEO - Getting a 301 page indexed by search engines


I have a site (say site1.com) which 301-redirects to another page on a different site (say http://site2.com/some/dirty/url).

Typical code at site1.com:

<?php 
    header("HTTP/1.1 301"); header("refresh:0;url=http://site2.com/some/dirty/url");
?><html>
    <head>
        <title>
            Site 1 - heading.
        </title>
        <meta name="description" content="some description" />
    </head>
    <body />
</html>

Typically, Search Engines never index site1.com, even when there are external links like:

<a href="http://site1.com/">Click Here</a>

But this is considered as an external link to http://site2.com/some/dirty/url and thus http://site2.com/some/dirty/url is seo'd.

I some how want to get site1.com indexed (Just the title, meta description and URL) though http://site2.com/some/dirty/url getting indexed is not a problem. Is this really possible or is it just what I have to forget about?


Solution

  • Yes,It can be indexed......But it requires a better on page work on the both of your sites (http://site.com) and (http://site2.com/some/dirty/url) .............

    For example I have recently worked on the same conditions the website url is "http://www.top-alliance.de" which redirects to "http://www.top-alliance.com" and these both sites are indexed by the search engine recently by 04 June 2012.This is happened because i have done a better onpage work for both pages...

    So the conclusion is the both your sites will require better on page work so it will definitely indexed by the search engine.

    Thanks & Regards

    Nitin Bhatnagar