Some time back we found this very old, and no longer supported, plugin which helped us define our URL exactly the way we wanted it - see more on the issue from this previous post. Our Knowledge Base is hosted on WordPress, but our site is not, so the KB theme kept wanting to add in extra slugs to the URL. Unfortunately it was the only one we could find that actually did the job.
The plugin worked great... until we wanted to add a new article. I get this error message:
Remove Slug Custom post type error! .htaccess is not writable, please add following lines to complete your installation:
RewriteRule ^forumsforum/(.+)$ /$1 [R=301,L]
RewriteRule ^forumstopic/(.+)$ /$1 [R=301,L]
RewriteRule ^forumsreply/(.+)$ /$1 [R=301,L]
RewriteRule ^articles/(.+)$ /$1 [R=301,L]
If I ignore it and publish the article, the slug is actually correct, but if you visit the post it throws a 404 error.
How do I update the plugin so that I can continue adding new articles? I am not sure how/where to use the information in the error message.
.htaccess is not writable
and @Eike's answer below will resolve this problem.