Forums

subdirectories with wordpress - Error 404 (2 posts)

  1. rleon
    Member
    Posted 2 years ago #

    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

  2. Shane G.
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.