• hello!

    When I change in /wp-admin/options-permalink.php type of permalinks to /%postname%/ or anything else, I am getting 404 error – page not found everywhere.

    My webhosting: https://www.euronet.sk/ OPTIMAL packet
    My site: https://www.medzev.info/
    My .htaccess:

    # 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

    I tried to change chmod of .htaccess so WP can update it automatically, then set permalinks in WP again, multiple clicking save permalinks, delete htaccess, but without success..
    Could someone help me how to set htaccess corectly to my site or what am doing wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Check with your hosts that mod_rewrite is running on your server.

    Thread Starter killerisko

    (@killerisko)

    support of .htaccess (mod_rewrite) is enabled in my webhosting package (:OPTIMAL).

    It is mentioned at https://www.euronet.sk/webhosting/webhosting.html

    mod_rewrite should be working from begining, isnt it?

    If not, I need to ask for sure, how to check my hosts that mod_rewrite is runing on my server? I need to email to my webhosting or something like that?

    I think that adding correct line with /%postname%/ in htaccess could fix my issue, but I dont know what or where need I add it to my htaccess. :/

    mod_rewrite should be working from begining, isnt it?

    That tends to vary from hosts to host. You should be able to check if is running by upload a .php file that just contains:

    <?php phpinfo();

    but that still doesn’t rule out some sort of server configuration. It’s clear from your original post that there’s something wrong with the server’s implementation of mod_rewrite and only your hosts will be able to help with this.

    Thread Starter killerisko

    (@killerisko)

    you were right.. I sent email to my host and they fix my problem by activating .htaccess module

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘permalinks change not working’ is closed to new replies.