Mobile Browser Looks for index.html (2 posts)

  1. Wanderer
    Posted 3 years ago #

    This is really weird, my WordPress site works perfectly on the desktop but on an iPad or iPhone it looks for index.html instead of index.php and of course comes up with a 404 error.

    I've tried adding "DirectoryIndex index.php" to my .htaccess file but no luck.

    I've even tried making an index.html file to redirect to index.php but that just goes into a loop!

  2. AuntWeb
    Posted 3 years ago #

    add this to your htaccess:

    redirect 301 /index.html http://yourdomain.com/index.php

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.