Redirecting a webpage using 301 redirect

Let’s say that someone on the Internet has been linking to one of your webpages, but for some reason you change the system you use (Changing from Drupal to WordPress, for instance), or just ended up moving the page somewhere else. Sending an email to the people linking to your site doesn’t guarantee that they’ll take the time to point to the new URL of the page. So what can YOU do? Use .htaccess and a 301 Redirect. I’ll not explain here where the file is to be placed, or how you configure Apache to take it into consideration.

Place the following bit of code in your .htaccess:

Easy peasy.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">