Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-09-2005, 04:25 PM   #1
Viet Hung Low
So Fucking Banned
 
Join Date: Dec 2004
Location: Vietnam
Posts: 180
Traffic Tip [Pagerank]

Traffic Tip [Pagerank]
Here's a traffic tip from CyberTrafficHits.com. Hope it helps.

Funneling PageRank from root domain to www. using Mod_ReWrite

The Problem

When building PageRank you may encounter someone who links to your domain as domain.com and someone else links to a page with www.domain.com. The trouble is, Google will not see these as the same page but rather two separate pagenames named domain.com/pagename.html and www.domain.com/pagename.html respectively. Consequently, each of these pages will have different PageRank. This could curtail your SEO efforts.

The Solution

You use mod_rewrite to rename the pages automatically when visited by either spider or human. This will funnel your PageRank to the correct page, either www. or without, your choice.

Requirements

Fair level of internet expertise, at least with FTP.
Admin access to the domain
Apache WebServer.
Mod-rewrite. Ask your webhost if its installed. Many don't have it on by default.
.htaccess. Again ask your webhost if you're not sure. They may have to change their Virtual Host setting to AllowOveride.
First make a backup of .htaccess if one exists. If it doesn't exist, copy and paste the following code:

This is a mod_rewrite rule that will change your pagenames. You can make a fatal error and crash your website with this technique, so make sure you have a backup of .htaccess if there was one, or the ability to quickly delete the one you add, if necessary.

Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.domain\.com
rewriterule (.*) http://www.domain.com/$1 [R=permanent,L]


You should be able to copy and paste this example after changing domain.com to your domain name.

Hit refresh in your browser. You should now be able to enter www.domain.com or domain.com in your browser and be brought to the correct page. You will see the URL change in your address bar due to the rewrite!
Viet Hung Low is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:27 PM   #2
Alex
So Fucking Banned (YEA!!)
 
Join Date: Jun 2004
Posts: 10,963
someone posted that yesterday
__________________
Care about me?
Who?
Me!
Who?
Alex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:29 PM   #3
BlueWire
Confirmed User
 
Join Date: Nov 2004
Posts: 4,628
Thanks viet...good tips
BlueWire is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:29 PM   #4
DarkJedi
No Refunds Issued.
 
DarkJedi's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
welcome to last week
DarkJedi is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:31 PM   #5
Viet Hung Low
So Fucking Banned
 
Join Date: Dec 2004
Location: Vietnam
Posts: 180
Quote:
Originally Posted by DarkJedi
welcome to last week
last week or last year ?

http://www.gofuckyourself.com/showth...hreadid=232806
Viet Hung Low is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:36 PM   #6
xl11
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 712
Quote:
Originally Posted by Viet Hung Low
last year thread bumped 3 days ago
xl11 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2005, 04:36 PM   #7
Alex
So Fucking Banned (YEA!!)
 
Join Date: Jun 2004
Posts: 10,963
lol, so basically you copied someones "Article" and put your name on it, ever head of plagerism.
__________________
Care about me?
Who?
Me!
Who?
Alex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.