Support » Plugin: Peter's Login Redirect » Changing URLs in the database during domain move

  • Resolved bluedogranch

    (@bluedogranch)


    Hi,
    I’ve come across a strange issue with this plugin re: the way redirect URLs are stored in the plugin’s table wp_login_redirects.

    I frequently copy a production site to a subdomain for testing and updates, and as a result, I need to change all URLs in the database.

    When I use a script like https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ , the script tells me that it can’t change the URLs in wp_login_redirects because of a missing index.

    Using WP-CLI to run wp search-replace doesn’t change the URL in those tables; WP-CLI doesn’t even “see” the URL in wp_login_redirects that is being searched for.

    Does this plugin use a unique way of storing these URLs? They appear to be plain text in the rul_url and rul_url_logou columns.

    How can I change the URLs in wp_login_redirects using a script or WP-CLI?

    Any ideas?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.