• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Wordpress Toolkit URL switch (main URL <=> preview URL)

Grzegorz W

New Pleskian
Hello,

it would be good that forum topics could also have [Suggestion] prefix.

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.

Thanks

EDIT: Suggestion has been also posted on UserVoice:

Wordpress Toolkit - URL switch (main URL <=> preview URL)
 
Last edited:
Back
Top