I recently started working with a client that had an index.html file with this in the head:
<meta http-equiv="refresh" content="1; url=http://example.com/">
I deleted this file and added my own index.php file, but mine is being completely ignored because the html page with the redirect seems to be cached by the browser. I know how to get rid of this for me, but is there a way to force the redirect to not occur? This will be in many users cache, just like it was for mine.
For the record, I don't setup my redirects this way, because of this exact issue. I am dealing with someone else's code from a long time ago.
So, am I out of luck until user's caches are cleared or expire? Or is there anything I can do, perhaps with .htaccess, to fix this problem?
WordPress will ultimately be used on this project.
Use .htaccess to redirect to another page that defines no cache for the site, then redirect back to the original index file that was cached.