Witam
Mam dla domeny http://example.com htaccessa i dla http://example.com/blog jest drugi htaccess.
Niestety ten drugi nie działa, jak to pogodzić ?
Pzdr
[b]RewriteEngine On Options +FollowSymlinks RewriteBase / AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .html AddType application/x-httpd-php .htm AddHandler x-httpd-php .html AddHandler x-httpd-php .htm RewriteCond %{HTTP_HOST} ^strona.pl$ RewriteRule ^(.*)$ [url="http://www.strona.pl/$1"]http://www.strona.pl/$1[/url] [R=301,L] ErrorDocument 404 /index.html[/b]
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPress