Relative URL on WP Multisite Site

[ad_1]

The easy way to find the URL of the folder, is to place a file in the folder. In Media Library Folders, click on the file which will open the Edit Media page of the file in a new tab. On this page, in the right column is a field, FIle URL. Click the copy URL to clipboard button. Paste the URL into a a text editor. Now you the URL of the folder. This is the absolute URL

I can say for certain what the relative URL would be. I think it is dependent on the name of the site.

I do not have experience with moving a multi site. But when moving a site using Media Library Folders. The best approach is to deactivate the plugin and activate the Media Library Folders Reset plugin and run the reset process. This delete all the folder data. You will not need that once the site is migrated. It works better to regenerate the folder data from scratch after successfully completing the migration.

When moving the site, you will need to update all the URLs in the database. If you use a plugin such as All In One Migration, it will do this for you. If you move the site manually, you can use the Better search and replace plugin to update all the URLs in the database. One great feature about the Better search and replace plugin is its dry run feature, that you can use without making any real changes to the database. Also if you do use Better search and replace, for the old and new domains, do not enter the ‘https://’ of the domains, as this will result in having ‘https://’ appear twice in every URL.

Thread Starter
mcyzyk

(@mcyzyk)

Thanks! This is SUPER helpful.

I do use All In One Migration, so am hoping it works its magic. (Otherwise, I’ve used the Velvet Blues plugin to change URLs strings in bulk…)

MUCH appreciated,

Mark

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer