Moving a section of content
-
sliptonic, [01.11.21 09:33]
I’ve got a client who added a ‘media’ menu item that points to a section of content. They were thinking ‘media’ like newspapers, TV coverage, etc.
However, since ‘media’ is the name of the directory where wordpress stores its images, urls like site.com/media/xxx get flagged by the wordfence firewall as a unsafe actions.I can manually add a whitelist item for every troublesome page but they keep creating content in that section.
I could add a pattern matching whitelist but that would mean real attempts to scan the filesystem aren’t caught.
So it would be nice to just move the section to a new name and regenerate the urls so they aren’t a problem. Then the firewall can do what it does.
How can I move an entire section of content and recreate the urls associated with them.Correct account: Yes
The blog I need help with is: (visible only to logged in users)
-
Hi @bradcollette, have you considered changing the “media” slug? You can do that under wp-admin > Posts > Pategories. Find the category, then edit it. You can change the slug to something else, like
press. Then just be sure to edit the menu as well so it matches, and do whatever redirects need to be done for popular items. Same thing goes if this is a tag instead.I hope that helps!
Going forward, you’ll want to use the correct forums and resources for your WordPress installation, since it isn’t hosted here with us. We have some tips on finding help here:
https://wordpress.com/support/help-support-options/#word-press-org-supportCheers :)
- The topic ‘Moving a section of content’ is closed to new replies.