rewrite rule to switch to subfolder

Posted by Midday on Stack Overflow See other posts from Stack Overflow or by Midday
Published on 2010-03-18T00:38:34Z Indexed on 2010/03/18 0:41 UTC
Read the original article Hit count: 309

I'm deploying a Wordpress blog, but I don't want to overwrite the current site yet.

public_html/. <-- the current site

public_html/wp/. <-- the new site

How must my .htaccess look like so I can seamlessly switch from the current site to the new one so that http://domain.tld shows the new site like it would be directly in the public_html folder

© Stack Overflow or respective owner

Related posts about web-development

Related posts about mod-rewrite