A "redirect 301" Generator
When web pages are moved or their files remaned, it is good
to put a "redirect 301" line into the .htaccess file of
site's directory where the web pages are moved from. This
gives visitor's browsers and search engines the information
they need to determine the web page was permanently moved to
the new location.
The "redirect 301" Generator can generate the redirect 301
lines for the .htaccess file.
If you've ever had to move a lot of web pages, dozens or
hundreds, and hand-build a "redirect 301" line for each web
page, you will readily see the huge time savings the
generator could represent.
Here is an overview of how easy the generator is to us:
-
Before the web pages are moved, create a sitemap
with their URLs. It can be any common type of site
map (HTML, XML, or a plain text file of URLs).
-
After the web pages are moved, create a sitemap of
the new URLs.
-
Fire up the generator, upload the two sitemaps,
specify the domain URL, and click the button.
-
Copy the generated 301 lines and paste them into
your .htaccess file.
If your web page files have been renamed, the redirect 301
generator can employ fuzzy logic to match similar file
names. Changed letter capitalizations, changed file name
extension, and changed non-alphanumeric characters, like
underscores to hyphens, can all be taken into account.
The generator can not guess a match of /paintbrush.html
with /camelhair.html. However, it can match /PaintBrush.html
with /paint-brush.php
Once generated, the redirect 301 lines can be pasted into
the .htaccess file located either in the document root
directory or in the directory where the web pages used to
be, before they were moved. The .htaccess file of either
directory will work.
Before going live, check the generated redirect
301 lines. After going live, test the old URLs to verify
they all redirect where they should.
After March 4th, the generator will be available only in the
WebSite's Secret members area.
Will Bontrager
©Copyright 2008 Bontrager Connection, LLC Bontrager Connection, LLC
Please note:
Articles on this website are presented "as is". However -
If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Ask one of our Experts and you'll have your answer!
Click here for details.