SEO Help (General Chat)
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherSEO Help (General Chat)

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old August 13th, 2008, 12:43 PM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
301 redirecting

Ok. I'm FINALLY getting around to 301 redirecting some pages on my site.

I need to redirect my non-www. to my www. URL.

AND

I need to redirect my home.html to my index.html

The only problem is, I have never done it and the reading I am doing on it, I am still not sure. This is what I have found to do on redirecting the home page to the index page:

HTTP/1.1 301 Moved Permanently
Location: http://www.example.org/
Content-Type: text/html
Content-Length: 174

<html>
<head>
<title>Moved</title>
</head>
<body>
<h1>Moved</h1>
<p>This page has moved to <a href="http://www.example.org/">http://www.example.org/</a>.</p>
</body>
</html>

Is this correct or do you know another way? Also, would I put this code in the home.html page? Any help would be greatly appreciated.

Also, How would I redirect the non-www to the www?

Thanks so much!

Reply With Quote
  #2  
Old August 14th, 2008, 01:22 AM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
anyone have any idea?

Reply With Quote
  #3  
Old August 14th, 2008, 01:25 AM
lovekills_s's Avatar
lovekills_s lovekills_s is offline
The Outstanding Red Apple
SEO Chat Regular (2000 - 2499 posts)
 
Join Date: Apr 2006
Posts: 2,472 lovekills_s User rank is Sergeant Major (2000 - 5000 Reputation Level)lovekills_s User rank is Sergeant Major (2000 - 5000 Reputation Level)lovekills_s User rank is Sergeant Major (2000 - 5000 Reputation Level)lovekills_s User rank is Sergeant Major (2000 - 5000 Reputation Level)lovekills_s User rank is Sergeant Major (2000 - 5000 Reputation Level)lovekills_s User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 4 Days 8 h 16 m 20 sec
Reputation Power: 31
Send a message via AIM to lovekills_s Send a message via MSN to lovekills_s Send a message via Yahoo to lovekills_s Send a message via Google Talk to lovekills_s Send a message via Skype to lovekills_s
MySpace
Does this helps you out?

http://www.webconfs.com/how-to-redirect-a-webpage.php


Are you on a windows or linux server?
__________________
Link Diary - Build Links Fast & Easy. Similar to Linkmarket, with option of three way link exchange and anchor rotation.

**"Save SEO Industry - GO VIRAL!! - Tips and Tricks ."**
**"If you surrender to the wind, you can ride it."**
**"AdSlots Available - PM me for more Info on Website and its Stats - Pfft! The Website is for Sale! - Contact Me"

Reply With Quote
  #4  
Old August 14th, 2008, 03:42 AM
ghoshonline ghoshonline is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 40 ghoshonline User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 26 m 17 sec
Reputation Power: 1
For 301 Moved Permanently

*********************

<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(example\.org)(:80)? [NC]
RewriteRule ^(.*) http://www.example.org/$1 [R=301,L]
Redirect permanent example.org www.example.org
order deny,allow

******************

For non www to www


******************
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(example\.org)(:80)? [NC]
RewriteRule ^(.*) http://www.example.org/$1 [R=301,L]
Redirect permanent example.org www.example.org
order deny,allow

******************

Hope it will helps you if Apache Web server used.

Reply With Quote
  #5  
Old August 14th, 2008, 10:59 AM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
Quote:
Originally Posted by lovekills_s
Does this helps you out?

http://www.webconfs.com/how-to-redirect-a-webpage.php


Are you on a windows or linux server?


Linux Server I believe. I am not so sure how to find out.

Reply With Quote
  #6  
Old August 14th, 2008, 11:01 AM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
Quote:
Originally Posted by ghoshonline
For 301 Moved Permanently

*********************

<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(example\.org)(:80)? [NC]
RewriteRule ^(.*) http://www.example.org/$1 [R=301,L]
Redirect permanent example.org www.example.org
order deny,allow

******************

For non www to www


******************
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(example\.org)(:80)? [NC]
RewriteRule ^(.*) http://www.example.org/$1 [R=301,L]
Redirect permanent example.org www.example.org
order deny,allow

******************

Hope it will helps you if Apache Web server used.


No I think I am using a linux host. I am using godaddy though. Do you know how to find this out also?

Reply With Quote
  #7  
Old August 14th, 2008, 11:20 AM
googler's Avatar
googler googler is offline
Cool Dude
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: Aug 2003
Location: Vancouver, Washington, U.S.A.
Posts: 1,642 googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 11 h 45 m 20 sec
Reputation Power: 20
Send a message via AIM to googler Send a message via Google Talk to googler Send a message via XFire to googler
find out by doing a whois search on your domaion here http://whois.domaintools.com
__________________
Work Smarter, Not Harder
The Definitive Guide to Page Rank
Link Building 101

Reply With Quote
  #8  
Old August 14th, 2008, 04:36 PM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
Quote:
Originally Posted by googler
find out by doing a whois search on your domaion here http://whois.domaintools.com


it just said that my server is whois.godaddy.com

Reply With Quote
  #9  
Old August 14th, 2008, 04:51 PM
googler's Avatar
googler googler is offline
Cool Dude
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: Aug 2003
Location: Vancouver, Washington, U.S.A.
Posts: 1,642 googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 11 h 45 m 20 sec
Reputation Power: 20
Send a message via AIM to googler Send a message via Google Talk to googler Send a message via XFire to googler
Try this tool
http://uptime.netcraft.com/

also it should say in your hosting account, the file structure will give it away as well.

Reply With Quote
  #10  
Old August 15th, 2008, 07:53 PM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
Quote:
Originally Posted by googler
Try this tool
http://uptime.netcraft.com/

also it should say in your hosting account, the file structure will give it away as well.


Ok, It's a Linux server. Now what? lol

Reply With Quote
  #11  
Old August 16th, 2008, 08:03 PM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
Quote:
Originally Posted by vbcannon
Ok, It's a Linux server. Now what? lol


Any Takers?

Reply With Quote
  #12  
Old August 18th, 2008, 01:43 AM
Prof.stan Prof.stan is offline
Contributing User
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2007
Posts: 1,643 Prof.stan User rank is Sergeant (500 - 2000 Reputation Level)Prof.stan User rank is Sergeant (500 - 2000 Reputation Level)Prof.stan User rank is Sergeant (500 - 2000 Reputation Level)Prof.stan User rank is Sergeant (500 - 2000 Reputation Level)Prof.stan User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 13 h 47 m 49 sec
Warnings Level: 5
Number of bans: 1
Reputation Power: 12
Quote:
Originally Posted by vbcannon
Any Takers?


To redirect from the non-www version to the www version
Write the following code in your .htaccess file:


Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.org
RewriteRule (.*) http://www.example.org/$1 [R=301,L]
__________________
Leather Photo Album | Some SEO Tips

Reply With Quote
  #13  
Old August 18th, 2008, 11:25 AM
googler's Avatar
googler googler is offline
Cool Dude
SEO Chat Intermediate (1500 - 1999 posts)
 
Join Date: Aug 2003
Location: Vancouver, Washington, U.S.A.
Posts: 1,642 googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level)googler User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 11 h 45 m 20 sec
Reputation Power: 20
Send a message via AIM to googler Send a message via Google Talk to googler Send a message via XFire to googler
if htaccess does not exist already make a blank file, put the code in that prof stan showed you and save it at the root of your webserver.

Reply With Quote
  #14  
Old August 18th, 2008, 02:15 PM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 13 h 49 m 25 sec
Reputation Power: 3
Facebook
Quote:
Originally Posted by Prof.stan
To redirect from the non-www version to the www version
Write the following code in your .htaccess file:


Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.org
RewriteRule (.*) http://www.example.org/$1 [R=301,L]



Thanks a lot Prof. Stan and Googler BIG HELP!!

now is there a magic formula to redirect my home page to my index.html page?

Reply With Quote
  #15  
Old August 18th, 2008, 03:22 PM
vbcannon vbcannon is offline
S-E-Ogre
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 261 vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)vbcannon User rank is Corporal (100 - 500 Reputation Level)