• Hi!

    i have a major problems when i try to fix my permalinks to be more seo friendly. I have already tried to fix .htaccess file to (look below). I have also noticed that if i delete the .htaccess file from server totally, my site wont generate new even if i reset link structure (by saving changes twice in permalink structure) and the sites works well with basic permalink structure. As a ftp-client i use Filezilla. I see hidden files (those options are on) and i tried to search .htaccess from server, but the search tool can’t find any. I am using the perth theme, but i tried to change theme to twenty seventeen, and it wont help.

    So in a nutshell, i get 404 error when i change my permalink structure from blank (?p=123) to article name.

    Plugins that i use are child theme configurator, contant Form 7 (+widget for elementor), custom facebook feed, Elementor (non-paid) + elementor addons and widgets, Flamingo, google analytics for wordpress by monsterinsights, google xml sitemaps, site origin widgets bundle, yoast SEO.

    # 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

    Help me pls 🙂

Viewing 1 replies (of 1 total)
  • The .htaccess file you posted should be OK. It should work.
    BUT it will only work if your server configuration has the “mod_rewrite” module enabled. Possibly ask your webhosting support.
    OR create a file on your server like this:
    anameInfo.php:

    <?php
     phpinfo();
    ?>

    The output of this will show which modules are enabled.
    Remove this file once you are done with it since the output contains details which may compromise your security.

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