Title: URL structure &#8211; minor issue
Last modified: August 31, 2016

---

# URL structure – minor issue

 *  Resolved [Nina15](https://wordpress.org/support/users/nina15/)
 * (@nina15)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/)
 * Just to let you know that the current code expects a URL entered containing http://
   to end with a forward slash otherwise the image does not show.
 * It seems the code is smart enough to construct the correct path if http:// is
   not entered in the URL (e.g.. mysite.com/some-page) but expects training “/” 
   if entered this way [http://mysite.com/some-page](http://mysite.com/some-page)
 * [https://wordpress.org/plugins/z-url-preview/](https://wordpress.org/plugins/z-url-preview/)

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

 *  Plugin Author [StuartMillington](https://wordpress.org/support/users/stuartmillington/)
 * (@stuartmillington)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/#post-6925570)
 * I can’t reproduce this. Tested with:
    `http://www.wikihow.com/Make-Peppermint-
   Creams` and `www.wikihow.com/Make-Peppermint-Creams` and both work fine.
 *  Thread Starter [Nina15](https://wordpress.org/support/users/nina15/)
 * (@nina15)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/#post-6925580)
 * You are right – it works in the majority of cases. The few instances I encountered(
   and was focused on) were a few school and kindergarten websites which I believe
   use older html versions and were malformed to begin with. Thank you for testing
   anyway. With the exception of en.wikipedia.org (which has some unique image path
   structure) it works well with all types of urls.
 *  Plugin Author [StuartMillington](https://wordpress.org/support/users/stuartmillington/)
 * (@stuartmillington)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/#post-6925623)
 * If there are specific URL’s you want me to look at/figure out please let me know,
   as I can only fix/adjust it for ones that I find or are told about. Otherwise
   I’ll close this one – and I’ll have a look at en.wiki in the mean time.
 *  Thread Starter [Nina15](https://wordpress.org/support/users/nina15/)
 * (@nina15)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/#post-6925631)
 * All good and thank you again very much for your engagement. Realizing your time
   is valuable just because you asked here is one such link I mentioned above: [http://pastebin.com/vLuL75gT](http://pastebin.com/vLuL75gT)
   
   Not a big deal really.
 *  Plugin Author [StuartMillington](https://wordpress.org/support/users/stuartmillington/)
 * (@stuartmillington)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/#post-6925652)
 * Wiki is a strange one, but with the legal/linking issues they flag I think I’ll
   put that one on the back burner.
 * The one you linked, thank you, is down to relative image links, e.g. `src="images/
   logo3.gif"`.
 * I’ve added a check in v1.4.6 that fixes this (I believe, checked very quickly).
 * In theory, it also needs to check for base href in the page source, as that should
   be there when relative links are used. That site doesn’t use one though, so is
   relying on the default “/” base.
 *  Thread Starter [Nina15](https://wordpress.org/support/users/nina15/)
 * (@nina15)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/#post-6925657)
 * Much obliged. With wiki, due to the depth and nature of the content, there may
   not even be a need to make such a preview.

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

 The topic ‘URL structure – minor issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/z-url-preview.svg)
 * [Z-URL Preview](https://wordpress.org/plugins/z-url-preview/)
 * [Support Threads](https://wordpress.org/support/plugin/z-url-preview/)
 * [Active Topics](https://wordpress.org/support/plugin/z-url-preview/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/z-url-preview/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/z-url-preview/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Nina15](https://wordpress.org/support/users/nina15/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/url-structure-minor-issue/#post-6925657)
 * Status: resolved