Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

mod rewrite and google

         

devguy

5:32 pm on Jun 2, 2005 (gmt 0)

10+ Year Member



Many websites are using mod-rewrite rule to over write the query string to different formats like /id/234 or id-234. I red in different threads that google considers each ID as a new page, how does using mod-rewrite rule help to improve indexing and pagerank?

Thanks

wfernley

1:42 pm on Jun 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld devguy!

There are a few reasons to use it. Some search engines have trouble with urls that contain a www.mysite.com/index.php?id=99&page=product or something to that effect. As soon as a SE sees the? it gets confused. So using a mod rewrite will make the site look more static to a SE. Another reason is its easier for users to remember the url of the page. Like which is easier, www.mysite.com/index.php?product=99 or www.mysite.com/widget/index.html.

Wes

Munster

2:40 pm on Jun 3, 2005 (gmt 0)

10+ Year Member



Anybody know the asp.net version of mod rewrite?

mrMister

3:54 pm on Jun 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Anybody know the asp.net version of mod rewrite?

Yes, there's an IIS version called ISAPI Rewrite:

[isapirewrite.com...]

aris1970

6:31 pm on Jun 3, 2005 (gmt 0)

10+ Year Member



how does using mod-rewrite rule help to improve indexing and pagerank?

Hi devguy, welcome to WebmasterWorld!

Mod-rewrtie helps indexing and pagerank by making bot's tasks easier; and if it's easier for bots to index your site, then more pages are indexed, then more pagerank (usually) is assigned to your pages.

We are using mod-rewrite for several sites we maintain and everything works great regarding the search engines.

I wish you best of luck with your online adventures.

devguy

8:23 pm on Jun 3, 2005 (gmt 0)

10+ Year Member



Thanks for your replies and welcome messages.

I have a site and I am using mod-rewrite for tracking affiliates that send me traffic.
For example the links that affiliates have are:
www.mydomain.com/id/aff1
www.mydomain.com/id/aff2
www.mydomain.com/id/aff3

The problem is that search engines think these are different pages with different contents. But they are all actually one page, which is index.php, and because of this they blocked the site and don’t index it anymore. What is the best approach to fix this problem?

Thanks,
devguy

jdMorgan

8:45 pm on Jun 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Strip the aff codes from the URLs presented to all known search engine robots. Before FUD kicks in, this *is* cloaking, but with no intent to deceive the search engine.

There is no reason to present the aff codes to robots in either the query string or static URL form, and as you state, doing so can lead to duplicate-content issues.

Jim