Here’s a quick and easy htaccess 301 redirect tip.
So, you have a URL like this:
and you want to redirect it to:
All you need to is quote the URL like this:
Redirect 301 "/this is_a_file.html" http://www.example.co.uk/this_is_a_file.html
Learning & sharing
This is where we store some of our Web Development thoughts, tips and tricks for both our own uses and for others to learn from. Sharing is caring.
Please feel free to contribute to our blog posts; perhaps even teach us a few tricks of your own. We'd love to hear your thoughts.