GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Traffic Tip [Pagerank] (https://gfy.com/showthread.php?t=232806)

CyberTraffic 02-07-2004 10:20 PM

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!:thumbsup

Basic_man 02-07-2004 10:22 PM

Hey dude! nice tip! thank!! :thumbsup

brizzad 02-07-2004 10:24 PM

hey dude that's bad ass

MandyD 02-07-2004 10:45 PM

Fantastic Tip - will use that one - Thanks! :thumbsup

jennycards 02-08-2004 12:26 AM

Thank you ... had tried that recently myself but failed because the "Options +FollowSymLinks" was missing.

beemk 02-08-2004 02:25 AM

can this go right under the rest of the code or does it have to be in any special order?

GonePhishing 02-08-2004 02:28 AM

Hey, I really appreciate your post man!

Manowar 02-08-2004 02:36 AM

thanks for the tip man

Trax 02-08-2004 02:47 AM

Quote:

Originally posted by beemk
can this go right under the rest of the code or does it have to be in any special order?
yes it can
its no biggie :)

monro 02-08-2004 03:37 AM

Thank you!

sexsup 02-08-2004 03:40 AM

Yes it works for me, thank you:thumbsup

ibuydomains 02-08-2004 04:03 AM

thanks

JDog 02-08-2004 04:12 AM

:thumbsup Great tip man!

jDoG

alexg 02-08-2004 04:39 AM

thank you
very useful post

okdesign 02-08-2004 04:53 AM

great tip!

Thanks! :winkwink:

CyberTraffic 02-08-2004 07:33 AM

Glad I could help.:thumbsup

kenny 02-08-2004 07:44 AM

All it does is break my images

OzMan84 02-08-2004 07:46 AM

great tip, looking into it as i type this crap out:winkwink:

Mike-BP 02-08-2004 08:06 AM

Cool, thanks!

pinkopanter 02-08-2004 08:40 AM

Ok, here is another one from searchenginepromotionhelp.com

Improving Table Prominence for Higher Rankings

Seasoned search engine marketers know that to gain top rankings, your important keywords should appear as close to the beginning of your HTML code as possible. In search engine marketing lingo, this is called keyword "prominence." Search engines assign greater value to keywords that appear early in the text.

Unfortunately, many Web sites are designed to include navigation links down the left-hand side of the screen. Typically, this side-bar navigation is implemented in one or more HTML table cells. By default, your navigation links will appear in your first table cell.

So, what do you do if you want your body text to appear as the first cell in order to improve keyword prominence, but still need your navigation links to appear on the left side of your Web page? Fortunately, there is a solution by taking advantage of the ROWSPAN property of an HTML table.

When using tables, a simple rearrangement of table cells can move your body text to the top of the HTML code without changing the screen layout. This comes in handy if WebPosition or your own judgment tells you that you need to move the keywords closer to the top of the page within your HTML.

Below, a "dummy" cell is used before the body text instead of the list of links. The cell containing the main body text uses "ROWSPAN=2" so that it spans the tiny dummy cell and the cell containing the links. In this example using our new technique, the cell containing the menu links now appears AFTER the body text.

< TABLE>
< TR>
< TD>< !--dummy cell to push links down-->< /TD>
< TD ROWSPAN=2 VALIGN=top>Welcome to the Web's best online catalog for digital cameras, digital camcorders,
Tivo's, ReplayTV's, and the very latest in electronic technology. More body text goes here...< /TD>
< /TR>
< TR>
< TD>
< A HREF="home.html">Home< /A>
< A HREF="cat.html">View our catalog< /A>
< A HREF="help.html">Help</A>
< A HREF="search.html">Search the site< /A>
< A HREF="contact.html">Contact us< /A>
< A HREF="about.html">About us< /A>
< /TD>
< /TR>
< /TABLE>

If you have more than one row containing navigation links, just increase the number of the ROWSPAN for the body text. Your Web page will look the same to the end-user but to a search engine, it will improve the prominence of your most important keywords. In the above example, we are encouraging the search engine to consider words like digital cameras and camcorders as more important than menu phrases such as "Contact Us" or "Search the Site."

Harlot Cash 02-08-2004 08:43 AM

Nice tip:thumbsup


I think some servers work the final line differently - example:

rewriterule (.*)
rewriterule .*

Correct me if I am wrong.

Maximillion 02-13-2004 09:39 PM

Cheers

- Jesus Christ - 02-13-2004 09:57 PM

On the last line Its
RewriteRule /(.*)
NOT
RewriteRule (.*)


EDIT: this is very strange... One works for some of my sites... but the other works for different sites... but neither will work on both sites (they are on the same server)

ITs very strange.

BackToMine 01-06-2005 05:07 AM

good tip

DesignWise 01-06-2005 05:34 AM

thanks for the tip! very useful!

Mefo 01-06-2005 06:08 AM

bookmarked

sean416 01-06-2005 06:18 AM

I wouldnt stress about it too hard, and this isnt going to change much. But on the other hand, this certainly doesnt hurt either... so with that being said. Good tip! lol

plyndrty 01-06-2005 07:03 AM

Quote:

Originally Posted by pinkopanter
Ok, here is another one from searchenginepromotionhelp.com

Improving Table Prominence for Higher Rankings

Seasoned search engine marketers know that to gain top rankings, your important keywords should appear as close to the beginning of your HTML code as possible. In search engine marketing lingo, this is called keyword "prominence." Search engines assign greater value to keywords that appear early in the text.

Unfortunately, many Web sites are designed to include navigation links down the left-hand side of the screen. Typically, this side-bar navigation is implemented in one or more HTML table cells. By default, your navigation links will appear in your first table cell.

So, what do you do if you want your body text to appear as the first cell in order to improve keyword prominence, but still need your navigation links to appear on the left side of your Web page? Fortunately, there is a solution by taking advantage of the ROWSPAN property of an HTML table.

When using tables, a simple rearrangement of table cells can move your body text to the top of the HTML code without changing the screen layout. This comes in handy if WebPosition or your own judgment tells you that you need to move the keywords closer to the top of the page within your HTML.

Below, a "dummy" cell is used before the body text instead of the list of links. The cell containing the main body text uses "ROWSPAN=2" so that it spans the tiny dummy cell and the cell containing the links. In this example using our new technique, the cell containing the menu links now appears AFTER the body text.

< TABLE>
< TR>
< TD>< !--dummy cell to push links down-->< /TD>
< TD ROWSPAN=2 VALIGN=top>Welcome to the Web's best online catalog for digital cameras, digital camcorders,
Tivo's, ReplayTV's, and the very latest in electronic technology. More body text goes here...< /TD>
< /TR>
< TR>
< TD>
< A HREF="home.html">Home< /A>
< A HREF="cat.html">View our catalog< /A>
< A HREF="help.html">Help</A>
< A HREF="search.html">Search the site< /A>
< A HREF="contact.html">Contact us< /A>
< A HREF="about.html">About us< /A>
< /TD>
< /TR>
< /TABLE>

If you have more than one row containing navigation links, just increase the number of the ROWSPAN for the body text. Your Web page will look the same to the end-user but to a search engine, it will improve the prominence of your most important keywords. In the above example, we are encouraging the search engine to consider words like digital cameras and camcorders as more important than menu phrases such as "Contact Us" or "Search the Site."


This was a problem for me in the past... Nice tip

xclusive 01-06-2005 07:06 AM

Great thread

tigerallenyim 01-06-2005 07:42 AM

thanks for the tips!

mikeyddddd 01-06-2005 08:25 AM

I thought Christmas was a couple of weeks ago. Thanks for both tips :thumbsup :thumbsup

brand0n 01-06-2005 08:36 AM

wow, 1 of the 3 usefull threads today. glad i got in on this one, but this assures that ill mix the other 2

CashLikeWhoa_Mike 01-06-2005 08:40 AM

excellent info.

Thanks!

VeriSexy 01-06-2005 08:41 AM

Good to know :thumbsup

Kevsh 01-06-2005 09:11 AM

Quote:

Originally Posted by pinkopanter
Ok, here is another one from searchenginepromotionhelp.com

Improving Table Prominence for Higher Rankings

Seasoned search engine marketers know that to gain top rankings, your important keywords should appear as close to the beginning of your HTML code as possible. In search engine marketing lingo, this is called keyword "prominence." Search engines assign greater value to keywords that appear early in the text.

Unfortunately, many Web sites are designed to include navigation links down the left-hand side of the screen. Typically, this side-bar navigation is implemented in one or more HTML table cells. By default, your navigation links will appear in your first table cell.

So, what do you do if you want your body text to appear as the first cell in order to improve keyword prominence, but still need your navigation links to appear on the left side of your Web page? Fortunately, there is a solution by taking advantage of the ROWSPAN property of an HTML table.

When using tables, a simple rearrangement of table cells can move your body text to the top of the HTML code without changing the screen layout. This comes in handy if WebPosition or your own judgment tells you that you need to move the keywords closer to the top of the page within your HTML.

Below, a "dummy" cell is used before the body text instead of the list of links. The cell containing the main body text uses "ROWSPAN=2" so that it spans the tiny dummy cell and the cell containing the links. In this example using our new technique, the cell containing the menu links now appears AFTER the body text.

< TABLE>
< TR>
< TD>< !--dummy cell to push links down-->< /TD>
< TD ROWSPAN=2 VALIGN=top>Welcome to the Web's best online catalog for digital cameras, digital camcorders,
Tivo's, ReplayTV's, and the very latest in electronic technology. More body text goes here...< /TD>
< /TR>
< TR>
< TD>
< A HREF="home.html">Home< /A>
< A HREF="cat.html">View our catalog< /A>
< A HREF="help.html">Help</A>
< A HREF="search.html">Search the site< /A>
< A HREF="contact.html">Contact us< /A>
< A HREF="about.html">About us< /A>
< /TD>
< /TR>
< /TABLE>

If you have more than one row containing navigation links, just increase the number of the ROWSPAN for the body text. Your Web page will look the same to the end-user but to a search engine, it will improve the prominence of your most important keywords. In the above example, we are encouraging the search engine to consider words like digital cameras and camcorders as more important than menu phrases such as "Contact Us" or "Search the Site."

This is good, I've been doing it for awhile now but there is one potential downside that I've experienced: Google, in some cases, takes longer to do a deep index of your site as the navigation/menu links are farther down in the code.

Outside of that, this is really, really useful.


:thumbsup

luv$ 01-06-2005 11:13 AM

Ahh... the good old days. Whoever bumped this thread, there's like 2 other ones that went along with this one if u wanna look for em.

pornguy 01-06-2005 11:17 AM

Thanks for posting that. I already had that done, and it evens things out nice.

Alex 01-06-2005 11:20 AM

So this will basically force the spider to go to the www. of your site?

nick3131 01-06-2005 11:21 AM

Thats actually very useful

groark 01-06-2005 11:25 AM

Will use that on my sites. Thanks

Terenzo 01-06-2005 12:56 PM

Shit, now you are all gonna beat me!

Viet Hung Low 01-09-2005 04:32 PM

what ? is up


All times are GMT -7. The time now is 02:05 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123