• I’m a beleiver of the no-www.org campaign and i have modified my .htaccess file to force a http:// connection to my blog at every oppurtunity.

    I’m just wondering if it is possible to configure WordPress to drop the www. for it’s category links? By default all the categories use www.

Viewing 1 replies (of 1 total)
  • I’ve got this handled through mod-rewrite in the .htaccess file for all my sites; my blogs’ categories don’t come up with www.

    This is what I use:

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_HOST} =www.yourdomainname.com [NC]
    RewriteRule ^ http://yourdomainname.com%{REQUEST_URI} [R,L]
    </IfModule>

    This is in both the root .htaccess for my sites, as well as in the wp-specific .htaccess in the wp root folder.

Viewing 1 replies (of 1 total)
  • The topic ‘No www!’ is closed to new replies.