Support » Fixing WordPress » Blog’s main page in – not

  • Hello everyone,

    I’m new to WordPress, I only started one for my own needs.

    My website – – has URIs without trailing slash.

    WP files are placed in ‘wp’ dir and there are rewrites (in htaccess) so the blog is seen on

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^blog$ wp/index.php [L]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^blog/(.+)$ wp/index.php [L]

    There is just a problem with the blog’s main page. mod_rewrite redirects ‘blog/’ to ‘blog’ as all other URIs in the whole site which are not dirs.

    RewriteCond %{REQUEST_URI} (.*)/$
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.+)/$ /$1 [R=301,QSA,L]

    But then again php of WP redirects it ‘blog’ back to ‘blog/’ and too many redirects error appears.
    All other blog pages work corretly, i.e.

    Can you help me how to tell WP: “Your main page is in ‘’. don’t redirect it to ‘'”?
    I would like it to be without the slash in the end like all other pages in the site.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have found a temporatory way for this, which is:


    However, for seo reasons, it is not good to have the redirection to canonical addresses off, so if someone has an idea how to solve the blog’s main page issue URI, please help me.

    Scott Chandler


    Bumping, I would also like to know this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog’s main page in – not’ is closed to new replies.