Title: wordpress welcome page issues
Last modified: August 18, 2016

---

# wordpress welcome page issues

 *  Resolved [nadodi](https://wordpress.org/support/users/nadodi/)
 * (@nadodi)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/)
 * I am migrating a wordpress site from GoDaddy to DreamHost. The welcome.php page
   that seemed to work fine in GD is having issues in DH.
 * WordPress application works fine. All links and functionality (posting, search,
   etc) working. You can access it here: [http://www.appropriateit.org/index.php](http://www.appropriateit.org/index.php)
 * There is a page outside of the WordPress themes setup to act as the splash home
   page: [http://www.appropriateit.org/welcome.php](http://www.appropriateit.org/welcome.php)
 * This page is the troublemaker – it either draws a blank or displays an error.
   I narrowed the issue to the require(‘./wp-blog-header.php’); in the welcome.php
   file. Here are some of the things that has been tried:
 * 1. Setting it to require(‘wp-blog-header.php’); results in a blank page.
    2. 
   Setting it to require(‘../wp-blog-header.php’); results in an error that you 
   can see now. Have tried different path permutations from ./, ../../, /home/appropriateit/
   appropriateit.org/, etc. None works. 3. Tried moving welcome.php to different
   directories – wp-content, themes, themes/site theme. Nothing helped.
 * Now I am stuck. Please help. Any suggestions or pointers would be much, much 
   appreciated.
 * TIA,
    nadodi

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600133)
 * Before solving that mystery, let’s see WHY this URL doesn’t work: [http://www.appropriateit.org/](http://www.appropriateit.org/)(
   without adding the index.php – as it should!)
 *  Thread Starter [nadodi](https://wordpress.org/support/users/nadodi/)
 * (@nadodi)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600134)
 * Moshu, thanks for your response. The URL looks for welcome.php first. This is
   set to be called prior to index.php via htaccess.
 * Does that help?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600135)
 * It seems to me as a huge over-complication.
    Why don’t you visit the Options 
   > Reading subpanel in your admin panel to set up a painless solution (no htaccess
   etc.)?
 *  Thread Starter [nadodi](https://wordpress.org/support/users/nadodi/)
 * (@nadodi)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600141)
 * The home page is a completely different look and feel from the site. The reading
   panel does not pull in pages outside of WP to be set as static home page. This
   is the reason why we had to go the htaccess route.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600142)
 * OK, I don’t know anything about .htaccess.
    However, my common sense would dictate
   this: – first make sure that the welcome.php file works by itself, i.e. can be
   accessed when typing the URL in the address bar (now it has the wrong path to
   the blogheader) – when it works, then try the htaccess magic (till then do NOT
   mess around with it; remove it)
 * On the other hand – if it hasa different look an dffel, why do you need the WP
   wp-blog-header file?
 *  Thread Starter [nadodi](https://wordpress.org/support/users/nadodi/)
 * (@nadodi)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600144)
 * Hi Moshu,
 * Thanks for persisting in the hunt for the issue.
 * I used [WP codex instructions to create the static front page ](http://codex.wordpress.org/Creating_a_Static_Front_Page)
   for WP and to display it using htaccess. It worked fine until the move last night
   to DreamHost.
 * The home page is a mix of static and dynamic content. We needed the wp-blog-header
   to pull dynamic content – WP Posts.
 * Hope that sheds more light.
 *  Thread Starter [nadodi](https://wordpress.org/support/users/nadodi/)
 * (@nadodi)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600187)
 * Hello All,
 * This issue has been resolved. In case you are interested in knowing how:
 * There seems to be an issue with how virtual directories are setup. After struggling
   for entirely too long to try to fix it, we decided to pull the home page into
   WordPress. Here is how we did it:
 * **Splash Home Page**
    1. Create a new blank page (page 1) in WordPress. Set this
   to be the front page in WP Admin > Options > Reading. 2. Move welcome.php from
   root to theme folder 3. Use an if statement in page.php to pull or include welcome.
   php whenever page 1 is called.
 * **Result** – splash page is inside WP and works fine ([see home page](http://www.appropriateit.org/)).
   This gives us a blank page to create the splash page from, thus providing complete
   independence in layout, structure, etc. Would love to hear thoughts on whether
   this method has any performance implications.
 * **Blog Post Listing Page**
    WordPress now thinks that the splash page is the 
   index page. But the site also needs to get it to serve the usual list of blog
   posts in a page, a task done by the index.php page earlier. Here is how that 
   was done:
 * 1. Create another blank page (page 2) in WordPress. Set this to be posts page
   in WP Admin > Options > Reading.
    2. Copy code from index.php in the theme folder
   to create a new php file called file1.php. 3. Use an if statement in page.php
   to pull or include file1.php whenever page 2 is called.
 * **Result** – new page lists all the posts as index.php did earlier ([see blog page](http://www.appropriateit.org/blog-posts)).
   We are within the theme’s header, sidebar, footer, etc., for other components
   of the page.
 * Not sure if this method is optimal to get to a completely blank slate for the
   home page. But it is doing what we want the site to do. So, we are happy to let
   it be. 🙂
 * If you have a question or need more details on any of the above, please leave
   a note here.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘wordpress welcome page issues’ is closed to new replies.

## Tags

 * [wp-blog-header.php](https://wordpress.org/support/topic-tag/wp-blog-header-php/)

 * 7 replies
 * 2 participants
 * Last reply from: [nadodi](https://wordpress.org/support/users/nadodi/)
 * Last activity: [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-welcome-page-issues/#post-600187)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
