Support » Installing WordPress » root = fine = test folder = 404

  • Resolved Lee Rickler

    (@bigbadboy)


    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]
    </IfModule>
    
    # END WordPress

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

Viewing 1 replies (of 1 total)
  • Lee Rickler

    (@bigbadboy)


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

Viewing 1 replies (of 1 total)
  • The topic ‘root = fine = test folder = 404’ is closed to new replies.