.htaccess block blog access?!
-
I put this in my
.htaccess
file:
RewriteEngine On
RewriteBase /blog/
RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z-]+)?/?([0-9]+)?/?$ /blog/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
RewriteRule ^archives/category/?(.*) /blog/index.php?category_name=$1 [QSA]
(I want to use/archives/%year%/%monthnum%/%day%/%postname%/
as permalink structure.)
When I set this htaccess file, I can’t access my blog anymore!!! Should there be any other lines in this file before these tags?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘.htaccess block blog access?!’ is closed to new replies.