WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I put up a quick splash page with index.php and added a link in that splash page to index2.php and when I go to index2.php, I get a "page not found" error. Getting rid of the splash is not an option right now. Is there anything I can do to get this to work?

share|improve this question
up vote 1 down vote accepted

Try to just use a index.html file and use

<META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://example.com/wp-content/themes/your_theme/index.php">

in your <head> section.

Let's see if the easy stuff works.

edit: to be on the save side, always display a link to the index.php file with some descriptive text like "if your browser doesn't redirect you automatically, please click here"

share|improve this answer
Sorry, just to clarify: So I should try changing index.php (which is the splash page now) to index.html with the addition of the head content? Or do you mean change index2.php to index.html? – jwp Mar 4 '11 at 20:15
Also, to clarify further, it looks like index2.php is showing everything but the main section. That is the header, sidebar, and footer. But no 'main' section. I don't know if that helps. – jwp Mar 4 '11 at 20:19
Afaik the index.html get's catched first, so yes, your index.php. The index2.php would get renamed to index.php and serve it's normal purpose as your theme's index file. Give it a try. I'm not exactly sure if it will work. – kaiser Mar 4 '11 at 20:20
Oh, and no, i don't know what the "main" section is... – kaiser Mar 4 '11 at 20:22
Thanks a lot, kaiser. It works. – jwp Mar 4 '11 at 20:30

I suggest you to create a custom page and name it home.php to load it first and link it where you want.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.