Welcome to WebmasterWorld Guest from 220.127.116.11
I have many incoming links to this directory and pages. how can i channel the PageRank to my main page? I need to set up some kind of redirect in .htaccess?
a simple text file with nothing but:
# /robots.txt file for http://www.example.com/
[edited by: WiseWebDude at 10:14 pm (utc) on Dec. 26, 2006]
disallowing Google to crawl a directory is not the solution for your "PR4 on all internal pages, but PR0 on the index page [webmasterworld.com]" problem.
Try to understand that first before taking any wild actions. This won't channel any PR to your main page.
whats a "Permanent Redirection"?
the pages are still there, i just redirect them to the main page with JS.
You'll need to use server side scripting (php, asp, asp.net or so) to make a permanent redirect (a socalled '301 Permanently Moved' header status code).
one line in .htaccess:
Redirect permanent /olddirectory/oldfile.html http://www.example.com/newdirectory/newfile.html
of course, put your info in for the actual site, LOL.
[edited by: WiseWebDude at 9:04 pm (utc) on Dec. 28, 2006]