Ajuda com links
-
Olá, tenho um blog, no caso http://barbacena.info mas não estou conseguindo arrumar os links, quero usar somente /%postname%/ segue meu htaccess, obrigado desde já.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]AddDefaultCharset UTF-8
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.htmlRewriteEngine On
RewriteCond %{HTTP_HOST} !^barbacena.info$ [NC]
RewriteRule ^(.*)$ http://barbacena.info/$1 [L,R=301]# Protegendo o wpconfig.php
order allow,deny
deny from all# Comprimindo arquivos
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
DeflateCompressionLevel 9# Protegendo contra spam
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*barbacena.info.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
- O tópico ‘Ajuda com links’ está fechado para novas respostas.