How to delete rewrite rule?
-
Hi!
I come from Joomla, where I handle URLs and SEF URLs with sh404SEF. That makes it easy to find, add and delete redirects.
I made a change in the permalink structure of a site I am building. Everything works ok, but for one particular post category, where all blog posts lead to 404’s. I can see in the Rewrite Rule inspector, that a rule is setup:
Rule
nlp/([^/]+)/?$Rewrite
index.php?nlp=$matches[1]Source
nlpI have found the rule in the db in the wp_options table. But deleting / altering the db results in a rebuild when the rules are flushed. I tried make new .htaccess, redo writing access, save permalinks, flush rules but no help.
My question is: How do I remove the rule permanently and where does this rule originate from? Where does WP determine the “source”, can this be edited in backend? Can WP suck in rules from .htaccess and keep them in the db?
I hope you can spare a few minutes clearing this up.
- The topic ‘How to delete rewrite rule?’ is closed to new replies.