Converting HTML to Wordpress & Redirects

3 replies
  • SEO
  • |
I converted a small html site yesterday to wordpress. The html sight only had a handful of links pointing to the main domain and 1 or 2 pointing to inner pages.

So, the site now displays as http://domain.com rather than http://www.domain.com.

According to Serpbook I don't exist any more in google's eyes.

I tried adding a redirect to the htaccess file, but that didn't work. I have also tried a few plugins without success.

The inbound links to the homepage still work.

Is it important (or even possible) to workout some type of redirect to get the site to display as http://www.domain.com?

The site wasn't ranking much, as I am just now starting to put efforts into it.

The site was and is still hosted at hostgator if that matters.

Thanks,
Aaron
#converting #html #redirects #wordpress
  • Profile picture of the author dconjar
    Originally Posted by teachingking View Post

    Is it important (or even possible) to workout some type of redirect to get the site to display as [url]http://www.domain.com?
    WordPress canonicalizes automatically, so mydomain.com should automatically redirect to www.mydomain.com without any intervention on your part.

    You can remove the www in Settings: General, but I don't see the point. My guess is that the info you're getting from Serpbook is not entirely accurate.

    Or perhaps you're blocking search engines. If you moved the WordPress site from staging to live, you may have forgotten to change your site visibility preferences. Go to Settings: Privacy and make sure search engines are allowed to index it, and make sure nothing funky is going on in the robots.txt or .htaccess files.

    I can investigate it but I'd need your URL.
    {{ DiscussionBoard.errors[6401828].message }}
  • Profile picture of the author teachingking
    Thanks for the reply.

    I changed the Settings > General to display the Site Address as http://www.domain.com and that is working.

    I assume I want to keep it this was as the old html displayed as http://www.domain.com, correct?
    {{ DiscussionBoard.errors[6402301].message }}
  • Profile picture of the author micksss
    Don't forget to do 301 redirects in your htaccess file.
    e.g. http://www.domain.com/page1.html is now http://www.domain.com/page1/
    The 301 redirect would be
    Redirect 301 /page1.html http://www.domain.com/page1/
    Signature
    Web Hosting Reviews ► www.CastironHosting.com ◄ Read or Submit Feedback on Web Hosts.
    Web Hosting Coupons, Deals & Promos!

    Need a Virtual Private Server? www.VPSPlan.com
    {{ DiscussionBoard.errors[6402600].message }}

Trending Topics