Skip to content

Switchboard redirects #540

Locked Answered by newbold
bixfrankonis asked this question in Q&A
Discussion options

You must be logged in to vote

I finally fixed something that I’ve been meaning to fix forever—and your post here was the nudge I needed, heh. Previously, if you had a custom domain pointed at your web/profile page in the Switchboard, it would show that page as expected (unless the URL matched a PURL or paste, in which case it would whisk you over to that). If the URL was something other than the base domain (like /foo or /bar) and there wasn’t a matching PURL/paste, it would just show the page... even if there was nothing that technically “lived” at that specific URL.

A few days ago I decided to “fix” this by returning a 404 in those cases where /foo or /bar were requested but neither was a PURL or paste, but I still …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bixfrankonis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
core Related to the core omg.lol service
2 participants