Support » How-To and Troubleshooting » Blog page problems

Blog page problems

  • Blog page problems

    In 1.5.2 I had hacked in a static front page and moved my main blog page to /blog/ (though the archives were still at /archives/). After upgrading everything’s working except for my redirect to take people to the blog page when they hit /blog/. Here’s a bit of my .htaccess file:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^bradsucks\.net
    RewriteRule ^(.*)$ http://www.bradsucks.net/$1 [R=301,L]
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ – [S=90]
    RewriteRule ^(blog)/?$ /index.php?place=blog [QSA,L]

    Going to http://www.bradsucks.net/blog/ gets me a wordpress 404 error (loads 404.php in the theme.) Going to http://www.bradsucks.net/index.php?place=blog shows me the page I want.

    If I change the [QSA,L] to [R=301,L], it works but then has an ugly URL when it forwards. I’m not fantastic with mod rewrite, but this is confusing me. Thanks for any help you can offer.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blog page problems’ is closed to new replies.