• doa24uk

    (@doa24uk)


    Hi guys,

    My directory structure is as follows
    /public_html/wp-content/plugins/plugin-name/file.php

    However when I try to directly access this file, I get a 404 error.

    http://mysite.com/wp-content/plugins/plugin-name/file.php

    I have permalinks working fine. Here is my .htaccess

    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Note: I can successfully get to /wp-content/ but not /wp-content/plugins (Page Not Found) … I can also successfully get to /wp-content/plugins/plugin-name/ but not /wp-content/plugins/plugin-name/file.php

The topic ‘404 Error – Page exists! wp-content/plugins…’ is closed to new replies.