Google Page Rank and Redirects
Google Page Rank and Redirects
Ben Kittrell
-
12 21, 2006 @ 05:07PM
Comments: 0
I recently noticed that garbageburrito.com has a Page Rank of 3. This is totally sweet and it shows in the number of search queries I've been getting. However I also noticed that the page rank didn't show up in the google toolbar, only when I manually check the domain name. Then I realized that when you go to garbageburrito.com, it actually redirects you to garbageburrito.com/blog. Doodlekit has a feature that let's you select your entry page, and it uses a redirect to route you to the right place.
I looked into skipping the redirect, and just rendering the proper action for the root domain, but it turned out it would be quite a bit of work. I might still pursue this, however I wanted a quick solution for now.
I did a little reading and found out that Google honors redirects, but only 301(permanent) redirects. By default Rails uses 302 redirects, as it should. So I simply added the following line of code before the redirect and shazam.
headers["Status"] = "301 Moved Permanently"
Now garbageburrito.com/blog has a PR of 3, and my content really matters. At least to google anyway.
I've now got four sites that have PR 3 to 5. Finally, I can execute my master plan, MUAHAHAHAAH!
I looked into skipping the redirect, and just rendering the proper action for the root domain, but it turned out it would be quite a bit of work. I might still pursue this, however I wanted a quick solution for now.
I did a little reading and found out that Google honors redirects, but only 301(permanent) redirects. By default Rails uses 302 redirects, as it should. So I simply added the following line of code before the redirect and shazam.
headers["Status"] = "301 Moved Permanently"
Now garbageburrito.com/blog has a PR of 3, and my content really matters. At least to google anyway.
I've now got four sites that have PR 3 to 5. Finally, I can execute my master plan, MUAHAHAHAAH!
Comments: 0




Post a Comment