[resolved] root = fine = test folder = 404 (2 posts)

  1. Lee Rickler
    Posted 6 years ago #

    I have wordpress installed and working fine at root level.
    I have also installed (with separate DB) in a test folder. Each time I try to access anything in admin other than the admin/index.php file I get a 404.

    So i have:
    domain.com - working fine
    domain.com/admin - working fine

    domain.com/test/demo - working fine
    domain.com/test/demo/admin/index.php - working fine
    domain.com/test/demo/admin/any other file - 404

    I have this in both root and demo folder htaccess:

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

    I've tried with and without htaccess but no joy.

  2. Lee Rickler
    Posted 6 years ago #

    Scrub this. The problem was with a plugin not being in the correct directory (even though it was installed via admin).

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.