• Does anyone know how to use mod_rewrite to make the paged links (next / previous) look good? They are still trashed right now, but all of the others look good.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Anonymous

    since no one is responding, i guess thats a NO.

    Hmm… what the hell with this forum ? I’m pretty sure I pressed the “Post Message” button in this thread before going to bed ??
    So, my answer was : I gave it a quick try and something like this is a good start :

    RewriteEngine On
    RewriteBase /wp_root
    RewriteRule ^page/([0-9]+)$ /wp_root/index.php?paged=$1 [QSA]

    It will work fine for “wp_root/page/2” instead of “wp_root/index.php?paged=2”
    But there can be more complicated queries, like “index.php?category_name=linux&paged=2” so this RewriteRule is not complete.

    Basically, if I find a list of all possible query cases, I could write a rewriterule that deals with every case.

    You did… double thread.

    ah. I knew I was tired ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘next / previous links’ is closed to new replies.