Title: http://www.blah.com versus http://blah.com
Last modified: August 18, 2016

---

# http://www.blah.com versus http://blah.com

 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/httpwwwblahcom-versus-httpblahcom/)
 * I am having some problems with my site at the moment, when I go [http://www.basketball2k.com/site/](http://www.basketball2k.com/site/)
   it gives me an error with no posts found but when I go to [http://basketball2k.com/site/](http://basketball2k.com/site/)
   everything works fine. Is their a mod_rewrite solution to this? This is kind 
   of frustrating me as a lot of the links to my site are giving the weird no post
   pages.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Anonymous User 6434
 * (@anonymized-6434)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/httpwwwblahcom-versus-httpblahcom/#post-120218)
 * What you’ll need to do is add a “www” subdomain, or use the following in your.
   htaccess file:
    RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.my\.domain\.name
   RewriteRule ^/(.*) [http://my.domain.name/$1](http://my.domain.name/$1)
 *  Thread Starter [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/httpwwwblahcom-versus-httpblahcom/#post-120495)
 * I got it fixed it was actually a problem with a javascript menu that I was working
   with which dealt with cookies. Once the menu was clicked it would save it’s state(
   since it’s expandable/collapsible) and this would be saved in a cookie. Once 
   I refreshed my site all the posts disappeared so I scrapped the menu all together
   and deleted those cookies with Mozilla cookie managing thing. The problem was
   I deleted the cookies for basketball2k.com …….. and now [http://www.basketball2k.com](http://www.basketball2k.com)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘http://www.blah.com versus http://blah.com’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [basketball](https://wordpress.org/support/users/basketball/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/httpwwwblahcom-versus-httpblahcom/#post-120495)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
