• I have created a custom plugin which among other things – changes the slug of a CPT post right after it is being published.

    Problem is, the newly created CPT post URL leads to a 404 page and only after updating Permalinks – the issue is resolved, even though the rules in .htaccess stayed exactly the same as they were before the update:

    # 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

    Without going into a deep and a thorough troubleshooting process, is there a right-off-the-bat explanation for this?

    Thanks,
    Ran

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why do I need to update Permalinks?’ is closed to new replies.