• So I have a few sites up with WordPress blogs. I changed the permalink structure on all of them and for the ones that are on the root of the site there was an .htaccess file already there which i edited and now those sites are in proper working order.

    For the other sites which the wordpress files are on a /blog directory there is no .htaccess file to be found. I tried adding one to both the root directory and the blog directory and nothing seems to be working. How do I fix this. (the problem is when you go to a specific article like mysite.com/uncat/myarticle you get an error.)

    thanks,

    Greg

Viewing 1 replies (of 1 total)
  • Hi,

    First set your desired permalinks for your blog and then add this code in htaccess:

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    After that have a check with old and new posts.

    Thanks,

    Shane G.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalink Trouble with mysite.com/blog blogs’ is closed to new replies.