Knowledgebase
Portal Home > Knowledgebase > Articles Database > How to do mod_rewrite from web root to subfolder?
How to do mod_rewrite from web root to subfolder?
Posted by mrzippy, 06-03-2009, 06:54 PM Hello, Can anyone help me figure out an .htaccess rewrite rule? I am trying to rewrite everything in the web root folder to use a /blog/ folder. So for example, if someone goes to "http://domain.com/index.php", then I need it to actually serve the file from http://www.domain.com/blog/index.php. (But not a redirect.. ideally the browser should still show "http://domain.com/index.php". Is this possible? Thanks!
Posted by JulesR, 06-04-2009, 12:02 AM Very simply:
Add to Favourites Print this Article
Also Read