• 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)
    https://www.website.com/blog

    Blog address (URL):
    https://www.website.com

    The blogs homepage is actually here:
    https://www.website.com/blog.php

    So I now have a default permalink like so:
    https://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:

    https://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)
  • 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

    (@scooby)

    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.