Tweaking Wordpress mod_rewrite

by Aaron Brazell on January 16, 2005 · 4 comments

If you use Wordpress to generate your Rewrite rules for clean URLs, make sure you add the following to the top of your RewriteConds or all external links will fail. Trust me, I just realized this when I clicked on commenter links and Apache thought I was conducting a seach for “something” within this blog.

RewriteCond %{HTTP_HOST} !^technosailor\.com [NC]

Obviously, change technosailor\.com to your own domain name. in the format of fully\.qualified\.domain\.name.

Translation: Look at the domain name and if it isn’t technosailor.com, then continue on with the rewrite rules which make Wordpress function with clean URLs. However, if it is the same, then go ahead and process the rules since we are apparently still at this blog.

{ 4 comments }

1 Aaron Brazell November 3, 2005 at 1:51 am

I have posted an update on this entry. Please listen to the audio bits from KWeisi Mfume and Ms “I cna’t clarify my position” Marriott, quoted in the Times story.

2 Aaron Brazell January 16, 2005 at 12:36 pm

I have posted an update on this entry. Please listen to the audio bits from KWeisi Mfume and Ms “I cna’t clarify my position” Marriott, quoted in the Times story.

3 Aaron Brazell November 3, 2005 at 2:14 pm

Yep.

4 Aaron Brazell January 16, 2005 at 12:43 pm

Yep.

Comments on this entry are closed.

Previous post: Sprint and Nextel to Merge

Next post: Nothing Like a One Stop Job Search