Created
May 6, 2013 17:17
-
-
Save WebFikirleri/5526511 to your computer and use it in GitHub Desktop.
.htaccess Base Dir As A Folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteEngine On | |
RewriteCond %{REQUEST_URI} !^/wp/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /wp/$1 | |
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$ | |
RewriteRule ^(/)?$ wp/index.php [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment