When I converted my old, kloodgy Web site into WordPress last year, one of the reasons I did so was because my restaurant review script was no longer supported and had some ginormous security holes. It was open to all kinds of cross-site script injection and it was becoming a one to two hour a day chore to keep it running.
The new solution (WordPress) is fabulous, but now I have a couple hundred inbound links that are broken. Trying to get all of the links updated by the other sites was a losing proposition, so my next step was to put some 301 redirects into my friendly neighborhood .htaccess file and transfer all the link love to the new pages.
Easy (normal) 301 redirects via .htaccess
Normally, a 301 redirect in your .htaccess file would look like this:
Redirect 301 /old/url.shtml http://domain.com/new/filename
or if we’re being fancy…
RewriteEngine on
RewriteBase /
RewriteRule ^old/url.shtml$ new/filename [R=301,L]
Normally, the examples above are perfect for redirecting incoming links from old, defunct pages to the new, correct location of the file. The problem I ran into is that my pages were dynamically generated; i.e., they all shared the same URL, and which review was presented to the user was determined by an argument passed in the URL after the file extension.
http://www.domain.com/cgi-bin/script.cgi?review=bobs_shrimp_hut
To address this, I figured I would just [...]
Popularity: 29% [?]
Continue Reading
On the Monday, June 1st live broadcast of SEO 101, we will have four tickets to give away for the Market Saint Louis “Look At Me” seminar in St. Louis, MO on Thursday, June 11. The tickets are normally $249, but we’ll be giving them away to the four callers who give us the best [...]
Continue Reading
I just confirmed that I’ll be speaking in the St. Louis, Missouri area on Thursday, June 11th at the Market Saint Louis “Look at Me” Seminar. It’s a single day event in Glendale that will cover everything from bringing business owners up to speed on search engine marketing and SEO concepts and trends, to search [...]






Carolyn Shelby is an search engine optimization expert and experienced webmaster who specializes in rebuilding underperforming (or just ancient) web sites and relaunching them, while preserving existing inbound links and search engine rankings.
She is based out of Chicago, Illinois and is available for