Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter newhope4u

    (@newhope4u)

    is there anyone who can help on this?

    This worked for me:

    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{THE_REQUEST} ^[^/]*/index\.php [NC]
    RewriteRule . / [R=301,L]
    </IfModule>
    

    Put this before the WordPress rules in .htaccess

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘redirect from index.php to domain.com/’ is closed to new replies.