Title: Permalink Problem
Last modified: August 19, 2016

---

# Permalink Problem

 *  [scooby](https://wordpress.org/support/users/scooby/)
 * (@scooby)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-7/)
 * I recently upgraded from WP2.3 to WP2.5.. Everything is working correctly except
   for my blog’s homepage.. I have installed WP in its own directory named blog.
   The file acting as my homepage is blog.php placed in the root directory.
 * WordPress address (URL)
    `http://www.website.com/blog`
 * Blog address (URL):
    `http://www.website.com`
 * The blogs homepage is actually here:
    `http://www.website.com/blog.php`
 * So I now have a default permalink like so:
    `http://www.website.com/?p=123`
 * Everything is fine except for all the links need the “blog” directory placed 
   in it.. So I figured just change the permalink structure to add that in.. So 
   now I have a permalink structure like so:
 * `http://www.website.com/blog/?p=123`
 * This works great for all the links.. Now they are all correct paths, but when
   changing the permalink structure like that the blog’s homepage (blog.php) does
   not find any posts anymore..
 * Is there a fix for this?? This worked great on WP2.3…

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

 *  [teli](https://wordpress.org/support/users/teli/)
 * (@teli)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-7/#post-724878)
 * Out of curiosity, Scooby, why not simply have your entire blog installed in /
   blog/ since it’s in your blog’s URL anyway. You could create either a file called
   home.php (placed in your theme’s folder) or assign a static front page from the
   Options -> Reading panel. Then you wouldn’t need to finagle with any custom file
   names/permalinks during upgrades.
 * ~ Teli
 *  Thread Starter [scooby](https://wordpress.org/support/users/scooby/)
 * (@scooby)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-7/#post-724884)
 * Because I’m trying to use the functions if_user_logged_in to protect certain 
   areas of the rest of my site.. If my blog’s homepage is inside the blog directory
   any pages on the root directory will not be able to use those functions..
 * At least that’s the way I see it now.. Perhaps there is a way to do this, but
   I’m just not seeing it quite yet?? Maybe I have to install the whole blog in 
   the root directory?? I was just trying to avoid that though so it wouldn’t get
   so cluttered up.. I’m open to suggestions..

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

The topic ‘Permalink Problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [scooby](https://wordpress.org/support/users/scooby/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/permalink-problem-7/#post-724884)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
