• My blog is running fine on mydomain.com/blog where mydomain.com is my main site that has nothing to do with my WP blog within the /blog folder.

    So, the problem comes when I change the default permalinks to any other and when I refresh WP it lists the file tree as if there is no index.php (see the picture: https://i.imgur.com/BUkbPv4.png)

    I can see that WP changes .htaccess to:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    
    # END WordPress

    Searched the whole day yesterday and didn’t find what the problem could be.

    Any suggestions?

Viewing 1 replies (of 1 total)
  • Thread Starter todorpr

    (@todorpr)

    Actually it turned out only home page gives the file tree, single blog posts render properly with correct permalinks.

    So how to make when access mydomain.com/blog WP to see index.php?

Viewing 1 replies (of 1 total)
  • The topic ‘After changing default permalinks – site lists file tree’ is closed to new replies.