• After updating to 6.9 permalinks with /postname do not work. I had to revert to the standard permalink format, but this has still ruined our site. All links made within posts and widgets use the /postname format and are now 404 links. Only menu links and links generated by post-grid through essential blocks work. I can no longer share site.com/postname links, which are often printed on flyers alongside qr codes.

    I had hoped 6.9.1 would fix it. I did back up the site before we updated, but I really, really do not want to try and revert back because I am pretty sure I do not have the skills to not mess that up.

    Does anyone have any tricks or should I just try to wait until 6.9.2?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try these below steps can fix:

    Method 1

    1. Go to Setting > Permalinks in Wp admin dashboard
    2. Click Plain and click save
    3. Now select post name and save again, Do this even if you already tried once.

    Method 2

    Check your .htaccess files in root if it correct, share the content of .htaccess here

    Method 3

    Any plugin can also causes conflict so try disabling plugin one by one and check if it works so you will find the conflicting plugin

    Try above method and let me know if it works

    Thanks

    Thread Starter rokkan

    (@rokkan)

    I have attempted method 1 several times. I also tried to restore .htaccess according to this site (https://developer.ww.wp.xz.cn/advanced-administration/server/web-server/httpd/) but that did not work. It seemed to be empty when I opened it.

    # BEGIN WPSuperCache
    # END WPSuperCache

    # BEGIN WordPress
    # Instruksjonene (linjene) mellom "BEGIN WordPress" and "END WordPress" er
    # dynamisk generert og bør bare endres via WordPress-filtre.
    # Enhver endring av instruksjonene mellom disse markørene vil bli overskrevet.

    # END WordPress

    I am currently checking plugins, which will take a while.

    May be Your server is not Apache (e.g. Nginx), so .htaccess is ignored.

    Or it can also be issue of file permission which can prevent wordpress from rewrite rules

    Your .htaccess must be like this

    # 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
    Thread Starter rokkan

    (@rokkan)

    I tried aditing .htaccess, but it simply added the previous text, so I think that might be correct. I am testing the plugins but so far I have had no luck.

    # BEGIN WordPress
    # Instruksjonene (linjene) mellom "BEGIN WordPress" and "END WordPress" er
    # dynamisk generert og bør bare endres via WordPress-filtre.
    # Enhver endring av instruksjonene mellom disse markørene vil bli overskrevet.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.