Wordpress Toolkit - URL switch (main URL <=> preview URL)
I would like to suggest something which could be VERY helpfull to customers which are moving their Wordpress instances between servers. Lets say you have domain.com on Server1. Then you are moving it to Server2 with Plesk and Wordpress Toolkit but domain.com is still pointing to Server1. Issue with Wordpress is that if you don't use main URL then all media files (css, images etc) are not being loaded correctly and customer can't be sure if everything will work correctly when he switch DNS settings for domain.com from Server1 to Server2.
My suggestion is that it would be great if there could be some kind of Preview switch (On/Off) called "Set preview URL as Wordpress main URL" (or something like that) where Wordpress toolkit will change Wordpress main URL in configuration table to one which is being used by preview link in Plesk.
This could solve all preview issues with Wordpress where some of wordpress instances are redirecting to main URL on site opening (so currently it would redirect user from Server2 preview URL to Server1 main URL).
What do you think about it? This is simple task which must change two URLs in Wordpress configuration table.
I'm aware that some URLs are hardcoded into templates, posts, pages etc. but generally speaking setting main URL in configuration table could solve all preview issues.