On the site http://www.knoxvillepet.com all the links like Archive>April 2010 have link that are formed like http://www.knoxvillepet.com2010/04. Please note the absence of the forward slash after ".com"
I have never seen this before. Any ideas?
On the site http://www.knoxvillepet.com all the links like Archive>April 2010 have link that are formed like http://www.knoxvillepet.com2010/04. Please note the absence of the forward slash after ".com"
I have never seen this before. Any ideas?
Check your .htaccess file. The slash should be in there. It should look like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Also check your permalink structure to make sure the slash is there. If you are using a Custom Structure it should begin and end with a slash. For example:
/%year%/%category%/%postname%/
This is my htaccess file...
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Everything looks fine there I think.
I had to change my permalinks to custom and to /%postname%/ . They are working now.
Thanks
The .htaccess file looks fine. It must have been the Permalink setup.
BTW, /%postname%/ is not really the greatest choice for Permalink structure. There is documentation that explains why. YMMV.
This topic has been closed to new replies.