Boa tarde,
Alguém sabe porque este htacess posicionado na raiz do site me impede de acessar o wordpress instalado no subdiretório /wordpress?
Options -Indexes
Options +FollowSymLinks
# Definindo o idioma
DefaultLanguage pt-BR
# Remove assinatura do servidor
ServerSignature Off
# É preciso informar os proxies alterações de conteúdo baseado em UA
<IfModule mod_headers.c>
Header append Vary User-Agent
</IfModule>
# Permite o acesso de todos os domínios para as web fontes.
<FilesMatch ".(ttf|otf|eot|woff|svg|font.css)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
# Forçando a codificação
AddDefaultCharset utf-8
AddCharset utf-8 .html .css .js .xml .json .rss
# Servindo SVG do jeito certo. Necessário para webfonts SVG no iPad
# twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
# webfonts
AddType application/vnd.ms-fontobject eot
AddType font/truetype ttf
AddType font/opentype otf
AddType font/woff woff
# Compressão gzip
<IfModule mod_deflate.c>
# html, txt, css, js, json, xml, htc:
AddOutputFilterByType DEFLATE text/html text/plain text/css application/json
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript
AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
# webfonts e svg:
<FilesMatch ".(ttf|otf|eot|svg)$" >
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
<Limit GET POST HEAD>
allow from 189.126.108.2
allow from 201.76.40.2
allow from 187.45.246.2
</Limit>
<Limit PUT DELETE>
deny from all
</Limit>
DirectoryIndex routes.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(GET|POST)
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ routes.php?url=$1 [QSA,L]
</IfModule>
ErrorDocument 404 /404page.php
Obrigada!