Welcome to WebmasterWorld Guest from 54.211.136.250

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

redirect issue, robots plus pagerank

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

5+ Year Member



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 Jul 31, 2010 (gmt 0)

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



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.

Jim