Need to redirect to true root folder

Posted by Brad on Stack Overflow See other posts from Stack Overflow or by Brad
Published on 2010-05-24T15:39:08Z Indexed on 2010/05/24 15:41 UTC
Read the original article Hit count: 166

Filed under:

I am running a website on MAMP, and the root is http://localhost/sandbox

When I have links that link to, for example - /calendar

it directs them to localhost/calendar, I want it to redirect to localhost/sandbox/calendar

What would I have to do in htaccess to get it to redirect everything to localhost/sandbox/ as the root?

© Stack Overflow or respective owner

Related posts about .htaccess