Changing URLs in the database during domain move
-
Hi,
I’ve come across a strange issue with this plugin re: the way redirect URLs are stored in the plugin’s tablewp_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_redirectsbecause of a missing index.Using WP-CLI to run
wp search-replacedoesn’t change the URL in those tables; WP-CLI doesn’t even “see” the URL inwp_login_redirectsthat 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_redirectsusing a script or WP-CLI?Any ideas?
Thanks
The topic ‘Changing URLs in the database during domain move’ is closed to new replies.