bolognese - 1:54 am on Jul 22, 2011 (gmt 0)
Today I was thinking about the way I use 301 redirect in .htaccess.
I know if I changed my directory structure on my webserver - for example to move related pages to a directory with a name that makes sense, that I can tell search engines where the page can be found now and keep my page rank for those pages.
Sometimes google reports about a missing sub page (404) sub.html, which I removed ages ago because it did not contain relevant information.
To avoid that visitors receive a 404 I redirect them to the main page with a lot of information and well ranked.
But actually, am I not telling google now that the info that was on sub.html is now on main.html? Will google replace the info?
If people get 404 on my site, they receive a page that contains a link to the home page and a search box.
Thanks for any help.