WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
301 Redirect Rules Getting Erased (5 posts)

  1. Xianti
    Member
    Posted 2 years ago #

    WP Super Cache appears to be deleting my 301 redirect rules whenever it updates the .htaccess file. Is that supposed to happen? Couldn't it leave my custom rules intact while updating just its WP Super Cache section in the file?

    Here's my current .htaccess:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Your code was removed but you could just move the redirect rules out of the WordPress section. Saying that, even if they are in that section they shouldn't be deleted. :(

  3. Xianti
    Member
    Posted 2 years ago #

    Thanks, and sorry about posting the code. I was in a hurry to troubleshoot this for a client and admittedly hadn't read the rules.

    It doesn't happen all the time, but it's happened twice now. I'll try your suggestion and see if it sticks.

  4. Xianti
    Member
    Posted 2 years ago #

    Curious... so I know in the future:

    If I can't post code here, how would you have helped me to figure out moving the redirect rules out of the WordPress section?

    Is there another protocol for troubleshooting code?

  5. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Use pastebin.com and post the url here!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic