301 Redirects: Formatting Bulk Redirects In Four Quick Steps
So you've got a website redesign going on. Exciting! But the one thing that most folks find less exciting than the reveal of the bright and shiny new website is the behind-the-scenes efforts to retain organic search rankings. 301 redirects, while necessary, are rarely a fun endeavor, and the formatting can take forever. Here's an easy way to quickly format your 301 redirect mapping for non-dynamic pages to match .htaccess formatting.
Step One: Map the Old Web Pages to the New in Excel
The mapping step takes time, but is relatively straightforward. Create a Microsoft Excel spreadsheet with two columns -one for the existing URL and one for the new URL to redirect to on the new website. For each old URL that is changing, enter a new URL in the appropriate column. Use the full website URL. For instance, we just relaunched our Search Mojo site and had some old pages that needed to be redirected to new versions.
Step Two: Format the Excel Document to Match .htaccess Formatting
After the mapping is complete, follow these steps to format the data in Excel to match the 301 redirect formatting required for .htaccess:
1. Select the old URL column and remove the main domain. For instance, if the old web page is "http://www.search-mojo.com/about-us.php," the replaced domain URL would be "about-us.php." You can easily do this for all of the URLs by hitting CTRL-H to do a find/replace, then replacing the domain (with trailing slash) with "redirect 301."
2. Select all of the cells in the old site column and the new site column, then copy and paste into a word document.
Step Three: Edit the Data in Word
Pasting the data from Excel into Word will paste the data as a table.
You'll then want to change the table to text. Select the table, then under the Table/Format menu, select "Convert Table to Text" and select "Other" for the separator option. For other, use a single space.
Step Four: Adding to Your .htaccess File
Finally, you'll want to add the reformatted redirects into your .htaccess file. Download the .htaccess file from your server. Open it in an HTML editing program (or even notepad or the like), then copy and paste your redirects from Word into the .htaccess file. Save the file, upload to your server, and you're done!
0 comments on "301 Redirects: Formatting Bulk Redirects In Four Quick Steps".
Leave a Comment
Recent Search Insider Articles
-
The Momentum Of Marketing May 23, 1:45 p.m.
After becoming a parent, I discovered that there are no shortcuts to being a Dad. Contrary ...
-
The Stress Of Hyper-Success May 16, 3:11 p.m.
Last week, I talked about the inflation of expectations. In that case, it was the vendors ...
-
Click Fraud's Days Are Numbered May 14, 1:28 p.m.
Online advertising's days of Wild West-like lawlessness will soon come to an end as new validation ...
-
The Straw That Broke The Market's Back May 9, 10:29 a.m.
Customers are fickle -- and I suspect they’re getting more fickle. Perhaps they’re even feeling a ...
-
Google Enhanced Campaigns: Get Ready! May 8, 9:31 a.m.
If you are a national marketer with local brick and mortar stores, Google Enhanced is soon ...
-
Brave New Search World May 2, 11:51 p.m.
While at the Search Insider Summit at Amelia Island, I found it increasingly clear for both ...
-
Live By The Data, Die By The Data May 2, 2:05 p.m.
While the Search Insiders tear up the stage in Amelia Island, Fla., I’ve been lurking virtually, ...
-
Amelia-rating The Search Insider Buzz May 2, 12:56 a.m.
This week is the 15th running of the search geeks, also known as the Search Insider ...
-
In The Social Search Jungle With Google And Facebook April 30, 7 a.m.
“I wanna be like you, I wanna talk like you” – King Louie, "The Jungle Book" ...
-
Is An Android-Powered Future Inevitable? April 29, 1:54 p.m.
The darling of the newest class of consumer technologies is undoubtedly Google’s Glass. Sleek, beautiful, exciting ...


I just found out the hard way that some versions of Linux (or Apache) are more tolerant of loose redirect code than others. Going from an older version of Fedora/Apache to the current version of Centos/Apache, I found out that redirects in the form of "redirect 301 /old-folder/ /new-folder/" don't work -- you have to use absolute URLs for the destinations in all cases.
Good article, Janet.
Actually, I'm working on an online tool that helps you avoid all that manual work. It maps pages and creates 301 redirects automatically for you. You don't need lists of old and new URLs.
Check it out:
http://www.301redirector.com/