Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

redirect issue, robots plus pagerank

1:07 am on Jul 30, 2010 (gmt 0)

New User

5+ Year Member

joined:May 13, 2009
posts: 21
votes: 0

Quick questions:

If I have this in .htaccess:

Rewriterule ^old.html new.html [L]

Then in robots.txt I have:

Disallow: new.html

What happens when googlebot attempts to crawl old.html and new.html? Assuming old.html is already indexed by google, should new.html get indexed given the scenario above? What happens to pagerank for old.html?

Thanks in advance for any info.
1:12 am on July 31, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

old.html is the URL. new.html exists only as a filepath inside your server, and is not visible to clients unless you link to it somewhere.

This is a URL-to-filepath rewrite only. As far as visitors are concerned, there has been no change to your site, because all you have done is changed the filename, and then mapped the old URL to that new file. Since Web clients see only URLs and not filepaths inside the server, they see no change.