Title: Internal link in multisite installation
Last modified: April 17, 2019

---

# Internal link in multisite installation

 *  Resolved [dkps](https://wordpress.org/support/users/dkps/)
 * (@dkps)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/internal-link-in-multisite-installation/)
 * Hello,
 * we recently switched to Lightbox with Photoswipe from the old Boxers and Swipers
   plugin.
 * Somehow I can’t get Photoswipe to work with internal links. This is unfortunate,
   because our multisite installation (“invisible” parent site, plus 2 child installations
   for English and local language) currently sits in a subdomain and will be moved
   to the main domain once it’s finished.
 * With the old plugin, internal links (/wp-content/ourfiles/sites/2/image.jpg) 
   worked fine, but Lightbox with Photoswipe seems to need the whole thing ([http://sub.domain.com/en/wp-content/ourfiles/sites/2/image.jpg](http://sub.domain.com/en/wp-content/ourfiles/sites/2/image.jpg)).
 * Is there a way to shorten those links or some other workaround? I don’t want 
   to edit hundreds of image links once the page goes live.
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/internal-link-in-multisite-installation/#post-11439716)
 * Indeed having relative links without domain part is not supported yet since WordPress
   itself does not create this kind of link and I never had this case yet.
 * But I will add additional handling for this case in the next update, no problem.
 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/internal-link-in-multisite-installation/#post-11440181)
 * I just published an update to release 1.98 which should now also work with “internal”
   links which don’t have a domain part. Please let me know, if this works for you.
 *  Thread Starter [dkps](https://wordpress.org/support/users/dkps/)
 * (@dkps)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/internal-link-in-multisite-installation/#post-11443216)
 * That’s awesome! I just updated to the newest version and it works like a charm.
 * > Indeed having relative links without domain part is not supported yet since
   > WordPress itself does not create this kind of link and I never had this case
   > yet.
 * See, I had no idea. I’ve been using internal links with Photoswipe in Joomla 
   for a couple of years, so it didn’t even occur to me that this might be a special
   feature.
    And I’ve hardly used the visual editor in WordPress, because it just
   drives me nuts.
 * Thanks, you just saved me a lot of work! 🙂
 * Happy Easter!

Viewing 3 replies - 1 through 3 (of 3 total)

 The topic ‘Internal link in multisite installation’ is closed to new replies.

 * ![](https://ps.w.org/lightbox-photoswipe/assets/icon-256x256.png?rev=2906302)
 * [Lightbox with PhotoSwipe](https://wordpress.org/plugins/lightbox-photoswipe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightbox-photoswipe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightbox-photoswipe/)
 * [Active Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightbox-photoswipe/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [dkps](https://wordpress.org/support/users/dkps/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/internal-link-in-multisite-installation/#post-11443216)
 * Status: resolved