WordPress.org

Ready to get started?Download WordPress

Forums

Mobile Browser Looks for index.html (2 posts)

  1. Wanderer
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

Tags

No tags yet.