Don’t use redirect to www on new wordpress

Sorry about not posting quite often on this blog, pretty much occupied on my day job and don’t have that luxury of time even on the evening to post. Anyway, back to our topic.

If you are using wordpress 2.3 or 2.5, you don’t need to have an .htaccess code to redirect your non-www site to www to avoid duplicate urls. the latest version of wordpress is already doing this and already incorporated on the code of WP. This is far that I have seen when i have implemented it on my of my blog.

What are the consequences of this if you again redirect the latest wordpress that is already redirecting the site to www version? Remember DMOZ? when their main page was out of the google index. They are redirecting permanently the www version to their own www version of the site, 301 redirect. That means if bot is going into the site www version it is again being redirected to its www version leaving bot to give up on an infinite loop of redirection.

This scenario happened to me and only then I have noticed when I checked and removed the www but still redirecting it to www version.

Resolution: Removed the line on .htaccess permanent redirect (301) to www and let theĀ  alone the hardcode piece on Wordpress. The site now back to index.

Like the post? Subscribe to my feed HERE! SUBSCRIBE!

Recent Entries


Related Posts:
  • Wordpress 2.3 beta 3
  • Wordpress 2.5 RC1 released
  • Wordpress 2.5.1 security release
  • Wordpress 2.2.3 is out to public
  • Time to update again to wordpress 2.2.1
  • Wordpress 2.1.3 released
  • 7 Responses to “Don’t use redirect to www on new wordpress”

    1. SEORemake-Search Engine Optimization (SEO) Blog » Will be installing top commentator Says:

      […] On my previous post about one of my site got into sandbox, it was actually a fault at my end where you can find the answer at this post. […]

    2. Nicole Price Says:

      I first found it under the options tab where you can customize the title etc of your blog. It allows you to choose between www and non-www version. Never needed to use the .htaccess file.

    3. SEO Atlanta Says:

      Thanks for the tip. It is appreciated.

    4. Mr_Keyword_Suggestion Says:

      Excuse This Intrusion…

      Usually I only comment on SEO blogs, topics like keyword research and how to geo-target keywords, but anyways there was something about your posts that intrigued me. That’s it. Have a nice day. Ron Jacobs.

    5. Bulk Vending Guy Says:

      Oh great, another thing I have to worry about when I upgrade to 2.5 - just teasing of course. I am glad to see they implemented this, personally I don’t like not using the www.

      Is this a setting that can be adjusted or is is hardcoded? I imagine that some would rather have the url appear as http://url.com?

      Thanks for the info,

      Charles

    6. edunwa Says:

      Thanks. it is very usefull info.

    7. shawn Says:

      Your post was just what I needed. Wordpress is a great tool but sometimes I want to throw it out the window. Thanks for the tip. I’ll see if I can make it work.

    Leave a Reply