Title: Default index.php
Last modified: August 18, 2016

---

# Default index.php

 *  [moieu](https://wordpress.org/support/users/moieu/)
 * (@moieu)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/)
 * Hello,
 * My blog needs the follwoing thing:
    if you want to view a blog on the address:
   [http://www.en4us.com/blog/?page_id=2](http://www.en4us.com/blog/?page_id=2) 
   you will get an error page until you enter (index.php) after the slash and before
   the question mark. How can I make the blog build such address by default?
 * Thanks

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

 *  [chaaban](https://wordpress.org/support/users/chaaban/)
 * (@chaaban)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/#post-434062)
 * salam moieu
 * u can try 2 add it in your blog option by making the url
 * [http://www.en4us.com/blog/index.php](http://www.en4us.com/blog/index.php)
 * it might work
 *  Thread Starter [moieu](https://wordpress.org/support/users/moieu/)
 * (@moieu)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/#post-434063)
 * I recieved the following error:
    Warning: main(./wp-blog-header.php): failed 
   to open stream: No such file or directory in D:\hshome\en4us\en4us.com\blog\index.
   php on line 4
 * Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory
   in D:\hshome\en4us\en4us.com\blog\index.php on line 4
 * Fatal error: main(): Failed opening required ‘./wp-blog-header.php’ (include_path
   =’.;c:\php4\pear’) in D:\hshome\en4us\en4us.com\blog\index.php on line 4
 * * I noticed the wrong thing:
    it added a slash after index.php/ and it supposed
   to add index.php only!
 *  [chaaban](https://wordpress.org/support/users/chaaban/)
 * (@chaaban)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/#post-434065)
 * so it’s working now ?
 * (and your first error is weird , because i never had to add the index.php)
 * try also to activate the Permalink (under option also)
 * and update your htaccess
 *  Thread Starter [moieu](https://wordpress.org/support/users/moieu/)
 * (@moieu)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/#post-434075)
 * As I said, there is an error. Thanks for the help anyway but I am still having
   problems with my .htaccess. And I believe it is the only remaining problem to
   fix.
 * Is there a solution other than htaccess?
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/#post-434091)
 * [http://codex.wordpress.org/Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
 *  Thread Starter [moieu](https://wordpress.org/support/users/moieu/)
 * (@moieu)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/#post-434109)
 * Dear Yosemite,
 * That link does not help me as I don’t know programming and changing my permalink
   did not fix the matter. Hope someone will post step-by-step guide. Also, I prefere
   changing settings through the blog’s files and not the CP.
 * So, either htaccess or permalink! I will boost fixing my .htaccess.
 * Thanks all.

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

The topic ‘Default index.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [moieu](https://wordpress.org/support/users/moieu/)
 * Last activity: [19 years, 9 months ago](https://wordpress.org/support/topic/default-indexphp/#post-434109)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
