I had been struggling with the the next/previous links on my WordPress blog now for several months. Nothing excites me about mod_rewrite and permalinks in general. I know both are very powerful, but with power comes frustration.
My problem: All my permalinks were working correctly except for the next page/previous page links. WordPress was trying to use the URL: http://www.jappler.com/blog/page/1/ which was not working.
My setup: I am using WordPress as a CMS so my site is all in WordPress. My WordPress and blog address are the same: http://www.jappler.com (anything else produced an internal server error). I am using a custom permalink structure: /blog/archive/%year%/%monthnum%/%day%/%postname%.php All blog posts go into the “general” category by default.
My solution: I finally did some research and figured out two things:
- I do not need to use the Static Front Page Plugin
- The answer to this issue is not only easy, it is documented.
So, to fix the setup, do not worry about the Blog URI and WordPress URI, they both should be the same (assuming your WP files are in the root of your web site folder).
Using a WordPress page as the home page:
Create a page with a “page slug” of “home” for the page you want to be your home page. Also create a home.php template file and have the following code before the WordPress loop: and choose the “Home” template for the “Home” page.. This will take care of using a WordPress page as the home page.
To take care of the blog at /blog/:
Create a page with a “page slug” of “blog”. Create a new template called blog.php and in it, use the following code:
and choose the “Blog” template for the “Blog” page.
[tags]WordPress, mod_rewrite, permalinks, jappler.com[/tags]

[...] Although Halloween is not my favorite holiday, I do enjoy when companies throw in a little Halloween flare. I decided to play a little Yahoo! pool today and I quickly noticed that Yahoo! added a little pumpkin near the ball I was aiming for. Nice touch! On another note, check out the WordPress post a few days ago, as I recently updated it with the permanent fix! tags: Yahoo!, Halloween [...]