Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • TomBowen 8 posts 51 karma points
    Mar 24, 2014 @ 15:46
    TomBowen
    0

    Port Number in URL

    Hi, we've got the tool working however when it redirects pages, the URL it creates has the port number in it, and doesn't work.

     

    For example redirecting to "/example/page1" gives us the URL:

    http://www.website.com:87/example/page1

    Are we missing a setting or something?

  • Stefan Kip 1613 posts 4125 karma points c-trib
    Mar 24, 2014 @ 15:47
    Stefan Kip
    0

    Do you have hostnames with port 87 configured? Or are you running the website on port 87?

  • TomBowen 8 posts 51 karma points
    Mar 24, 2014 @ 17:15
    TomBowen
    0

    Our domain names do not contain the :87, but we have a webfarm and our sites run off different ports, this one being 87.

  • Stefan Kip 1613 posts 4125 karma points c-trib
    Mar 25, 2014 @ 10:05
    Stefan Kip
    0

    Hmm I don't have any experience with this particular situation, so I'm not able to help with it I'm afraid...

  • TomBowen 8 posts 51 karma points
    Mar 25, 2014 @ 11:02
    TomBowen
    0

    Well, I realise this is a different tool, but looking at the below post, it could be to do with the way you grab the URL to build your redirect url:
    http://our.umbraco.org/projects/website-utilities/tweet-on-publish/misc/8328-The-URL-posted-contains-the-80-port-number

    "took out the u.Port in the baseurl"

     

    Is this possible?

  • Stefan Kip 1613 posts 4125 karma points c-trib
    Mar 25, 2014 @ 11:07
    Stefan Kip
    0

    Yes I know, but a single case is not enough for me to consider chaning this. You can do it yourself though, because it's open-source and all the bits are available on Github.
    If you do change this yourself, it would be nice to receive a pull-request with that changes.

    Also I can't remove the port number, because it's a valid part of a URL and can be different than 80.

  • Wojciech Tengler 88 posts 161 karma points
    May 15, 2014 @ 16:18
    Wojciech Tengler
    0

    I have the same problem.

    My configuration:

    • I have multiple domain for root node.
    • The redirections contains port configured in website host header (IP Address: Unasigned, port: 4080, Host Header: any).
    • Application poll is running in classic mode.
    • Umbraco version 4.7.2

    I had to roll back any changes so I lost a lot of time.

Please Sign in or register to post replies

Write your reply to:

Draft