On my blog, I have a webpage http://www.domain.com/page1.htm On my homepage, I have a link to the above webpage by way of a php file that redirects to the above page. Should I be making the php file no follow, no index or doing something else via htaccess so that it doesn't affect the PR of page1.htm?
No sure what your issue is I am confused. A nofollow should keep PR from being passed and google I think will follow the link but not pass any link juice to it. Hope this helps.
I guess the concern is that I am not linking to page1.htm directly on the homepage but rather through a php file that redirects. I know Google is pretty smart, but I don't want to give them any suspicion that I'm doing something blackhat, hence the thought of making the php file noindex, nofollow etc.
<?php header("HTTP/1.1 301 Moved Permanently"); header("location: http://www.domain.com/page1.htm"); exit(); ?> Code (markup): If you use the above code at the beginning of your PHP file, you will be fine with Google. The most important part is the line containing the HTTP 301 permanent redirect instruction. It says to the search engines that they should deindex the PHP page and index the redirect destination (page1.htm in this case), to avoid any duplicate content filtering.
Yes, I think you should block google from indexing/crawling the php page via using Robots.txt file. This is better to be on the safe side.
If he blocks the PHP page via robots.txt, then the search engines will never reach it and as a result, the actual page (where it redirects) will not be indexed either. By my personal experience, the best solution in this case is the HTTP 301 redirect I described above.
You should use robots.txt file and stop all the search engines to crawl that page. Yes! you are right, it continues then your page rank may suffer.
I thing it will be an outbound link. So will pass some link juice to the the site page.. and its good for the PR pf page1.html
If your content is quality and it has good backlinks then it can rank high than other duplicate content.