Existing .htaccess won't allow WP install in sub directory
-
Installing wp in a sub directory to maintain the current site. Problem is their existing .htaccess is denying me access to the sub directory to complete the install. Honestly .htaccess is a bit baffling to me. Would someone recommend a way for me to temporarily bypass or not disrupt their current site by modifying the .htaccess so I can finish install?
Here is the file. I have replaced their domain with the word domain.
THANKS!
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.com$
RewriteRule ^/?$ “http\:\/\/domain\.org\/” [R=301,L]# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5s .php
DirectoryIndex home.php
ErrorDocument 400 /error.html
ErrorDocument 401 /error.html
ErrorDocument 403 /error.html
ErrorDocument 404 /error.html
ErrorDocument 500 /error.html
Options ExecCGI Includes IncludesNOEXEC SymLinksIfOwnerMatch -Indexes
RewriteCond %{HTTP_HOST} ^domain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.com$
RewriteRule ^/?$ “http\:\/\/domain\.org\/” [R=301,L]
- The topic ‘Existing .htaccess won't allow WP install in sub directory’ is closed to new replies.