News for hackers. Stuff that matters.
Re:Designing a Website Without 404s by otherme123 on Friday June 14, 2024 @01:57AM (#40677921)
In that document they explain that duplicate content is not a big deal: just set a canonical, and respond maybe with a 301.

I did this during a migration of a site that used '/<pk-int>/' and was changed to '/<slug>/' with corresponding 301. The SEO not only didn't punish the migration, but it seemed to like the change (except the Bingbot, that after five years still request the old Urls).

The problem I see with the OP strategy is that the bot can hit a Url that still doesn't exist, get 301'ed with that technique, and the Url is reused afterwards for new content: following their example, somebody links to '/supplements/otherbrand-spore-probiotic', that gets a bot following that link 301'ed to '/supplements/spore-probiotic'. Later you actually add 'otherbrand-spore-probiotic', but that Url will never be visited by the bot.

Re:Designing a Website Without 404s by bentinata on Friday June 14, 2024 @07:52AM (#40679936)
What about using 302?
Re:Designing a Website Without 404s by qingcharles on Friday June 14, 2024 @01:05PM (#40682568)
What about 308?