priority to index.html for index.php in .htaccess -


i trying set priority of index.php index.html (but landing page) in .htaccess file works fine

but ?page_id=16 display same index.html page don't want

rewriteengine on rewritebase /  rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d  directoryindex index.html index.php  rewriterule . /index.php [l] 

note: using wordpress.

try code :

rewriteengine on rewriterule ^$ /index.html [l,r=301] 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -