.htacess with wordpress and a second script
-
I have wordpress installed in my root folder of my localhost dev machine running wamp. c:\wamp\www\wordpress I have a separate affiliate script which is in c:\wamp\www\worpdress\a
However I cannot seem to run the install.php script within c:\wamp\www\wordpress\a\install.php
Nothing loads when I visit https://localhost/wordpress/a/install.php
I have the following .htacess file from wordpress:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule># END WordPress
I tried adding the following to the beginning of the .htacess file:
<Directory /wordpress/a>
Order Deny,Allow
Allow from all
</Directory>All that did was cause 500 Server Errors within wordpress and the install.php file
What is the proper way to configure WordPress to play friendly with other scripts in the same root site?
- The topic ‘.htacess with wordpress and a second script’ is closed to new replies.