mod_rewrite URL conversion Mar26 '05

Feedback

# (1 of 1): Dale » bluetrait.com

48 minutes after the fact. (Sat 26 Mar 2005, 5:02 PM CST)

I had the same problem when I changed over to my new permalink model.

My old one looked something like this:
http://blog.dalegroup.net/archive/blog/newsid/289

Where as the new one is:
http://www.bluetrait.com/archive/2005/03/26/unicode-character-set/

It was a bit of a pain. Since I kept my old id numbers when I converted the database I decided on a mod_rewrite rule to redirect the old url to the new one, like this:
http://www.bluetrait.com/?id=289

Now that doesn't have the nice new format but. All links on that page refer to:
http://www.bluetrait.com/archive/2005/03/26/unicode-character-set/

So hopefully after a while the old redirects will die down and google will pick up the new ones. There are no places where I directly link: http://www.bluetrait.com/?id=289 or the old style.

RSS feed for comments on this post

Leave feedback

Feedback

Input format: The editor controls below will assist with Markdown syntax.

Status

Sub-status

Your info

Return to entry.

matthom is published and produced by Matt Thommes - an independent publishing enthusiast, mobile blogger, content creator, informative writer, web developer from Chicago. Never one to conform, Matt intends to promote the effect the web has on our lives, in an effort to intensify, instruct, and clarify all that is happening around us.

Contact Matt

I spent the better half of the day trying to understand Apache’s mod_rewrite directive, to help convert my permalinks over to a better format.

You are at the feedback permalink page for: mod_rewrite URL conversion

Read more...