• Resolved iantresman

    (@iantresman)


    It would be very useful if the Redirection plugin page, provided tips as to the format of the Source URL and Target URL.

    I can never remember whether these are (a) full URLs, (b) which one is a partial address, (c) whether it needs a leading slash.

    The tip could be just a sentence or two, or a (?) pop-up tip. eg.

    Source URL is a path to the file, WITH a leading slash, eg. /17-10-27/oldfile.htm
    Target URL is a full URL, eg. https://www.mydomain.com/posts/newfilename.htm

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    The plugin works just like adding a link in a <a href=""> HTML element – if you put a http:// in front then you are providing the website domain, if you just start with a / then it’s relative to the current domain.

    The plugin will remove any absolute URL you put into the source. The target can actually be a relative or absolute URL.

    Thread Starter iantresman

    (@iantresman)

    And I guess the advantage of relative URLs is that they work for both http:// and https://

    Plugin Author John Godley

    (@johnny5)

    Yep, also they will continue working if you change the domain name.

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

The topic ‘Plugin page tips for URL format’ is closed to new replies.