Google Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsGoogleGoogle Optimization
  • Dofollow Links From PR9 Sites (including .edu and .gov sites!!!);
  • 1-Year Link Guarantee;
  • Free 500-8,000 Submissions;
  • Campaign Absolutely Natural to Google.

BuySellLinks.com is a new Text Link Advertising Brokerage by the founder of LinkAdage that offers high-end text links and a premier membership base. We screen all advertisers and publishers and their web pages to make sure we are offering a service that works for everyone. Our plug-in is super easy to install but if you are hands off, w e offer free installation.

Tired of dealing with shady text link buyers and/or sellers? Try BuySellLinks.
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.


Become a Member at BuySellLinks.com Now

Learn More!

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 November 4th, 2009, 03:59 PM
Snakeaconda Snakeaconda is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 8 Snakeaconda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 36 m 41 sec
Reputation Power: 0
What on Earth have I done? [301 redirects - .htaccess]

I have been tinkering around with 301 redirects through .htaccess, and now I don't know what I've gotten myself into.

I initially wanted to redirect WWW to non-WWW URLs, or vice versa to avoid duplicate indexing. (Like http://www.website.com to http://website.com)

Below is the code I have had on my server for a month.
It is doing SOMETHING - this I know, but I don't know what I've done exactly. Can someone decipher my .htaccess script below and tell me what exactly this is redirecting to where?

The Code:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^locksmith-buckhead.com [NC]
RewriteRule ^(.*)$ http://www.locksmith-buckhead.com/$1 [L,R=301]

Any help would be appreciated.

Thanks,
Snake

Reply With Quote
  #2  
Old November 4th, 2009, 10:12 PM
Mr22 Mr22 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2006
Location: Seattle, Washington
Posts: 68 Mr22 User rank is Sergeant (500 - 2000 Reputation Level)Mr22 User rank is Sergeant (500 - 2000 Reputation Level)Mr22 User rank is Sergeant (500 - 2000 Reputation Level)Mr22 User rank is Sergeant (500 - 2000 Reputation Level)Mr22 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 1 h 5 m 11 sec
Reputation Power: 14
If you haven't fixed it yet then you might want to try this code:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^locksmith-buckhead.com$ [NC]
RewriteRule ^(.*)$ http://www.locksmith-buckhead.com/$1 [R=301,L]

If that doesn't work then you may want to contact your web host and ask them what the proper code is. I don't know alot but I do know that it has something to do with the way your server handles 301's, in either case try the code above, hopefully this will work.

One other thing to keep in mind is that it can sometimes take awhile for the redirect to kick in, but again this will depend on your web host.

Reply With Quote
  #3  
Old November 5th, 2009, 10:03 AM
Snakeaconda Snakeaconda is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Posts: 8 Snakeaconda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 36 m 41 sec
Reputation Power: 0
Thanks for the help, it turned out that the server just took a while to recognize it!



Quote:
Originally Posted by Mr22
If you haven't fixed it yet then you might want to try this code:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^locksmith-buckhead.com$ [NC]
RewriteRule ^(.*)$ http://www.locksmith-buckhead.com/$1 [R=301,L]

If that doesn't work then you may want to contact your web host and ask them what the proper code is. I don't know alot but I do know that it has something to do with the way your server handles 301's, in either case try the code above, hopefully this will work.

One other thing to keep in mind is that it can sometimes take awhile for the redirect to kick in, but again this will depend on your web host.

Reply With Quote
  #4  
Old November 5th, 2009, 10:08 AM
SummitSEO SummitSEO is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Posts: 25 SummitSEO User rank is Private First Class (20 - 50 Reputation Level)SummitSEO User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 5 h 55 m
Reputation Power: 0
Use rel="canonical"

You can also use the <link rel="canonical"> tag to let spiders know which domain you prefer. Google treats these similar to a 301, but doesn't actually redirect the visitor.

Reply With Quote
Reply

Viewing: SEO Chat ForumsGoogleGoogle Optimization > What on Earth have I done? [301 redirects - .htaccess]


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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 not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 2 - Follow our Sitemap
 
SEO Chat is sponsored by:
Close this Sponsor Message