.htaccess conflict
-
I’m running WordPress in a sub-folder at spicyisgood.com/videos but am encountering a .htaccess conflict. Both the root website and WordPress (/videos) have an .htaccess and it;s causing the search function of spicyisgood.com/videos to just bring up completely blank page. The programmer of the WP video theme says it a .htaccess conflict with root site .htaccess since WP is running in a sub-folder. How do I fix this conflict? My site is live and I need this rectified right away.
Any help would be GREATLY appreciated!
Here is the WordPress .htaccess of spicyisgood.com/videos/:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /videos/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /videos/index.php [L] </IfModule> # END WordPress
Here is the root .htaccess of spicyisgood.com:
<IfModule mod_dir.c> DirectoryIndex index.php </IfModule> <IfModule mod_headers.c> Header set X-UA-Compatible "IE=edge" </IfModule> <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl|jpg|png|gif)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml application/javascript text/css </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 month" ExpiresByType application/javascript "access plus 1 year" ExpiresByType text/css "access plus 1 year" ExpiresByType image/* "access plus 1 year" </IfModule> RewriteEngine On RewriteBase / RewriteRule ^install/?$ install/index.php [QSA,L] RewriteRule ^freshadmin/?$ freshadmin/$1 [QSA,L] RewriteRule ^i/?$ library/phpThumb/index.php$1 [QSA,L] RewriteRule ^img/(.+).jpg$ image.php?n=productimage&var1=$1 [QSA,L] RewriteRule ^recommends/(.+)?$ linkfowarder.php?linkname=$1 [QSA,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+)$ index.php?q=$1 [QSA,L]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘.htaccess conflict’ is closed to new replies.