joined:Dec 4, 2009
Hello all, I haven't done a lot with HTACCESS so I'm asking for help.
I have a site that has been at www.site.com for a while that I am replacing with Wordpress. To avoid potential hassles with moving WP later on, I moved the site to a www.com/oldsite and installed WP in the root directory.
The WP site isn't ready yet so for now I want visitors to get an info page with a link to the old site.
In the root dir I also added .htaccess and comingsoon.php
This is the only line in .htaccess:
comingsoon.php has some text and link to the site at www.site.com/oldsite.
That works fine.
However now if I try to go to www.site.com/index.php (which should be the Wordpress home page) it takes me to comingsoon.php
Basically what I'm wanting is this:
www.site.com -> www.site.com/comingsoon.php
www.site.com/anypage.php -> stays at that page (if the page exists)
www.site.com/pagedoesntexist.php -> goes to www.site.com/oldsite/error.php
Any help is appreciated!