• Resolved gebar

    (@gebar)


    In a multisite install, htaccess remains the same when I set permalinks to default and when I set them to postname.

    However the site links do change and work correctly, except for the search results url, that gets no permalink even if permalinks are set to postname. (I have opened a separate thread for this.)

    My htaccess permissions are 656 (shared hosting, Godaddy, never changed them after the install).

    The site htaccess:

    # BEGIN WordPress
    # <IfModule mod_rewrite.c>
    # RewriteEngine On
    # RewriteBase /
    # RewriteRule ^index\.php$ - [L]
    # RewriteCond %{REQUEST_FILENAME} !-f
    # RewriteCond %{REQUEST_FILENAME} !-d
    # RewriteRule . /index.php [L]
    # </IfModule>
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    # END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    In a multisite install, htaccess remains the same when I set permalinks to default and when I set them to postname.

    Yes, the htaccess is always the same 🙂 That’s okay

    My htaccess permissions are 656 (shared hosting, Godaddy, never changed them after the install).

    That’s probably the problem, GoDaddy shared hosting. Ask them if you’re permitted to run Multisite on that server.

    Thread Starter gebar

    (@gebar)

    Thanks for clearing that up.

    The Multisite runs OK as far as I can see.

    I just wanted to make sure that the unchanged htaccess is normal.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘htaccess the same with and without permalinks’ is closed to new replies.