• I have a domain

    mydomain.net

    I would like to set up a forum

    mydomain.net/forum

    But since I have permilinks I get.

    Sorry! Error 404 – Not Found

    here is my .htaccess file

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

    # END WordPress

Viewing 1 replies (of 1 total)
  • Hi,

    Set your desired permalink and add this code in htaccess;

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

    Thanks,

    Shane G.

Viewing 1 replies (of 1 total)

The topic ‘subdirectories with wordpress – Error 404’ is closed to new replies.