• Resolved mpjltd

    (@mpjltd)


    Hello there… i have a problem with setting up the permalink.
    After a fresh install of wordpress in my root dir, no plugins I went to permalinks and changed the structure to /%postname%/. when I press the button to save the settings, the css of the admin dashboard is gone and when I try to login I am getting the error

    You don’t have permission to access / on this server

    WordPress is creating an htaccess file with this content:

    # 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

    when I delete the htaccess file I am able to see the frontend, able to login to backend but when I click on permalink the css of the admin dashboard is gone and when I try to login I am getting the error

    You don’t have permission to access / on this server

    on one of my other sites it is working but the content of the htaccess file is:

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

    Is someone able to explain whats is wrong ?
    does this have something to do that I have made the install oder https://www.domain.com and not domain.com ?

Viewing 1 replies (of 1 total)
  • Thread Starter mpjltd

    (@mpjltd)

    For People with same issue:
    Make Sure the Httpd Settings are set:

    WebServer mod_rewrite(on)
    PHP safe_mode(off),

    Please Close this topic

Viewing 1 replies (of 1 total)
  • The topic ‘htaccess Permalink’ is closed to new replies.