WordPress.org

Ready to get started?Download WordPress

Forums

.htacess with wordpress and a second script (1 post)

  1. aeboi80
    Member
    Posted 3 years ago #

    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 http://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?

Topic Closed

This topic has been closed to new replies.

About this Topic