icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old May 25th, 2008, 5:47 AM   #1 (permalink)
the cool one
Seasoned Poster
 
inthestars's Avatar
 
Joined in Dec 2007
80 posts
Gave thanks: 10
Thanked 1 Time in 1 Post
No WWW and with WWW

Umm okay so if you go to www.tellhim.net it would show a blank page but tellhim.net would lead you to the blog.

How do I fix this problem?

Some said this: You installed wordpress at http://tellhim.net not http://www.tellhim.net. There should be an option somewhere in your domains control panel or hosting panel, whatever, to remove “www” from your domain when someone types it in. so when you go to http://www.tellhim.net, it’ll go straight to tellhim.net.


Another person said that I had to redirect my .htaccess file.

Can someone help me out? I'm such a noob.


inthestars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 25th, 2008, 8:24 AM   #2 (permalink)
L'Awesome Advocate
Super #1
 
Ancyru's Avatar
 
Joined in May 2004
Lives in .au
Hosted on Mango
2,423 posts
Gave thanks: 1
Thanked 5 times
Personally I use the .htaccess method. This is an excerpt from a site that instructs you how to do that.

Quote:
Originally Posted by http://no-www.org
Class B means that all of the traffic to http://www.yourdomain.com is politely and silently redirected to http://yourdomain.com. This is currently the preferred no-www classification as it does not inconvenience your users, but it does assert the deprecated nature of the www subdomain.

The process of making your domain a Class B is quite simple. All you need to do is create or modify a file called .htaccess located in the root directory of your site and add the following lines, changing the red text to match your domain.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
In other words, in the root folder of your site make a file called .htaccess (open up notepad & type in this code then save it as .htaccess without the .txt) & inside the file put this:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.tellhim\.net$ [NC]
RewriteRule ^(.*)$ http://tellhim.net/$1 [R=301,L]
__________________
When I get sad, I stop being sad, and be AWESOME instead. True story.

Last edited by Ancyru; May 25th, 2008 at 8:29 AM. Reason: Simplified.
Ancyru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks Ancyru for this great post!
inthestars (May 25th, 2008)
Old May 25th, 2008, 9:06 AM   #3 (permalink)
the cool one
Seasoned Poster
 
inthestars's Avatar
 
Joined in Dec 2007
80 posts
Gave thanks: 10
Thanked 1 Time in 1 Post
Thank you it worked! I tried your method and another method by Lirae and both worked.
inthestars is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On