• WordPress is installed in a sub directory on my localhost.

    “Create a Configuration File” can’t find the sub directory to run the setup-config.php

    This is where “Create a Configuration File” ends:
    https://localhost:63757/wp-admin/setup-config.php
    If I manually insert the subdirectory name into the url, the setup-config.php will run okay.
    Such as this: https://localhost:63757/content/wp-admin/setup-config.php

    .htaccess
    looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /websitename/content/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /websitename/content/index.php [L]
    </IfModule>
    # END WordPress

    Help!

Viewing 1 replies (of 1 total)
  • Try this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /websitename/content/index.php [L]
    </IfModule>
    # END WordPress
Viewing 1 replies (of 1 total)
  • The topic ‘Win XP localhost subdirectory .htaccess rewritebase’ is closed to new replies.