Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure how these will work with any existing rules, but by themselves they should work
    https://www.xyz.com/index.php?paged=2https://www.xyz.com/page/2/
    Needs
    RewriteRule ^page/([0-9]+)/$ /index.php?paged=$1 [QSA]
    and…
    https://www.xyz.com/index.php?category_name=general/&paged=2https://www.xyz.com/general/page/2
    needs
    RewriteRule ^([a-zA-Z]+/)page/([0-9]+)$ /index.php?category_name=$1&paged=$2 [QSA]
    Like I said, I have no idea whether those will conflict with existing WP links… you may find you need to change the “page” in the first part of the rule (and in the urls) to something else. Anyway, hope that helps.

    I’m really keen on smarty. I’m a reasonably experienced php programmer, but smarty has a number of (really good) benefits:

    • Multiple templates easy – just put the directory in your templates/ dir, and change a select box in the admin section. Good for a change, or as mentioned above, for multiple users.
    • Separation of presentation from content from code. Smarty is purely presentation, and lets you just worry about the design, without even having to worry about what the code is doing.

    In addition, there isn’t that much extra overhead, and it takes about 5 minutes to learn. This is the one feature that may keep me on bBlog – it’s a tough decision.

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