How to Redirect Traffic From Blogspot to a Self-Hosted WordPress

How to Redirect Traffic From Blogspot to a Self-Hosted WordPress thumbnail
Switch your blog seamlessly from BlogSpot to WordPress using JavaScript.

Writers switching from BlogSpot to WordPress can make the transition seamless for their readers using JavaScript. The primary advantage of this script is that in most situations, your readers will have to do nothing to reach your new WordPress blog. The browser will automatically redirect them to the new blog. They may not even notice. If your reader does not have JavaScript enabled on his browser, HTML meta tags will automatically forward him to the new site in 10 seconds. If the reader does not wish to wait 10 seconds, she can click the available link to go to your WordPress blog.

Instructions

    • 1

      Go to blogspot.com, enter the username and password for your BlogSpot account and click the “Sign in” button to go to your Blogger home page. BlogSpot and Blogger are on the same platform.

    • 2

      Click the “Switch back to the old interface” button at the top of the page to go to the old interface Blogger Dashboard page.

    • 3

      Click the “View Blog” link in the Manage Blogs section on the left side of the page to go to your blog.

    • 4

      Click the “Design” button in the Blogger navigation menu at the top of your blog.

    • 5

      Click the “Edit HTML” link on the top menu of the “Design” tab to go to the Edit Template HTML page of your blog.

    • 6

      Click the “Revert to Classic Template” link in the lower-left corner of the Edit Template HTML page of your blog. Click the “OK” button.

    • 7

      Enter the following code into your blog. Explanations are enclosed in /* */ comment tags. Browsers ignore information enclosed in comment tags. Replace “http://www.w3schools.com” with your self-hosted WordPress blog web address. Replace “[Your Blog]” with the name of your blog. You can delete the brackets and quotation marks.

      <html>
      <head>
      <script LANGUAGE="JavaScript">
      <!--
      window.location.replace("http://www.w3schools.com/"); /* Replaces current location with location enclosed in parenthesis. */
      -->
      </script>
      <noscript> /* This code is for browsers that do not allow javascript. It refreshes the current location to the URL. */
      <meta http-equiv="Refresh" content="10; URL= http://www.w3schools.com/"/> /* Sets a refresh rate for content. Content refreshes after 10 seconds. */
      <meta http-equiv="expires" content="10"/>
      <meta name="Description" content="301 moved permanently"/>
      <META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW"/>
      <META NAME="GOOGLEBOT" CONTENT="NOINDEX, FOLLOW"/>
      </noscript>
      <title>301 moved permanently</title>
      </head>
      <body>
      <center>
      <h1>[Your Blog] has moved to <a href=" http://www.w3schools.com/"> <h1> http://www.w3schools.com</h1></a>
      <p>We apologize for the inconvenience. </p></h1>
      </center>
      </body>
      </html>

    • 8

      Click the “Save Template Changes” button in the Edit HTML page of the Template tab.

Tips & Warnings

  • These instructions will also work for Blogger blogs.

  • Using JavaScript to redirect traffic is much better than mirroring your blog because Google does not like duplicate content.

Related Searches:

References

Resources

  • Photo Credit Thinkstock Images/Comstock/Getty Images

Comments

Related Ads

Featured