I'm following Jim Wesetergren's SEO for Wordpress stuff and his url cannonization fix foundhere I also already set up my blog to use /%postname%/ and I did the steps for the url cannonization, but my blog posts are not showing up correctly. They show up like this: http://www.chrisguthrie.net/http:/www.chrisguthrie.net/test/ So it shows my url twice, and my .htaccess file looks like this (so I assume it's something to do with my .htaccess messing up). Does anyone know why it messes up? Options +Indexes Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^chrisguthrie\.net RewriteRule ^(.*)$ http://www.chrisguthrie.net/$1 [R=permanent,L] RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ http://www.chrisguthrie.net/$1/ [L,R=301] # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress PHP:
Did it have this problem before (when you first installed and tried it out?) Also, what entry is in your Options >> Permalinks area? For instance, mine is: /%category%/%postname%/ I had a major problem when I put the wrong variable in here, once.
My permalinks is just: /%postname%/ I didn't bother with category and I didn't have a problem until I edited my .htaccess with the url cannonization changes.
the first thing that comes to mind is "RewriteEngine on" - isn't that a server admin feature? I don't know if that is turned on or off by default.
Well, I think that is so that my url will go to www all the time. I tried removing the RewriteEngine on in the second portion of the .htaccess file, but I saw no change.