Why my redirects do not work?

For starters, don’t include the FQDN, just the path after www.fishol.me. So, if you want to redirect to the home page simply use:

301:
   /old-post/ /

However, redirecting so many posts to home (/) is not a great idea. If no suitable replacement is available after restructuring the site, just allow a 404. Contrary to popular belief, this is not bad, and is the correct approach for pages that are removed.

Finally, use 302s until you are satisfied everything is working, and don’t forget to clear any caching.

2 Likes