Topic on Extension talk:UrlShortener

My site uses https but UrlShortener is saving http URLs to usc_url

3
Jonathan3 (talkcontribs)

How can I change this? Thanks.

Legoktm (talkcontribs)

This is on purpose, it saves one character in the database. UrlShortener should be transforming it back to HTTPS on output, is that not the case?

Jonathan3 (talkcontribs)

Yes that seems to work fine! (I only noticed the http when checking a short URL that refuses to redirect properly for some reason.)

Not a UrlShortener question as such, but is there something I am missing in LocalSettings.php that would obviate the need for the second 301 below?

Status code	Scheme	URL
301	https	https://www.short.uk/xyz
301	http	http://www.long.co.uk/index.php?title=Special:UrlRedirector/xyz
301	https	https://www.long.co.uk/index.php?title=Special:UrlRedirector/xyz
200	https	https://www.long.co.uk/Pagename
Reply to "My site uses https but UrlShortener is saving http URLs to usc_url"