Wordpress in htacess

Na stran bi naložil WP. Na "glavnastran.com" je .htacess:

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTPHOST} ^glavnastran.com [NC]
RewriteRule (.*) http://www.glavnastran.com/$1 [R=301,L]
RewriteCond %{SCRIPT
FILENAME}/ -d
RewriteCond %{SCRIPTFILENAME}.php !-f
RewriteRule [^/]$ %{REQUEST
URI}/ [R=301,L]
RewriteCond %{ENV:REDIRECTSTATUS} ^$
RewriteRule ^(.+).php$ /$1 [R=301,L]
RewriteCond %{SCRIPT
FILENAME}.php -f
RewriteRule [^/]$ %{REQUESTURI}.php [QSA,L]
RewriteCond %{SCRIPT
FILENAME}/ -d
RewriteCond %{SCRIPTFILENAME}.html !-f
RewriteRule [^/]$ %{REQUEST
URI}/ [R=301,L]
RewriteCond %{ENV:REDIRECTSTATUS} ^$
RewriteRule ^(.+).html$ /$1 [R=301,L]
RewriteCond %{SCRIPT
FILENAME}.html -f
RewriteRule [^/]$ %{REQUEST_URI}.html [QSA,L]

Blog imam na glavnastran/blog vendar ko hočem dostopati do njega dobim error "Stran se ne preusmerja pravilno". Ko pa .htaccess preimenujem/odstranim deluje brez problema.

Kako naj naj nastavim.htaccess da bo WP delal normalno?

2 odgovora

WP avtomatsko zgenerira svoj htaccess ko shranis nastavitve v permalinkih. V tvojem htaccessu pa drugace vidim stvari ki jih zna postimat CMS sam, npr noww>www

Na žalost se nič ne razumem na sistemske stvari/nastavitve. Vem samo da mi ne dela :(