Technosailor.com Readers! Donate today to assist the VIDA/COADHA Haiti Medical Response in their efforts.

16 January 2005 4 Comments

Tweaking Wordpress mod_rewrite

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.

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

Obviously, change

1
technosailor\.com

to your own domain name. in the format of

1
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.

Pick up your copy of the WordPress Bible, a wildly popular resource for beginners and experts alike.

Popularity: 1% [?]

4 Responses to “Tweaking Wordpress mod_rewrite”

  1. Aaron Brazell 3 November 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 16 January 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 3 November 2005 at 2:14 pm #

    Yep.

  4. Aaron Brazell 16 January 2005 at 12:43 pm #

    Yep.