Support » Fixing WordPress » htaccess experts for review

  • Hello htaccess expert!

    I need your advice and review on my htaccess please…

    My htaccess looks like this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond  %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}/$1 [R=301,L]
    
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ wp/$1 [L]
    RewriteRule . index.php [L]
    </IfModule>
    

    1) I don’t know if everything is ok with this
    2) I do have a network that uses three sites each having it’s own domain
    3) I have the following issue, when entering for example
    domainname.com/credits
    it is redirected to
    http://www.domainname.com
    so I’m missing the /credits

    Now, I do not know if this is why my htaccess might be wrong, or this is because I’m using the wrong settings at my “Domain Mapping Configuration” or anything else I did to ensure it gets a https connection!?

    Any help please?

    Many thanks in advance…

    Cheers
    Yogie

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘htaccess experts for review’ is closed to new replies.