How to redirect your root web directory to a subfolder with .htaccess

If you tried (like me) to redirect your / (root) web directory to a subfolder (like /wp/) modifying .htaccess in this way: Redirect 301 / http://rubenlaguna.com/wp/ You probably found that it didn’t work. The browser will end up in an endless loop of redirections. Firefox will complain with this error message: The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies. The right way to accomplish the root to subfolder redirection is the following: ...

September 6, 2007

Useful WordPress plugin - Redirector

Very useful WordPress plugin to redirect with a “301 moved permanently” from one of your post to any url. I created a Wordpress page out of a post and I wanted to redirect everybody from the post to the the page. My first solution was to include a link to the page in the post but doing an automatic redirect is better as it allows to move the google pagerank from the post’s URL to the page URL

March 19, 2007