/
.htaccess
30 lines (29 loc) · 1.48 KB
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Displaying PHP errors
#php_flag display_errors on
#php_value error_reporting 6143
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(arib|acrf|nvi|sbb|ara|ni)$ index.php?versao=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(arib|acrf|nvi|sbb|ara|ni)/(at|nt)$ testamento.php?versao=$1&testamento=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(arib|acrf|nvi|sbb|ara|ni)/(at|nt)/([0-9]+)$ livro.php?versao=$1&testamento=$2&livro=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(arib|acrf|nvi|sbb|ara|ni)/(at|nt)/([0-9]+)/([0-9]+)$ capitulo.php?versao=$1&testamento=$2&livro=$3&capitulo=$4&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(arib|acrf|nvi|sbb|ara|ni)/(at|nt)/([0-9]+)/([0-9]+)/([0-9]+)$ versiculo.php?versao=$1&testamento=$2&livro=$3&capitulo=$4&versiculo=$5&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(arib|acrf|nvi|sbb|ara|ni)/(at|nt)/([0-9]+)/([0-9]+)/([0-9]+)/versiculo.jpg$ versiculo-image.php?versao=$1&testamento=$2&livro=$3&capitulo=$4&versiculo=$5&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^meus/(favoritos|gostei|desgostei)$ favorito.php?tipo=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^comentario$ comentarios.php?%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^comentario/([0-9]+)$ comentario.php?id=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^sitemap.xml$ sitemap.php?%1
#RewriteCond %{QUERY_STRING} ^(.*)$
#RewriteRule ^sitemap.xml.gz$ sitemap-gz.php?%1
</IfModule>