tsloughter / rebar3.org

Rebar3.org
10 stars 33 forks source link

Discussion links to the old website are broken #37

Open g-andrade opened 4 years ago

g-andrade commented 4 years ago

[This is a duplicate of rebar3/#2362. ~I'll close either issue depending on where you think the problem fits best - I didn't consider the present repo when I created the original issue~].

Hi,

Congrats on the new website! It looks very sleek and modern. I do want to make this clear before I write down the complainy bit, lest you feel unappreciated - I know it's a thankless job.

So, I was searching for rebar3 + yecc / leex integration, playing around with the idea of generating code for encoding/decoding a particular network protocol format.

The Search Engine™ gave me two potentially interesting results under the rebar3 website:

Now, those links may not be exact due to redirects - the second one's preview text is rather similar to the first's (the Search Engine™ obfuscates the actual URLs from me when previewing them.)

Both of them were dead. The first link hasn't been archived on the Wayback Machine. The second one has, though, and it looks like a discussion thread index, which explains the similar previews when searching - very possibly those results are mentioning the same post.

I used the search box on the new website to look for these - or what appear to be - discussion threads / forum posts. I couldn't find them.

Are they gone? Am I searching wrong? Would it otherwise be unreasonable of me to ask for the old links to redirect to the new locations?

I did search for other info, on the website, related to yecc / lexx integration and I couldn't find any, but I may have failed at web search (not for the first time).

[Perhaps I was unlucky with the particular subject of my searches. In any case, if you, the future reader of this post, find yourself in similar trouble, I found some of the answers I was looking for in this Andrea Leopardi's blog entry, although in an Elixir context.]

tsloughter commented 4 years ago

I'll try adding a cloudflare rule to redirect discussion urls back to readme.io, hopefully that'll work.

ferd commented 4 years ago

Seems the rule is active: https://rebar3.readme.io/discuss the old discussions can still be found.

tsloughter commented 4 years ago

That isn't the rule. that is what the rule needs to redirect to. I'm making it right now.

tsloughter commented 4 years ago

Now it is active.

g-andrade commented 4 years ago

Great! The first link is now redirecting me to the right place.

The discussion index link isn't, though. Is it possible to tweak the rules to make it work as well?

Thanks!

paulo-ferraz-oliveira commented 3 years ago

@tsloughter, would adding /discuss page=:page https://rebar3.readme.io/discuss?&page=:page 301 to _redirects do it, for the second broken link @g-andrade talks about?

Edit: I have no easy way to actually test this, I believe.