Talk Arcades: Forum for Arcade Webmasters    

  Talk Arcades > Arcades > Webmastering

Welcome to Talk Arcades, the premier forum for arcade webmasters.

You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and participate in our Live Marketplace. Registration is easy, so please join us today!

Reply
 
LinkBack Thread Tools Display Modes
Old 09-19-2008, 03:25 PM   #1 (permalink)
wildfxp
Senior Member
 
wildfxp's Avatar
 
Join Date: Aug 2008
Posts: 885
wildfxp is on a distinguished road


Default 301 Redirecting

Well, I was looking over "arcades247's" thread about the redirecting links and it was mentioned in that thread that a URL like http://domain.com is different from http://www.domain.com in search engines.

I have only slight knowledge of this, but was told that it's important to keep "ONE" type of url throughout everything, so the search engines would not find it as duplicate content. I'm trying to keep the domain with www. in front, but where or how would I be able to redirect everyone to this?

Thanks!
__________________


ADD MY NEW FACEBOOK APPLICATION! SUPPORT ME



Free online games and you Play Games Win Prizes

Fun Online Games

http://www.flashfort.com - under heavy construction
http://www.neverwink.com - working on (I own myself)
http://www.scoreithigh.com

Affordable Arcade template designs at HIVE DESIGNS!
wildfxp is online now  
Digg this Post!
Reply With Quote
Old 09-19-2008, 03:36 PM   #2 (permalink)
peter_anderson
Banned
Senior Member
 
Join Date: Jan 2008
Location: Who wants to know?
Posts: 1,593
peter_anderson is an unknown quantity at this point
Send a message via MSN to peter_anderson


Default

I use the following code for my sites:

Code:
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yourdomain\.com RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=permanent,L]
peter_anderson is offline  
Digg this Post!
Reply With Quote
Old 09-19-2008, 03:50 PM   #3 (permalink)
wildfxp
Senior Member
 
wildfxp's Avatar
 
Join Date: Aug 2008
Posts: 885
wildfxp is on a distinguished road


Default

I was reading about the redirect and it mentioned that I need to put that in my .htaccess file. Is that correct? I don't want to make any mistakes, so could you please tell me how exactly would i be able to include it? Thanks!
__________________


ADD MY NEW FACEBOOK APPLICATION! SUPPORT ME



Free online games and you Play Games Win Prizes

Fun Online Games

http://www.flashfort.com - under heavy construction
http://www.neverwink.com - working on (I own myself)
http://www.scoreithigh.com

Affordable Arcade template designs at HIVE DESIGNS!
wildfxp is online now  
Digg this Post!
Reply With Quote
Old 09-19-2008, 04:10 PM   #4 (permalink)
peter_anderson
Banned
Senior Member
 
Join Date: Jan 2008
Location: Who wants to know?
Posts: 1,593
peter_anderson is an unknown quantity at this point
Send a message via MSN to peter_anderson


Default

Quote:
Originally Posted by wildfxp View Post
I was reading about the redirect and it mentioned that I need to put that in my .htaccess file. Is that correct? I don't want to make any mistakes, so could you please tell me how exactly would i be able to include it? Thanks!
Put it in the .htaccess of your root directory for your domain.

PM me your .htaccess file if you wish, and I can add it for you.
peter_anderson is offline  
Digg this Post!
Reply With Quote
Old 09-19-2008, 07:01 PM   #5 (permalink)
2GrandArcade
Senior Member
 
Join Date: Feb 2007
Posts: 512
2GrandArcade is on a distinguished road


Default

your server has to have apache mod rewrite installed.
just put that code in your .htaccess (change yourdomain and the TLD )and have it at the root of your site.
2GrandArcade is offline  
Digg this Post!
Reply With Quote
Old 09-20-2008, 10:27 AM   #6 (permalink)
arcades247
Preferred Member
 
Join Date: Apr 2007
Posts: 149
arcades247 is on a distinguished road
Send a message via MSN to arcades247


Default

When you type in Google as http://google.om it redirects. Your site had the problem where it wouldn't - it didn't seem to make any difference to me apart from some people linked to both. The question remains if 500 people linked to the site minus www and 500 to www then in theory page rank would be split between them, if according to fatt gutts you can have different content on both. The other problem is when if you add this redirect does it now pass on that juice from the old half to the new site thus increasing PR on the single domain you wanted?
arcades247 is offline  
Digg this Post!
Reply With Quote
Old 09-21-2008, 05:20 AM   #7 (permalink)
GetGamesHere
Preferred Member
 
Join Date: Jul 2008
Location: Arizona
Posts: 190
GetGamesHere is on a distinguished road


Default

Thanks Peter, I updated my .htaccess, and it works great
__________________
Tank Games | Racing Games | Girl Games | Car Games
GetGamesHere is offline  
Digg this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 10:41 PM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6
© TalkArcades.com
Forum - Register - Calendar - Memberlist - FAQ - Search