WP htaccess Control - Version 1.8

Version Description

Download this release

Release Info

Developer andrad
Plugin Icon wp plugin WP htaccess Control
Version 1.8
Comparing to
See all releases

Code changes from version 1.7 to 1.8

lang/wp-htaccess-control-pt_BR.mo CHANGED
Binary file
lang/wp-htaccess-control-pt_BR.po CHANGED
@@ -1,14 +1,14 @@
1
- # Translation of the WordPress plugin WP htaccess Control 1.6.1 by António Andrade.
2
  # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: WP htaccess Control 1.6.1\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
- "POT-Creation-Date: 2010-09-01 04:57+0000\n"
11
- "PO-Revision-Date: 2010-09-01 06:01-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
@@ -19,238 +19,282 @@ msgstr ""
19
  msgid "Please log in as admin"
20
  msgstr "Por favor ligue-se como administrador"
21
 
22
- #: wp-htaccess-control-ui.php:25
23
  msgid "Custom Author Permalink"
24
  msgstr "Personalização de Permalink para Autores "
25
 
26
- #: wp-htaccess-control-ui.php:29
27
  msgid "Author Base"
28
  msgstr "Base de Permalink para Autores"
29
 
30
- #: wp-htaccess-control-ui.php:32
31
- #: wp-htaccess-control-ui.php:64
32
  msgid "(your-base)"
33
  msgstr "(a-sua-base)"
34
 
35
- #: wp-htaccess-control-ui.php:35
36
- #: wp-htaccess-control-ui.php:67
37
  msgid "Permalink settings must be set and not Default (/?p=123)."
38
  msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
39
 
40
- #: wp-htaccess-control-ui.php:36
41
  msgid "If set, the author base will be used as shown next to the form field."
42
  msgstr "Se preenchida, esta base de autor será usada como demonstrado."
43
 
44
- #: wp-htaccess-control-ui.php:37
45
  msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
46
  msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
47
 
48
- #: wp-htaccess-control-ui.php:44
49
  msgid "Apply Custom Author Permalink on Generated Sitemap"
50
  msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
51
 
52
- #: wp-htaccess-control-ui.php:47
53
  msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
54
  msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
55
 
56
- #: wp-htaccess-control-ui.php:48
57
  msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
58
  msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
59
 
60
- #: wp-htaccess-control-ui.php:57
61
  msgid "Custom Pagination Permalink"
62
  msgstr "Personalização do Permalink para Paginação"
63
 
64
- #: wp-htaccess-control-ui.php:61
65
  msgid "Page Base"
66
  msgstr "Base de Permalink de Paginação"
67
 
68
- #: wp-htaccess-control-ui.php:68
69
  msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
70
  msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
71
 
72
- #: wp-htaccess-control-ui.php:69
73
  msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
74
  msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
75
 
76
- #: wp-htaccess-control-ui.php:77
77
  msgid "Custom htaccess"
78
  msgstr "htaccess Personalizado"
79
 
80
- #: wp-htaccess-control-ui.php:85
81
  msgid "This rules will be printed before any Wordpress rules."
82
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
83
 
84
- #: wp-htaccess-control-ui.php:86
85
- #: wp-htaccess-control-ui.php:106
86
- msgid "Please double check them before saving as a mistake could make your site unaccessable."
87
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
88
 
89
- #: wp-htaccess-control-ui.php:94
90
- msgid "Wordpress htaccess"
91
- msgstr "htaccess do Wordpress"
92
 
93
- #: wp-htaccess-control-ui.php:100
94
  msgid "Leave empty for default."
95
  msgstr "Deixe em branco para manter as regras por defeito."
96
 
97
- #: wp-htaccess-control-ui.php:102
98
  msgid "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\")"
99
  msgstr "<strong>Utilizar <a href='http://www.webmasterworld.com/apache/4053973.htm'>o htaccess para wordpress de Jim Morgan</a></strong> (pode \"acelerar o mod_rewrite do wordpress por mais de duas vezes\")"
100
 
101
- #: wp-htaccess-control-ui.php:105
102
  msgid "This rules will be printed instead of Wordpress rules."
103
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
104
 
105
- #: wp-htaccess-control-ui.php:107
106
  msgid "Original rules:"
107
  msgstr "Regras originais:"
108
 
109
- #: wp-htaccess-control-ui.php:118
110
  msgid "htaccess Suggestions"
111
  msgstr "Sugestões de htaccess"
112
 
113
- #: wp-htaccess-control-ui.php:122
114
  msgid "ServerSignature"
115
  msgstr "ServerSignature"
116
 
117
- #: wp-htaccess-control-ui.php:126
118
  msgid "Disable the ServerSignature on server generated error pages."
119
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
120
 
121
- #: wp-htaccess-control-ui.php:129
122
  msgid "Indexes"
123
  msgstr "Índices"
124
 
125
- #: wp-htaccess-control-ui.php:133
126
  msgid "Disable directory browsing."
127
  msgstr "Desactivar a navegação de directórios via browser."
128
 
129
- #: wp-htaccess-control-ui.php:136
130
  msgid "Protect wp-config.php file"
131
  msgstr "Proteger ficheiro wp-config.php"
132
 
133
- #: wp-htaccess-control-ui.php:140
134
  msgid "Deny access to wp-config.php file."
135
  msgstr "Recusar acesso ao ficheiro wp-config.php."
136
 
137
- #: wp-htaccess-control-ui.php:143
138
  msgid "Protect htaccess file"
139
  msgstr "Proteger ficheiro htaccess"
140
 
141
- #: wp-htaccess-control-ui.php:147
142
  msgid "Deny access to .htaccess file."
143
  msgstr "Recusar acesso ao ficheiro htaccess."
144
 
145
- #: wp-htaccess-control-ui.php:150
146
  msgid "mod_gzip"
147
  msgstr "mod_gzip"
148
 
149
- #: wp-htaccess-control-ui.php:154
150
  msgid "Use mod_gzip if available."
151
  msgstr "Utilizar mod_gzip se disponível."
152
 
153
- #: wp-htaccess-control-ui.php:157
154
  msgid "mod_deflate"
155
  msgstr "mod_deflate"
156
 
157
- #: wp-htaccess-control-ui.php:161
158
  msgid "Use mod_deflate if available."
159
  msgstr "Utilizar mod_deflate se disponível."
160
 
161
- #: wp-htaccess-control-ui.php:166
162
  msgid "Limit Upload Size"
163
  msgstr "Limitar Tamanho de Upload"
164
 
165
- #: wp-htaccess-control-ui.php:170
166
  msgid "If set, this value in MB will be used as limit to file uploads."
167
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
168
 
169
- #: wp-htaccess-control-ui.php:173
170
  msgid "Admin Email"
171
  msgstr "Email do Administrador"
172
 
173
- #: wp-htaccess-control-ui.php:177
174
  msgid "If set, this will be used as the admin email on server generated error pages."
175
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
176
 
177
- #: wp-htaccess-control-ui.php:180
178
  msgid "Disable hotlinking"
179
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
180
 
181
- #: wp-htaccess-control-ui.php:184
182
  msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
183
  msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
184
 
185
- #: wp-htaccess-control-ui.php:187
186
  msgid "500 error"
187
  msgstr "Erro 500"
188
 
189
- #: wp-htaccess-control-ui.php:191
190
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
191
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
192
 
193
- #: wp-htaccess-control-ui.php:194
 
 
 
 
 
 
 
 
194
  msgid "Canonical Url"
195
  msgstr "Url Canónica"
196
 
197
- #: wp-htaccess-control-ui.php:198
198
  msgid "Force WWW"
199
  msgstr "Forçar WWW"
200
 
201
- #: wp-htaccess-control-ui.php:199
202
  msgid "Force non-WWW"
203
  msgstr "Forçar sem-WWW"
204
 
205
- #: wp-htaccess-control-ui.php:202
206
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
207
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
208
 
209
- #: wp-htaccess-control-ui.php:209
210
  msgid "Rewrite Pairs"
211
  msgstr "Pares Rewrite"
212
 
213
- #: wp-htaccess-control-ui.php:214
 
 
 
 
214
  msgid "Add rule"
215
  msgstr "Juntar regra"
216
 
217
- #: wp-htaccess-control-ui.php:215
218
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
219
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
220
 
221
- #: wp-htaccess-control-ui.php:223
222
  msgid "Delete Pair"
223
  msgstr "Apagar Par"
224
 
225
- #: wp-htaccess-control-ui.php:231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  msgid "Reset all rules"
227
  msgstr "Reiniciar todas as Regras"
228
 
229
- #: wp-htaccess-control-ui.php:232
230
  msgid "Save all changes"
231
  msgstr "Salvar todas as modificações"
232
 
233
- #: wp-htaccess-control-ui.php:238
234
  msgid "Current htaccess file as it is generated by Wordpress"
235
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
236
 
237
- #: wp-htaccess-control-ui.php:246
238
  msgid "by"
239
  msgstr "por"
240
 
241
- #: wp-htaccess-control.php:284
242
  msgid "All rules reset."
243
  msgstr "Todas as regras foram reiniciadas."
244
 
245
- #: wp-htaccess-control.php:361
246
  msgid "All options updated."
247
  msgstr "As modificações foram salvas."
248
 
249
- #: wp-htaccess-control.php:369
250
  msgid "Wordpress Rewrite pairs reset."
251
  msgstr "Pares de Rewrite do Wordpress reiniciados."
252
 
253
- #: wp-htaccess-control.php:375
254
  msgid "Wordpress Rewrite pair deleted."
255
  msgstr "Par de Rewrite do Wordpress apagado."
256
 
1
+ # Translation of the WordPress plugin WP htaccess Control 1.7 by António Andrade.
2
  # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: WP htaccess Control 1.7\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
+ "POT-Creation-Date: 2010-09-08 23:09+0000\n"
11
+ "PO-Revision-Date: 2010-09-09 00:19-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
19
  msgid "Please log in as admin"
20
  msgstr "Por favor ligue-se como administrador"
21
 
22
+ #: wp-htaccess-control-ui.php:26
23
  msgid "Custom Author Permalink"
24
  msgstr "Personalização de Permalink para Autores "
25
 
26
+ #: wp-htaccess-control-ui.php:30
27
  msgid "Author Base"
28
  msgstr "Base de Permalink para Autores"
29
 
30
+ #: wp-htaccess-control-ui.php:33
31
+ #: wp-htaccess-control-ui.php:66
32
  msgid "(your-base)"
33
  msgstr "(a-sua-base)"
34
 
35
+ #: wp-htaccess-control-ui.php:36
36
+ #: wp-htaccess-control-ui.php:69
37
  msgid "Permalink settings must be set and not Default (/?p=123)."
38
  msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
39
 
40
+ #: wp-htaccess-control-ui.php:37
41
  msgid "If set, the author base will be used as shown next to the form field."
42
  msgstr "Se preenchida, esta base de autor será usada como demonstrado."
43
 
44
+ #: wp-htaccess-control-ui.php:38
45
  msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
46
  msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
47
 
48
+ #: wp-htaccess-control-ui.php:45
49
  msgid "Apply Custom Author Permalink on Generated Sitemap"
50
  msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
51
 
52
+ #: wp-htaccess-control-ui.php:48
53
  msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
54
  msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
55
 
56
+ #: wp-htaccess-control-ui.php:49
57
  msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
58
  msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
59
 
60
+ #: wp-htaccess-control-ui.php:59
61
  msgid "Custom Pagination Permalink"
62
  msgstr "Personalização do Permalink para Paginação"
63
 
64
+ #: wp-htaccess-control-ui.php:63
65
  msgid "Page Base"
66
  msgstr "Base de Permalink de Paginação"
67
 
68
+ #: wp-htaccess-control-ui.php:70
69
  msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
70
  msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
71
 
72
+ #: wp-htaccess-control-ui.php:71
73
  msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
74
  msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
75
 
76
+ #: wp-htaccess-control-ui.php:80
77
  msgid "Custom htaccess"
78
  msgstr "htaccess Personalizado"
79
 
80
+ #: wp-htaccess-control-ui.php:88
81
  msgid "This rules will be printed before any Wordpress rules."
82
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
83
 
84
+ #: wp-htaccess-control-ui.php:89
85
+ #: wp-htaccess-control-ui.php:115
86
+ msgid "Please double check them before saving as a mistake could make your site inaccessible."
87
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
88
 
89
+ #: wp-htaccess-control-ui.php:103
90
+ msgid "Replace Wordpress htaccess"
91
+ msgstr "Substituir htaccess do Wordpress"
92
 
93
+ #: wp-htaccess-control-ui.php:109
94
  msgid "Leave empty for default."
95
  msgstr "Deixe em branco para manter as regras por defeito."
96
 
97
+ #: wp-htaccess-control-ui.php:111
98
  msgid "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\")"
99
  msgstr "<strong>Utilizar <a href='http://www.webmasterworld.com/apache/4053973.htm'>o htaccess para wordpress de Jim Morgan</a></strong> (pode \"acelerar o mod_rewrite do wordpress por mais de duas vezes\")"
100
 
101
+ #: wp-htaccess-control-ui.php:114
102
  msgid "This rules will be printed instead of Wordpress rules."
103
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
104
 
105
+ #: wp-htaccess-control-ui.php:116
106
  msgid "Original rules:"
107
  msgstr "Regras originais:"
108
 
109
+ #: wp-htaccess-control-ui.php:128
110
  msgid "htaccess Suggestions"
111
  msgstr "Sugestões de htaccess"
112
 
113
+ #: wp-htaccess-control-ui.php:132
114
  msgid "ServerSignature"
115
  msgstr "ServerSignature"
116
 
117
+ #: wp-htaccess-control-ui.php:137
118
  msgid "Disable the ServerSignature on server generated error pages."
119
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
120
 
121
+ #: wp-htaccess-control-ui.php:141
122
  msgid "Indexes"
123
  msgstr "Índices"
124
 
125
+ #: wp-htaccess-control-ui.php:146
126
  msgid "Disable directory browsing."
127
  msgstr "Desactivar a navegação de directórios via browser."
128
 
129
+ #: wp-htaccess-control-ui.php:150
130
  msgid "Protect wp-config.php file"
131
  msgstr "Proteger ficheiro wp-config.php"
132
 
133
+ #: wp-htaccess-control-ui.php:154
134
  msgid "Deny access to wp-config.php file."
135
  msgstr "Recusar acesso ao ficheiro wp-config.php."
136
 
137
+ #: wp-htaccess-control-ui.php:158
138
  msgid "Protect htaccess file"
139
  msgstr "Proteger ficheiro htaccess"
140
 
141
+ #: wp-htaccess-control-ui.php:162
142
  msgid "Deny access to .htaccess file."
143
  msgstr "Recusar acesso ao ficheiro htaccess."
144
 
145
+ #: wp-htaccess-control-ui.php:166
146
  msgid "mod_gzip"
147
  msgstr "mod_gzip"
148
 
149
+ #: wp-htaccess-control-ui.php:171
150
  msgid "Use mod_gzip if available."
151
  msgstr "Utilizar mod_gzip se disponível."
152
 
153
+ #: wp-htaccess-control-ui.php:175
154
  msgid "mod_deflate"
155
  msgstr "mod_deflate"
156
 
157
+ #: wp-htaccess-control-ui.php:180
158
  msgid "Use mod_deflate if available."
159
  msgstr "Utilizar mod_deflate se disponível."
160
 
161
+ #: wp-htaccess-control-ui.php:184
162
  msgid "Limit Upload Size"
163
  msgstr "Limitar Tamanho de Upload"
164
 
165
+ #: wp-htaccess-control-ui.php:189
166
  msgid "If set, this value in MB will be used as limit to file uploads."
167
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
168
 
169
+ #: wp-htaccess-control-ui.php:193
170
  msgid "Admin Email"
171
  msgstr "Email do Administrador"
172
 
173
+ #: wp-htaccess-control-ui.php:198
174
  msgid "If set, this will be used as the admin email on server generated error pages."
175
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
176
 
177
+ #: wp-htaccess-control-ui.php:202
178
  msgid "Disable hotlinking"
179
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
180
 
181
+ #: wp-htaccess-control-ui.php:207
182
  msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
183
  msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
184
 
185
+ #: wp-htaccess-control-ui.php:211
186
  msgid "500 error"
187
  msgstr "Erro 500"
188
 
189
+ #: wp-htaccess-control-ui.php:216
190
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
191
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
192
 
193
+ #: wp-htaccess-control-ui.php:220
194
+ msgid "403 error"
195
+ msgstr "Erro 403"
196
+
197
+ #: wp-htaccess-control-ui.php:225
198
+ msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
199
+ msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
200
+
201
+ #: wp-htaccess-control-ui.php:229
202
  msgid "Canonical Url"
203
  msgstr "Url Canónica"
204
 
205
+ #: wp-htaccess-control-ui.php:233
206
  msgid "Force WWW"
207
  msgstr "Forçar WWW"
208
 
209
+ #: wp-htaccess-control-ui.php:234
210
  msgid "Force non-WWW"
211
  msgstr "Forçar sem-WWW"
212
 
213
+ #: wp-htaccess-control-ui.php:238
214
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
215
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
216
 
217
+ #: wp-htaccess-control-ui.php:249
218
  msgid "Rewrite Pairs"
219
  msgstr "Pares Rewrite"
220
 
221
+ #: wp-htaccess-control-ui.php:249
222
+ msgid "You should migrate your rewrite pairs into the \"Custom htaccess\" rules above. The \"Rewrite Pairs\" will be removed in future versions as they lack functionality."
223
+ msgstr ""
224
+
225
+ #: wp-htaccess-control-ui.php:254
226
  msgid "Add rule"
227
  msgstr "Juntar regra"
228
 
229
+ #: wp-htaccess-control-ui.php:255
230
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
231
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
232
 
233
+ #: wp-htaccess-control-ui.php:264
234
  msgid "Delete Pair"
235
  msgstr "Apagar Par"
236
 
237
+ #: wp-htaccess-control-ui.php:274
238
+ msgid "Maintenance Mode"
239
+ msgstr "Modo de Manutenção"
240
+
241
+ #: wp-htaccess-control-ui.php:278
242
+ msgid "Maintenance Active"
243
+ msgstr "Manutenção Activa"
244
+
245
+ #: wp-htaccess-control-ui.php:283
246
+ msgid "Toggles Maintenance Mode."
247
+ msgstr "Alternar Modo de Manutenção"
248
+
249
+ #: wp-htaccess-control-ui.php:287
250
+ msgid "Allowed IPs"
251
+ msgstr "IPs permitidos"
252
+
253
+ #: wp-htaccess-control-ui.php:292
254
+ msgid "List of allowed IPs."
255
+ msgstr "Lista de IPs permitidos."
256
+
257
+ #: wp-htaccess-control-ui.php:293
258
+ msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
259
+ msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
260
+
261
+ #: wp-htaccess-control-ui.php:297
262
+ msgid "Redirection"
263
+ msgstr "Redireccionamento"
264
+
265
+ #: wp-htaccess-control-ui.php:302
266
+ msgid "If set, this will be used as redirection for disallowed IPs. This could be an external url or a document on your server (local paths begin with a trailing slash)"
267
+ msgstr "Se preenchido, será utilizado como redireccionamento para IPs não permitidos. Poderá ser uma url externa ou um documento no servidor (caminhos locais começam com \"/\")"
268
+
269
+ #: wp-htaccess-control-ui.php:310
270
  msgid "Reset all rules"
271
  msgstr "Reiniciar todas as Regras"
272
 
273
+ #: wp-htaccess-control-ui.php:311
274
  msgid "Save all changes"
275
  msgstr "Salvar todas as modificações"
276
 
277
+ #: wp-htaccess-control-ui.php:317
278
  msgid "Current htaccess file as it is generated by Wordpress"
279
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
280
 
281
+ #: wp-htaccess-control-ui.php:325
282
  msgid "by"
283
  msgstr "por"
284
 
285
+ #: wp-htaccess-control.php:320
286
  msgid "All rules reset."
287
  msgstr "Todas as regras foram reiniciadas."
288
 
289
+ #: wp-htaccess-control.php:409
290
  msgid "All options updated."
291
  msgstr "As modificações foram salvas."
292
 
293
+ #: wp-htaccess-control.php:417
294
  msgid "Wordpress Rewrite pairs reset."
295
  msgstr "Pares de Rewrite do Wordpress reiniciados."
296
 
297
+ #: wp-htaccess-control.php:423
298
  msgid "Wordpress Rewrite pair deleted."
299
  msgstr "Par de Rewrite do Wordpress apagado."
300
 
lang/wp-htaccess-control-pt_PT.mo CHANGED
Binary file
lang/wp-htaccess-control-pt_PT.po CHANGED
@@ -1,14 +1,14 @@
1
- # Translation of the WordPress plugin WP htaccess Control 1.6.1 by António Andrade.
2
  # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: WP htaccess Control 1.6.1\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
- "POT-Creation-Date: 2010-09-01 04:57+0000\n"
11
- "PO-Revision-Date: 2010-09-01 06:01-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
@@ -19,238 +19,282 @@ msgstr ""
19
  msgid "Please log in as admin"
20
  msgstr "Por favor ligue-se como administrador"
21
 
22
- #: wp-htaccess-control-ui.php:25
23
  msgid "Custom Author Permalink"
24
  msgstr "Personalização de Permalink para Autores "
25
 
26
- #: wp-htaccess-control-ui.php:29
27
  msgid "Author Base"
28
  msgstr "Base de Permalink para Autores"
29
 
30
- #: wp-htaccess-control-ui.php:32
31
- #: wp-htaccess-control-ui.php:64
32
  msgid "(your-base)"
33
  msgstr "(a-sua-base)"
34
 
35
- #: wp-htaccess-control-ui.php:35
36
- #: wp-htaccess-control-ui.php:67
37
  msgid "Permalink settings must be set and not Default (/?p=123)."
38
  msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
39
 
40
- #: wp-htaccess-control-ui.php:36
41
  msgid "If set, the author base will be used as shown next to the form field."
42
  msgstr "Se preenchida, esta base de autor será usada como demonstrado."
43
 
44
- #: wp-htaccess-control-ui.php:37
45
  msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
46
  msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
47
 
48
- #: wp-htaccess-control-ui.php:44
49
  msgid "Apply Custom Author Permalink on Generated Sitemap"
50
  msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
51
 
52
- #: wp-htaccess-control-ui.php:47
53
  msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
54
  msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
55
 
56
- #: wp-htaccess-control-ui.php:48
57
  msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
58
  msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
59
 
60
- #: wp-htaccess-control-ui.php:57
61
  msgid "Custom Pagination Permalink"
62
  msgstr "Personalização do Permalink para Paginação"
63
 
64
- #: wp-htaccess-control-ui.php:61
65
  msgid "Page Base"
66
  msgstr "Base de Permalink de Paginação"
67
 
68
- #: wp-htaccess-control-ui.php:68
69
  msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
70
  msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
71
 
72
- #: wp-htaccess-control-ui.php:69
73
  msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
74
  msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
75
 
76
- #: wp-htaccess-control-ui.php:77
77
  msgid "Custom htaccess"
78
  msgstr "htaccess Personalizado"
79
 
80
- #: wp-htaccess-control-ui.php:85
81
  msgid "This rules will be printed before any Wordpress rules."
82
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
83
 
84
- #: wp-htaccess-control-ui.php:86
85
- #: wp-htaccess-control-ui.php:106
86
- msgid "Please double check them before saving as a mistake could make your site unaccessable."
87
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
88
 
89
- #: wp-htaccess-control-ui.php:94
90
- msgid "Wordpress htaccess"
91
- msgstr "htaccess do Wordpress"
92
 
93
- #: wp-htaccess-control-ui.php:100
94
  msgid "Leave empty for default."
95
  msgstr "Deixe em branco para manter as regras por defeito."
96
 
97
- #: wp-htaccess-control-ui.php:102
98
  msgid "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\")"
99
  msgstr "<strong>Utilizar <a href='http://www.webmasterworld.com/apache/4053973.htm'>o htaccess para wordpress de Jim Morgan</a></strong> (pode \"acelerar o mod_rewrite do wordpress por mais de duas vezes\")"
100
 
101
- #: wp-htaccess-control-ui.php:105
102
  msgid "This rules will be printed instead of Wordpress rules."
103
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
104
 
105
- #: wp-htaccess-control-ui.php:107
106
  msgid "Original rules:"
107
  msgstr "Regras originais:"
108
 
109
- #: wp-htaccess-control-ui.php:118
110
  msgid "htaccess Suggestions"
111
  msgstr "Sugestões de htaccess"
112
 
113
- #: wp-htaccess-control-ui.php:122
114
  msgid "ServerSignature"
115
  msgstr "ServerSignature"
116
 
117
- #: wp-htaccess-control-ui.php:126
118
  msgid "Disable the ServerSignature on server generated error pages."
119
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
120
 
121
- #: wp-htaccess-control-ui.php:129
122
  msgid "Indexes"
123
  msgstr "Índices"
124
 
125
- #: wp-htaccess-control-ui.php:133
126
  msgid "Disable directory browsing."
127
  msgstr "Desactivar a navegação de directórios via browser."
128
 
129
- #: wp-htaccess-control-ui.php:136
130
  msgid "Protect wp-config.php file"
131
  msgstr "Proteger ficheiro wp-config.php"
132
 
133
- #: wp-htaccess-control-ui.php:140
134
  msgid "Deny access to wp-config.php file."
135
  msgstr "Recusar acesso ao ficheiro wp-config.php."
136
 
137
- #: wp-htaccess-control-ui.php:143
138
  msgid "Protect htaccess file"
139
  msgstr "Proteger ficheiro htaccess"
140
 
141
- #: wp-htaccess-control-ui.php:147
142
  msgid "Deny access to .htaccess file."
143
  msgstr "Recusar acesso ao ficheiro htaccess."
144
 
145
- #: wp-htaccess-control-ui.php:150
146
  msgid "mod_gzip"
147
  msgstr "mod_gzip"
148
 
149
- #: wp-htaccess-control-ui.php:154
150
  msgid "Use mod_gzip if available."
151
  msgstr "Utilizar mod_gzip se disponível."
152
 
153
- #: wp-htaccess-control-ui.php:157
154
  msgid "mod_deflate"
155
  msgstr "mod_deflate"
156
 
157
- #: wp-htaccess-control-ui.php:161
158
  msgid "Use mod_deflate if available."
159
  msgstr "Utilizar mod_deflate se disponível."
160
 
161
- #: wp-htaccess-control-ui.php:166
162
  msgid "Limit Upload Size"
163
  msgstr "Limitar Tamanho de Upload"
164
 
165
- #: wp-htaccess-control-ui.php:170
166
  msgid "If set, this value in MB will be used as limit to file uploads."
167
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
168
 
169
- #: wp-htaccess-control-ui.php:173
170
  msgid "Admin Email"
171
  msgstr "Email do Administrador"
172
 
173
- #: wp-htaccess-control-ui.php:177
174
  msgid "If set, this will be used as the admin email on server generated error pages."
175
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
176
 
177
- #: wp-htaccess-control-ui.php:180
178
  msgid "Disable hotlinking"
179
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
180
 
181
- #: wp-htaccess-control-ui.php:184
182
  msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
183
  msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
184
 
185
- #: wp-htaccess-control-ui.php:187
186
  msgid "500 error"
187
  msgstr "Erro 500"
188
 
189
- #: wp-htaccess-control-ui.php:191
190
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
191
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
192
 
193
- #: wp-htaccess-control-ui.php:194
 
 
 
 
 
 
 
 
194
  msgid "Canonical Url"
195
  msgstr "Url Canónica"
196
 
197
- #: wp-htaccess-control-ui.php:198
198
  msgid "Force WWW"
199
  msgstr "Forçar WWW"
200
 
201
- #: wp-htaccess-control-ui.php:199
202
  msgid "Force non-WWW"
203
  msgstr "Forçar sem-WWW"
204
 
205
- #: wp-htaccess-control-ui.php:202
206
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
207
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
208
 
209
- #: wp-htaccess-control-ui.php:209
210
  msgid "Rewrite Pairs"
211
  msgstr "Pares Rewrite"
212
 
213
- #: wp-htaccess-control-ui.php:214
 
 
 
 
214
  msgid "Add rule"
215
  msgstr "Juntar regra"
216
 
217
- #: wp-htaccess-control-ui.php:215
218
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
219
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
220
 
221
- #: wp-htaccess-control-ui.php:223
222
  msgid "Delete Pair"
223
  msgstr "Apagar Par"
224
 
225
- #: wp-htaccess-control-ui.php:231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  msgid "Reset all rules"
227
  msgstr "Reiniciar todas as Regras"
228
 
229
- #: wp-htaccess-control-ui.php:232
230
  msgid "Save all changes"
231
  msgstr "Salvar todas as modificações"
232
 
233
- #: wp-htaccess-control-ui.php:238
234
  msgid "Current htaccess file as it is generated by Wordpress"
235
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
236
 
237
- #: wp-htaccess-control-ui.php:246
238
  msgid "by"
239
  msgstr "por"
240
 
241
- #: wp-htaccess-control.php:284
242
  msgid "All rules reset."
243
  msgstr "Todas as regras foram reiniciadas."
244
 
245
- #: wp-htaccess-control.php:361
246
  msgid "All options updated."
247
  msgstr "As modificações foram salvas."
248
 
249
- #: wp-htaccess-control.php:369
250
  msgid "Wordpress Rewrite pairs reset."
251
  msgstr "Pares de Rewrite do Wordpress reiniciados."
252
 
253
- #: wp-htaccess-control.php:375
254
  msgid "Wordpress Rewrite pair deleted."
255
  msgstr "Par de Rewrite do Wordpress apagado."
256
 
1
+ # Translation of the WordPress plugin WP htaccess Control 1.7 by António Andrade.
2
  # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: WP htaccess Control 1.7\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
+ "POT-Creation-Date: 2010-09-08 23:09+0000\n"
11
+ "PO-Revision-Date: 2010-09-09 00:19-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
19
  msgid "Please log in as admin"
20
  msgstr "Por favor ligue-se como administrador"
21
 
22
+ #: wp-htaccess-control-ui.php:26
23
  msgid "Custom Author Permalink"
24
  msgstr "Personalização de Permalink para Autores "
25
 
26
+ #: wp-htaccess-control-ui.php:30
27
  msgid "Author Base"
28
  msgstr "Base de Permalink para Autores"
29
 
30
+ #: wp-htaccess-control-ui.php:33
31
+ #: wp-htaccess-control-ui.php:66
32
  msgid "(your-base)"
33
  msgstr "(a-sua-base)"
34
 
35
+ #: wp-htaccess-control-ui.php:36
36
+ #: wp-htaccess-control-ui.php:69
37
  msgid "Permalink settings must be set and not Default (/?p=123)."
38
  msgstr "As Definições de Permalinks devem estar configuradas e não Predefenidas (/?p=123)."
39
 
40
+ #: wp-htaccess-control-ui.php:37
41
  msgid "If set, the author base will be used as shown next to the form field."
42
  msgstr "Se preenchida, esta base de autor será usada como demonstrado."
43
 
44
+ #: wp-htaccess-control-ui.php:38
45
  msgid "If you do not want to use a custom Author Permalink base just leave the field empty."
46
  msgstr "Se não deseja utilizar um Base para Permalink de Autores personalizada deixe este campo em branco."
47
 
48
+ #: wp-htaccess-control-ui.php:45
49
  msgid "Apply Custom Author Permalink on Generated Sitemap"
50
  msgstr "Utilizar a Base de Permalink para Autores no Sitemap gerado"
51
 
52
+ #: wp-htaccess-control-ui.php:48
53
  msgid "Leave \"Include author pages\" unchecked on Google XML Sitemap options page if using this."
54
  msgstr "Não utilizar a opção \"Include author pages\" na página de opções do plugin Google XML Sitemap se utilizar este recurso."
55
 
56
+ #: wp-htaccess-control-ui.php:49
57
  msgid "However, if you want to adjust the \"Priority\" or \"Change frequency\" you should do so on the <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">Google XML Sitemap options page</a>."
58
  msgstr "No entanto, se desejar ajustar a \"Priority\" ou \"Change frequency\" deve fazê-lo na <a href=\"options-general.php?page=google-sitemap-generator/sitemap.php\">página de opções do Google XML Sitemap</a>."
59
 
60
+ #: wp-htaccess-control-ui.php:59
61
  msgid "Custom Pagination Permalink"
62
  msgstr "Personalização do Permalink para Paginação"
63
 
64
+ #: wp-htaccess-control-ui.php:63
65
  msgid "Page Base"
66
  msgstr "Base de Permalink de Paginação"
67
 
68
+ #: wp-htaccess-control-ui.php:70
69
  msgid "If set, the page base will be used as shown next to the form field in every post listing (category, tag, archive, etc)."
70
  msgstr "Se preenchida, esta base de página será usada como demonstrado em todas as listagens de posts (categoria, tag, arquivos, etc)."
71
 
72
+ #: wp-htaccess-control-ui.php:71
73
  msgid "If you do not want to use a custom Pagination Permalink base just leave the field empty."
74
  msgstr "Se não deseja utilizar um Base de Permalink para Páginas personalizada deixe este campo em branco."
75
 
76
+ #: wp-htaccess-control-ui.php:80
77
  msgid "Custom htaccess"
78
  msgstr "htaccess Personalizado"
79
 
80
+ #: wp-htaccess-control-ui.php:88
81
  msgid "This rules will be printed before any Wordpress rules."
82
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
83
 
84
+ #: wp-htaccess-control-ui.php:89
85
+ #: wp-htaccess-control-ui.php:115
86
+ msgid "Please double check them before saving as a mistake could make your site inaccessible."
87
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
88
 
89
+ #: wp-htaccess-control-ui.php:103
90
+ msgid "Replace Wordpress htaccess"
91
+ msgstr "Substituir htaccess do Wordpress"
92
 
93
+ #: wp-htaccess-control-ui.php:109
94
  msgid "Leave empty for default."
95
  msgstr "Deixe em branco para manter as regras por defeito."
96
 
97
+ #: wp-htaccess-control-ui.php:111
98
  msgid "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up your WP mod_rewrite code by a factor of more than two\")"
99
  msgstr "<strong>Utilizar <a href='http://www.webmasterworld.com/apache/4053973.htm'>o htaccess para wordpress de Jim Morgan</a></strong> (pode \"acelerar o mod_rewrite do wordpress por mais de duas vezes\")"
100
 
101
+ #: wp-htaccess-control-ui.php:114
102
  msgid "This rules will be printed instead of Wordpress rules."
103
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
104
 
105
+ #: wp-htaccess-control-ui.php:116
106
  msgid "Original rules:"
107
  msgstr "Regras originais:"
108
 
109
+ #: wp-htaccess-control-ui.php:128
110
  msgid "htaccess Suggestions"
111
  msgstr "Sugestões de htaccess"
112
 
113
+ #: wp-htaccess-control-ui.php:132
114
  msgid "ServerSignature"
115
  msgstr "ServerSignature"
116
 
117
+ #: wp-htaccess-control-ui.php:137
118
  msgid "Disable the ServerSignature on server generated error pages."
119
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
120
 
121
+ #: wp-htaccess-control-ui.php:141
122
  msgid "Indexes"
123
  msgstr "Índices"
124
 
125
+ #: wp-htaccess-control-ui.php:146
126
  msgid "Disable directory browsing."
127
  msgstr "Desactivar a navegação de directórios via browser."
128
 
129
+ #: wp-htaccess-control-ui.php:150
130
  msgid "Protect wp-config.php file"
131
  msgstr "Proteger ficheiro wp-config.php"
132
 
133
+ #: wp-htaccess-control-ui.php:154
134
  msgid "Deny access to wp-config.php file."
135
  msgstr "Recusar acesso ao ficheiro wp-config.php."
136
 
137
+ #: wp-htaccess-control-ui.php:158
138
  msgid "Protect htaccess file"
139
  msgstr "Proteger ficheiro htaccess"
140
 
141
+ #: wp-htaccess-control-ui.php:162
142
  msgid "Deny access to .htaccess file."
143
  msgstr "Recusar acesso ao ficheiro htaccess."
144
 
145
+ #: wp-htaccess-control-ui.php:166
146
  msgid "mod_gzip"
147
  msgstr "mod_gzip"
148
 
149
+ #: wp-htaccess-control-ui.php:171
150
  msgid "Use mod_gzip if available."
151
  msgstr "Utilizar mod_gzip se disponível."
152
 
153
+ #: wp-htaccess-control-ui.php:175
154
  msgid "mod_deflate"
155
  msgstr "mod_deflate"
156
 
157
+ #: wp-htaccess-control-ui.php:180
158
  msgid "Use mod_deflate if available."
159
  msgstr "Utilizar mod_deflate se disponível."
160
 
161
+ #: wp-htaccess-control-ui.php:184
162
  msgid "Limit Upload Size"
163
  msgstr "Limitar Tamanho de Upload"
164
 
165
+ #: wp-htaccess-control-ui.php:189
166
  msgid "If set, this value in MB will be used as limit to file uploads."
167
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
168
 
169
+ #: wp-htaccess-control-ui.php:193
170
  msgid "Admin Email"
171
  msgstr "Email do Administrador"
172
 
173
+ #: wp-htaccess-control-ui.php:198
174
  msgid "If set, this will be used as the admin email on server generated error pages."
175
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
176
 
177
+ #: wp-htaccess-control-ui.php:202
178
  msgid "Disable hotlinking"
179
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
180
 
181
+ #: wp-htaccess-control-ui.php:207
182
  msgid "If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use \"-\"."
183
  msgstr "Se preenchido, esta url será utilizada como redireccionamento para \"hotlinked\" images (deverá ser uma url de imagem). Se preferir simplesmente bloquear qualquer saída utilize \"-\"."
184
 
185
+ #: wp-htaccess-control-ui.php:211
186
  msgid "500 error"
187
  msgstr "Erro 500"
188
 
189
+ #: wp-htaccess-control-ui.php:216
190
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
191
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
192
 
193
+ #: wp-htaccess-control-ui.php:220
194
+ msgid "403 error"
195
+ msgstr "Erro 403"
196
+
197
+ #: wp-htaccess-control-ui.php:225
198
+ msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
199
+ msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
200
+
201
+ #: wp-htaccess-control-ui.php:229
202
  msgid "Canonical Url"
203
  msgstr "Url Canónica"
204
 
205
+ #: wp-htaccess-control-ui.php:233
206
  msgid "Force WWW"
207
  msgstr "Forçar WWW"
208
 
209
+ #: wp-htaccess-control-ui.php:234
210
  msgid "Force non-WWW"
211
  msgstr "Forçar sem-WWW"
212
 
213
+ #: wp-htaccess-control-ui.php:238
214
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
215
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
216
 
217
+ #: wp-htaccess-control-ui.php:249
218
  msgid "Rewrite Pairs"
219
  msgstr "Pares Rewrite"
220
 
221
+ #: wp-htaccess-control-ui.php:249
222
+ msgid "You should migrate your rewrite pairs into the \"Custom htaccess\" rules above. The \"Rewrite Pairs\" will be removed in future versions as they lack functionality."
223
+ msgstr ""
224
+
225
+ #: wp-htaccess-control-ui.php:254
226
  msgid "Add rule"
227
  msgstr "Juntar regra"
228
 
229
+ #: wp-htaccess-control-ui.php:255
230
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
231
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
232
 
233
+ #: wp-htaccess-control-ui.php:264
234
  msgid "Delete Pair"
235
  msgstr "Apagar Par"
236
 
237
+ #: wp-htaccess-control-ui.php:274
238
+ msgid "Maintenance Mode"
239
+ msgstr "Modo de Manutenção"
240
+
241
+ #: wp-htaccess-control-ui.php:278
242
+ msgid "Maintenance Active"
243
+ msgstr "Manutenção Activa"
244
+
245
+ #: wp-htaccess-control-ui.php:283
246
+ msgid "Toggles Maintenance Mode."
247
+ msgstr "Alternar Modo de Manutenção"
248
+
249
+ #: wp-htaccess-control-ui.php:287
250
+ msgid "Allowed IPs"
251
+ msgstr "IPs permitidos"
252
+
253
+ #: wp-htaccess-control-ui.php:292
254
+ msgid "List of allowed IPs."
255
+ msgstr "Lista de IPs permitidos."
256
+
257
+ #: wp-htaccess-control-ui.php:293
258
+ msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
259
+ msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
260
+
261
+ #: wp-htaccess-control-ui.php:297
262
+ msgid "Redirection"
263
+ msgstr "Redireccionamento"
264
+
265
+ #: wp-htaccess-control-ui.php:302
266
+ msgid "If set, this will be used as redirection for disallowed IPs. This could be an external url or a document on your server (local paths begin with a trailing slash)"
267
+ msgstr "Se preenchido, será utilizado como redireccionamento para IPs não permitidos. Poderá ser uma url externa ou um documento no servidor (caminhos locais começam com \"/\")"
268
+
269
+ #: wp-htaccess-control-ui.php:310
270
  msgid "Reset all rules"
271
  msgstr "Reiniciar todas as Regras"
272
 
273
+ #: wp-htaccess-control-ui.php:311
274
  msgid "Save all changes"
275
  msgstr "Salvar todas as modificações"
276
 
277
+ #: wp-htaccess-control-ui.php:317
278
  msgid "Current htaccess file as it is generated by Wordpress"
279
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
280
 
281
+ #: wp-htaccess-control-ui.php:325
282
  msgid "by"
283
  msgstr "por"
284
 
285
+ #: wp-htaccess-control.php:320
286
  msgid "All rules reset."
287
  msgstr "Todas as regras foram reiniciadas."
288
 
289
+ #: wp-htaccess-control.php:409
290
  msgid "All options updated."
291
  msgstr "As modificações foram salvas."
292
 
293
+ #: wp-htaccess-control.php:417
294
  msgid "Wordpress Rewrite pairs reset."
295
  msgstr "Pares de Rewrite do Wordpress reiniciados."
296
 
297
+ #: wp-htaccess-control.php:423
298
  msgid "Wordpress Rewrite pair deleted."
299
  msgstr "Par de Rewrite do Wordpress apagado."
300
 
lang/wp-htaccess-control.pot CHANGED
@@ -1,4 +1,4 @@
1
- # Translation of the WordPress plugin WP htaccess Control 1.6.1 by António Andrade.
2
  # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
@@ -6,9 +6,9 @@
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: WP htaccess Control 1.6.1\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
11
- "POT-Creation-Date: 2010-09-01 04:57+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -20,260 +20,313 @@ msgstr ""
20
  msgid "Please log in as admin"
21
  msgstr ""
22
 
23
- #: wp-htaccess-control-ui.php:25
24
  msgid "Custom Author Permalink"
25
  msgstr ""
26
 
27
- #: wp-htaccess-control-ui.php:29
28
  msgid "Author Base"
29
  msgstr ""
30
 
31
- #: wp-htaccess-control-ui.php:32 wp-htaccess-control-ui.php:64
32
  msgid "(your-base)"
33
  msgstr ""
34
 
35
- #: wp-htaccess-control-ui.php:35 wp-htaccess-control-ui.php:67
36
  msgid "Permalink settings must be set and not Default (/?p=123)."
37
  msgstr ""
38
 
39
- #: wp-htaccess-control-ui.php:36
40
  msgid "If set, the author base will be used as shown next to the form field."
41
  msgstr ""
42
 
43
- #: wp-htaccess-control-ui.php:37
44
  msgid ""
45
  "If you do not want to use a custom Author Permalink base just leave the "
46
  "field empty."
47
  msgstr ""
48
 
49
- #: wp-htaccess-control-ui.php:44
50
  msgid "Apply Custom Author Permalink on Generated Sitemap"
51
  msgstr ""
52
 
53
- #: wp-htaccess-control-ui.php:47
54
  msgid ""
55
  "Leave \"Include author pages\" unchecked on Google XML Sitemap options page "
56
  "if using this."
57
  msgstr ""
58
 
59
- #: wp-htaccess-control-ui.php:48
60
  msgid ""
61
  "However, if you want to adjust the \"Priority\" or \"Change frequency\" you "
62
  "should do so on the <a href=\"options-general.php?page=google-sitemap-"
63
  "generator/sitemap.php\">Google XML Sitemap options page</a>."
64
  msgstr ""
65
 
66
- #: wp-htaccess-control-ui.php:57
67
  msgid "Custom Pagination Permalink"
68
  msgstr ""
69
 
70
- #: wp-htaccess-control-ui.php:61
71
  msgid "Page Base"
72
  msgstr ""
73
 
74
- #: wp-htaccess-control-ui.php:68
75
  msgid ""
76
  "If set, the page base will be used as shown next to the form field in every "
77
  "post listing (category, tag, archive, etc)."
78
  msgstr ""
79
 
80
- #: wp-htaccess-control-ui.php:69
81
  msgid ""
82
  "If you do not want to use a custom Pagination Permalink base just leave the "
83
  "field empty."
84
  msgstr ""
85
 
86
- #: wp-htaccess-control-ui.php:77
87
  msgid "Custom htaccess"
88
  msgstr ""
89
 
90
- #: wp-htaccess-control-ui.php:85
91
  msgid "This rules will be printed before any Wordpress rules."
92
  msgstr ""
93
 
94
- #: wp-htaccess-control-ui.php:86 wp-htaccess-control-ui.php:106
95
  msgid ""
96
  "Please double check them before saving as a mistake could make your site "
97
- "unaccessable."
98
  msgstr ""
99
 
100
- #: wp-htaccess-control-ui.php:94
101
- msgid "Wordpress htaccess"
102
  msgstr ""
103
 
104
- #: wp-htaccess-control-ui.php:100
105
  msgid "Leave empty for default."
106
  msgstr ""
107
 
108
- #: wp-htaccess-control-ui.php:102
109
  msgid ""
110
  "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim "
111
  "Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up "
112
  "your WP mod_rewrite code by a factor of more than two\")"
113
  msgstr ""
114
 
115
- #: wp-htaccess-control-ui.php:105
116
  msgid "This rules will be printed instead of Wordpress rules."
117
  msgstr ""
118
 
119
- #: wp-htaccess-control-ui.php:107
120
  msgid "Original rules:"
121
  msgstr ""
122
 
123
- #: wp-htaccess-control-ui.php:118
124
  msgid "htaccess Suggestions"
125
  msgstr ""
126
 
127
- #: wp-htaccess-control-ui.php:122
128
  msgid "ServerSignature"
129
  msgstr ""
130
 
131
- #: wp-htaccess-control-ui.php:126
132
  msgid "Disable the ServerSignature on server generated error pages."
133
  msgstr ""
134
 
135
- #: wp-htaccess-control-ui.php:129
136
  msgid "Indexes"
137
  msgstr ""
138
 
139
- #: wp-htaccess-control-ui.php:133
140
  msgid "Disable directory browsing."
141
  msgstr ""
142
 
143
- #: wp-htaccess-control-ui.php:136
144
  msgid "Protect wp-config.php file"
145
  msgstr ""
146
 
147
- #: wp-htaccess-control-ui.php:140
148
  msgid "Deny access to wp-config.php file."
149
  msgstr ""
150
 
151
- #: wp-htaccess-control-ui.php:143
152
  msgid "Protect htaccess file"
153
  msgstr ""
154
 
155
- #: wp-htaccess-control-ui.php:147
156
  msgid "Deny access to .htaccess file."
157
  msgstr ""
158
 
159
- #: wp-htaccess-control-ui.php:150
160
  msgid "mod_gzip"
161
  msgstr ""
162
 
163
- #: wp-htaccess-control-ui.php:154
164
  msgid "Use mod_gzip if available."
165
  msgstr ""
166
 
167
- #: wp-htaccess-control-ui.php:157
168
  msgid "mod_deflate"
169
  msgstr ""
170
 
171
- #: wp-htaccess-control-ui.php:161
172
  msgid "Use mod_deflate if available."
173
  msgstr ""
174
 
175
- #: wp-htaccess-control-ui.php:166
176
  msgid "Limit Upload Size"
177
  msgstr ""
178
 
179
- #: wp-htaccess-control-ui.php:170
180
  msgid "If set, this value in MB will be used as limit to file uploads."
181
  msgstr ""
182
 
183
- #: wp-htaccess-control-ui.php:173
184
  msgid "Admin Email"
185
  msgstr ""
186
 
187
- #: wp-htaccess-control-ui.php:177
188
  msgid ""
189
  "If set, this will be used as the admin email on server generated error pages."
190
  msgstr ""
191
 
192
- #: wp-htaccess-control-ui.php:180
193
  msgid "Disable hotlinking"
194
  msgstr ""
195
 
196
- #: wp-htaccess-control-ui.php:184
197
  msgid ""
198
  "If set, this url will be used as redirection to hotlinked images (you should "
199
  "be using an image url here). If you prefer no output on hotlinked images use "
200
  "\"-\"."
201
  msgstr ""
202
 
203
- #: wp-htaccess-control-ui.php:187
204
  msgid "500 error"
205
  msgstr ""
206
 
207
- #: wp-htaccess-control-ui.php:191
208
  msgid ""
209
  "If set, this path will be used as page to 500 errors (example: /error.php)."
210
  msgstr ""
211
 
212
- #: wp-htaccess-control-ui.php:194
 
 
 
 
 
 
 
 
 
213
  msgid "Canonical Url"
214
  msgstr ""
215
 
216
- #: wp-htaccess-control-ui.php:198
217
  msgid "Force WWW"
218
  msgstr ""
219
 
220
- #: wp-htaccess-control-ui.php:199
221
  msgid "Force non-WWW"
222
  msgstr ""
223
 
224
- #: wp-htaccess-control-ui.php:202
225
  msgid ""
226
  "This will force canonization. This will be done by simply modifying the "
227
  "wordpress \"site url\" and \"home\" options (not htaccess)."
228
  msgstr ""
229
 
230
- #: wp-htaccess-control-ui.php:209
231
  msgid "Rewrite Pairs"
232
  msgstr ""
233
 
234
- #: wp-htaccess-control-ui.php:214
 
 
 
 
 
 
 
235
  msgid "Add rule"
236
  msgstr ""
237
 
238
- #: wp-htaccess-control-ui.php:215
239
  msgid ""
240
  "These are rewrite pairs (RewriteRule) which Wordpress can add inside its "
241
  "rules."
242
  msgstr ""
243
 
244
- #: wp-htaccess-control-ui.php:223
245
  msgid "Delete Pair"
246
  msgstr ""
247
 
248
- #: wp-htaccess-control-ui.php:231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  msgid "Reset all rules"
250
  msgstr ""
251
 
252
- #: wp-htaccess-control-ui.php:232
253
  msgid "Save all changes"
254
  msgstr ""
255
 
256
- #: wp-htaccess-control-ui.php:238
257
  msgid "Current htaccess file as it is generated by Wordpress"
258
  msgstr ""
259
 
260
- #: wp-htaccess-control-ui.php:246
261
  msgid "by"
262
  msgstr ""
263
 
264
- #: wp-htaccess-control.php:284
265
  msgid "All rules reset."
266
  msgstr ""
267
 
268
- #: wp-htaccess-control.php:361
269
  msgid "All options updated."
270
  msgstr ""
271
 
272
- #: wp-htaccess-control.php:369
273
  msgid "Wordpress Rewrite pairs reset."
274
  msgstr ""
275
 
276
- #: wp-htaccess-control.php:375
277
  msgid "Wordpress Rewrite pair deleted."
278
  msgstr ""
279
 
1
+ # Translation of the WordPress plugin WP htaccess Control 1.7 by António Andrade.
2
  # Copyright (C) 2010 António Andrade
3
  # This file is distributed under the same license as the WP htaccess Control package.
4
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
6
  #, fuzzy
7
  msgid ""
8
  msgstr ""
9
+ "Project-Id-Version: WP htaccess Control 1.7\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
11
+ "POT-Creation-Date: 2010-09-08 23:09+0000\n"
12
  "PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
20
  msgid "Please log in as admin"
21
  msgstr ""
22
 
23
+ #: wp-htaccess-control-ui.php:26
24
  msgid "Custom Author Permalink"
25
  msgstr ""
26
 
27
+ #: wp-htaccess-control-ui.php:30
28
  msgid "Author Base"
29
  msgstr ""
30
 
31
+ #: wp-htaccess-control-ui.php:33 wp-htaccess-control-ui.php:66
32
  msgid "(your-base)"
33
  msgstr ""
34
 
35
+ #: wp-htaccess-control-ui.php:36 wp-htaccess-control-ui.php:69
36
  msgid "Permalink settings must be set and not Default (/?p=123)."
37
  msgstr ""
38
 
39
+ #: wp-htaccess-control-ui.php:37
40
  msgid "If set, the author base will be used as shown next to the form field."
41
  msgstr ""
42
 
43
+ #: wp-htaccess-control-ui.php:38
44
  msgid ""
45
  "If you do not want to use a custom Author Permalink base just leave the "
46
  "field empty."
47
  msgstr ""
48
 
49
+ #: wp-htaccess-control-ui.php:45
50
  msgid "Apply Custom Author Permalink on Generated Sitemap"
51
  msgstr ""
52
 
53
+ #: wp-htaccess-control-ui.php:48
54
  msgid ""
55
  "Leave \"Include author pages\" unchecked on Google XML Sitemap options page "
56
  "if using this."
57
  msgstr ""
58
 
59
+ #: wp-htaccess-control-ui.php:49
60
  msgid ""
61
  "However, if you want to adjust the \"Priority\" or \"Change frequency\" you "
62
  "should do so on the <a href=\"options-general.php?page=google-sitemap-"
63
  "generator/sitemap.php\">Google XML Sitemap options page</a>."
64
  msgstr ""
65
 
66
+ #: wp-htaccess-control-ui.php:59
67
  msgid "Custom Pagination Permalink"
68
  msgstr ""
69
 
70
+ #: wp-htaccess-control-ui.php:63
71
  msgid "Page Base"
72
  msgstr ""
73
 
74
+ #: wp-htaccess-control-ui.php:70
75
  msgid ""
76
  "If set, the page base will be used as shown next to the form field in every "
77
  "post listing (category, tag, archive, etc)."
78
  msgstr ""
79
 
80
+ #: wp-htaccess-control-ui.php:71
81
  msgid ""
82
  "If you do not want to use a custom Pagination Permalink base just leave the "
83
  "field empty."
84
  msgstr ""
85
 
86
+ #: wp-htaccess-control-ui.php:80
87
  msgid "Custom htaccess"
88
  msgstr ""
89
 
90
+ #: wp-htaccess-control-ui.php:88
91
  msgid "This rules will be printed before any Wordpress rules."
92
  msgstr ""
93
 
94
+ #: wp-htaccess-control-ui.php:89 wp-htaccess-control-ui.php:115
95
  msgid ""
96
  "Please double check them before saving as a mistake could make your site "
97
+ "inaccessible."
98
  msgstr ""
99
 
100
+ #: wp-htaccess-control-ui.php:103
101
+ msgid "Replace Wordpress htaccess"
102
  msgstr ""
103
 
104
+ #: wp-htaccess-control-ui.php:109
105
  msgid "Leave empty for default."
106
  msgstr ""
107
 
108
+ #: wp-htaccess-control-ui.php:111
109
  msgid ""
110
  "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim "
111
  "Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up "
112
  "your WP mod_rewrite code by a factor of more than two\")"
113
  msgstr ""
114
 
115
+ #: wp-htaccess-control-ui.php:114
116
  msgid "This rules will be printed instead of Wordpress rules."
117
  msgstr ""
118
 
119
+ #: wp-htaccess-control-ui.php:116
120
  msgid "Original rules:"
121
  msgstr ""
122
 
123
+ #: wp-htaccess-control-ui.php:128
124
  msgid "htaccess Suggestions"
125
  msgstr ""
126
 
127
+ #: wp-htaccess-control-ui.php:132
128
  msgid "ServerSignature"
129
  msgstr ""
130
 
131
+ #: wp-htaccess-control-ui.php:137
132
  msgid "Disable the ServerSignature on server generated error pages."
133
  msgstr ""
134
 
135
+ #: wp-htaccess-control-ui.php:141
136
  msgid "Indexes"
137
  msgstr ""
138
 
139
+ #: wp-htaccess-control-ui.php:146
140
  msgid "Disable directory browsing."
141
  msgstr ""
142
 
143
+ #: wp-htaccess-control-ui.php:150
144
  msgid "Protect wp-config.php file"
145
  msgstr ""
146
 
147
+ #: wp-htaccess-control-ui.php:154
148
  msgid "Deny access to wp-config.php file."
149
  msgstr ""
150
 
151
+ #: wp-htaccess-control-ui.php:158
152
  msgid "Protect htaccess file"
153
  msgstr ""
154
 
155
+ #: wp-htaccess-control-ui.php:162
156
  msgid "Deny access to .htaccess file."
157
  msgstr ""
158
 
159
+ #: wp-htaccess-control-ui.php:166
160
  msgid "mod_gzip"
161
  msgstr ""
162
 
163
+ #: wp-htaccess-control-ui.php:171
164
  msgid "Use mod_gzip if available."
165
  msgstr ""
166
 
167
+ #: wp-htaccess-control-ui.php:175
168
  msgid "mod_deflate"
169
  msgstr ""
170
 
171
+ #: wp-htaccess-control-ui.php:180
172
  msgid "Use mod_deflate if available."
173
  msgstr ""
174
 
175
+ #: wp-htaccess-control-ui.php:184
176
  msgid "Limit Upload Size"
177
  msgstr ""
178
 
179
+ #: wp-htaccess-control-ui.php:189
180
  msgid "If set, this value in MB will be used as limit to file uploads."
181
  msgstr ""
182
 
183
+ #: wp-htaccess-control-ui.php:193
184
  msgid "Admin Email"
185
  msgstr ""
186
 
187
+ #: wp-htaccess-control-ui.php:198
188
  msgid ""
189
  "If set, this will be used as the admin email on server generated error pages."
190
  msgstr ""
191
 
192
+ #: wp-htaccess-control-ui.php:202
193
  msgid "Disable hotlinking"
194
  msgstr ""
195
 
196
+ #: wp-htaccess-control-ui.php:207
197
  msgid ""
198
  "If set, this url will be used as redirection to hotlinked images (you should "
199
  "be using an image url here). If you prefer no output on hotlinked images use "
200
  "\"-\"."
201
  msgstr ""
202
 
203
+ #: wp-htaccess-control-ui.php:211
204
  msgid "500 error"
205
  msgstr ""
206
 
207
+ #: wp-htaccess-control-ui.php:216
208
  msgid ""
209
  "If set, this path will be used as page to 500 errors (example: /error.php)."
210
  msgstr ""
211
 
212
+ #: wp-htaccess-control-ui.php:220
213
+ msgid "403 error"
214
+ msgstr ""
215
+
216
+ #: wp-htaccess-control-ui.php:225
217
+ msgid ""
218
+ "If set, this path will be used as page to 403 errors (example: /error.php)."
219
+ msgstr ""
220
+
221
+ #: wp-htaccess-control-ui.php:229
222
  msgid "Canonical Url"
223
  msgstr ""
224
 
225
+ #: wp-htaccess-control-ui.php:233
226
  msgid "Force WWW"
227
  msgstr ""
228
 
229
+ #: wp-htaccess-control-ui.php:234
230
  msgid "Force non-WWW"
231
  msgstr ""
232
 
233
+ #: wp-htaccess-control-ui.php:238
234
  msgid ""
235
  "This will force canonization. This will be done by simply modifying the "
236
  "wordpress \"site url\" and \"home\" options (not htaccess)."
237
  msgstr ""
238
 
239
+ #: wp-htaccess-control-ui.php:249
240
  msgid "Rewrite Pairs"
241
  msgstr ""
242
 
243
+ #: wp-htaccess-control-ui.php:249
244
+ msgid ""
245
+ "You should migrate your rewrite pairs into the \"Custom htaccess\" rules "
246
+ "above. The \"Rewrite Pairs\" will be removed in future versions as they lack "
247
+ "functionality."
248
+ msgstr ""
249
+
250
+ #: wp-htaccess-control-ui.php:254
251
  msgid "Add rule"
252
  msgstr ""
253
 
254
+ #: wp-htaccess-control-ui.php:255
255
  msgid ""
256
  "These are rewrite pairs (RewriteRule) which Wordpress can add inside its "
257
  "rules."
258
  msgstr ""
259
 
260
+ #: wp-htaccess-control-ui.php:264
261
  msgid "Delete Pair"
262
  msgstr ""
263
 
264
+ #: wp-htaccess-control-ui.php:274
265
+ msgid "Maintenance Mode"
266
+ msgstr ""
267
+
268
+ #: wp-htaccess-control-ui.php:278
269
+ msgid "Maintenance Active"
270
+ msgstr ""
271
+
272
+ #: wp-htaccess-control-ui.php:283
273
+ msgid "Toggles Maintenance Mode."
274
+ msgstr ""
275
+
276
+ #: wp-htaccess-control-ui.php:287
277
+ msgid "Allowed IPs"
278
+ msgstr ""
279
+
280
+ #: wp-htaccess-control-ui.php:292
281
+ msgid "List of allowed IPs."
282
+ msgstr ""
283
+
284
+ #: wp-htaccess-control-ui.php:293
285
+ msgid ""
286
+ "All the IPs not listed will view the 403 error page or be redirected to a "
287
+ "page set below."
288
+ msgstr ""
289
+
290
+ #: wp-htaccess-control-ui.php:297
291
+ msgid "Redirection"
292
+ msgstr ""
293
+
294
+ #: wp-htaccess-control-ui.php:302
295
+ msgid ""
296
+ "If set, this will be used as redirection for disallowed IPs. This could be "
297
+ "an external url or a document on your server (local paths begin with a "
298
+ "trailing slash)"
299
+ msgstr ""
300
+
301
+ #: wp-htaccess-control-ui.php:310
302
  msgid "Reset all rules"
303
  msgstr ""
304
 
305
+ #: wp-htaccess-control-ui.php:311
306
  msgid "Save all changes"
307
  msgstr ""
308
 
309
+ #: wp-htaccess-control-ui.php:317
310
  msgid "Current htaccess file as it is generated by Wordpress"
311
  msgstr ""
312
 
313
+ #: wp-htaccess-control-ui.php:325
314
  msgid "by"
315
  msgstr ""
316
 
317
+ #: wp-htaccess-control.php:320
318
  msgid "All rules reset."
319
  msgstr ""
320
 
321
+ #: wp-htaccess-control.php:409
322
  msgid "All options updated."
323
  msgstr ""
324
 
325
+ #: wp-htaccess-control.php:417
326
  msgid "Wordpress Rewrite pairs reset."
327
  msgstr ""
328
 
329
+ #: wp-htaccess-control.php:423
330
  msgid "Wordpress Rewrite pair deleted."
331
  msgstr ""
332
 
readme.txt CHANGED
@@ -3,16 +3,17 @@ Author: António Andrade
3
  Author URI: http://dardna.com/
4
  Plugin URI: http://dardna.com/wp-htaccess-control
5
  Donate link:
6
- Tags: permalinks, permalink, author, htaccess, rewrite, redirect
7
  Requires at least: 2.7
8
  Tested up to: 3.0.1
9
- Stable tag: 1.7
10
 
11
  Interface to customize the htaccess file generated by Wordpress and the Author and Pagination Permalinks.
12
 
13
  == Description ==
14
 
15
  **WP htaccess Control** provides an interface to customize the htaccess file generated by Wordpress, the Author Permalink Base and the Paginated Permalinks. (Take a look at the screenshot...)
 
16
  **I still haven't tested this under Wordpress multisite, some issues have however been reported.**
17
 
18
  **Features:**
@@ -20,6 +21,7 @@ Interface to customize the htaccess file generated by Wordpress and the Author a
20
  * Customizing the htaccess file generated by Wordpress;
21
  * Customizing the Author Permalink Base (if Google XML Sitemap is found installed, you'll be able to use your Custom Author Permalink on the sitemap generated);
22
  * Customizing Paginated Permalinks (translate the "page" word on permalinks to your own language);
 
23
 
24
  **Easy to use "Suggested htaccess" rules:**
25
 
@@ -31,6 +33,7 @@ Interface to customize the htaccess file generated by Wordpress and the Author a
31
  * Protect wp-config.php file from access;
32
  * Protect .htaccess file from access;
33
  * Set 500 error page;
 
34
  * Use mod_gzip if available;
35
  * Use mod_deflate if available;
36
  * Set admin email on server generated error pages;
@@ -55,10 +58,15 @@ Suggestions are welcome and please report any bugs found!
55
 
56
  == Screenshots ==
57
 
58
- 1. Administration page (as of v.1.5)
59
 
60
  == Changelog ==
61
 
 
 
 
 
 
62
  = 1.7 (01/09/2010) =
63
  * Feature: wordpress htaccess rules can be replaced or modified.
64
 
3
  Author URI: http://dardna.com/
4
  Plugin URI: http://dardna.com/wp-htaccess-control
5
  Donate link:
6
+ Tags: permalinks, permalink, author, htaccess, rewrite, redirect, admin, maintenance
7
  Requires at least: 2.7
8
  Tested up to: 3.0.1
9
+ Stable tag: 1.8
10
 
11
  Interface to customize the htaccess file generated by Wordpress and the Author and Pagination Permalinks.
12
 
13
  == Description ==
14
 
15
  **WP htaccess Control** provides an interface to customize the htaccess file generated by Wordpress, the Author Permalink Base and the Paginated Permalinks. (Take a look at the screenshot...)
16
+
17
  **I still haven't tested this under Wordpress multisite, some issues have however been reported.**
18
 
19
  **Features:**
21
  * Customizing the htaccess file generated by Wordpress;
22
  * Customizing the Author Permalink Base (if Google XML Sitemap is found installed, you'll be able to use your Custom Author Permalink on the sitemap generated);
23
  * Customizing Paginated Permalinks (translate the "page" word on permalinks to your own language);
24
+ * Maintenance mode.
25
 
26
  **Easy to use "Suggested htaccess" rules:**
27
 
33
  * Protect wp-config.php file from access;
34
  * Protect .htaccess file from access;
35
  * Set 500 error page;
36
+ * Set 403 error page;
37
  * Use mod_gzip if available;
38
  * Use mod_deflate if available;
39
  * Set admin email on server generated error pages;
58
 
59
  == Screenshots ==
60
 
61
+ 1. Administration page (as of v.1.8)
62
 
63
  == Changelog ==
64
 
65
+ * Feature: adding "Maintenance Mode";
66
+ * Feature: adding 403 error page "htaccess suggestion";
67
+ * Fix: deprecating the "Rewrite Pairs" as they are superseded by the "Custom htaccess";
68
+ * Fix: small fix to "original rules" on wordpress htaccess (thank you Agnes for the report).
69
+
70
  = 1.7 (01/09/2010) =
71
  * Feature: wordpress htaccess rules can be replaced or modified.
72
 
screenshot-1.jpg CHANGED
Binary file
wp-htaccess-control-ui.css CHANGED
@@ -9,4 +9,6 @@
9
  .wphtc-inputs caption{text-align:left;padding:10px;background:#ddd;}
10
  .form-table{margin:0;}
11
  #wphtc-footer{text-align:right;}
12
- textarea.readonly{background-color:#eee;}
 
 
9
  .wphtc-inputs caption{text-align:left;padding:10px;background:#ddd;}
10
  .form-table{margin:0;}
11
  #wphtc-footer{text-align:right;}
12
+ textarea.readonly{background-color:#eee;}
13
+ ul.description{/*list-style:square inside;*/margin-top:1em;}
14
+ ul.description a{text-decoration:none;}
wp-htaccess-control-ui.js CHANGED
@@ -1,8 +1,8 @@
1
  jQuery(document).ready(function(){
2
- addRewritePairButton();
3
  collapseSections();
4
  editWPhtaJM();
5
- function addRewritePairButton(){
6
  jQuery('.add-rewrite-pair').click(function(){addRule();});
7
  }
8
  function addRule(){
@@ -22,10 +22,10 @@ jQuery(document).ready(function(){
22
  jQuery("#rule-"+newrule+" td:last").empty();
23
  jQuery("#WPhtc_num").val(num+1);
24
  }
25
- }
26
  function collapseSections(){
27
  jQuery(".wphtc-inputs,.wphtc-section-title a").not(".wphtc-inputs:last").hide();
28
- jQuery(".wphtc-menu").fadeOut(0);
29
  jQuery(".handlediv").fadeOut(0);
30
  jQuery(".wphtc-section").hover(
31
  function(){
@@ -41,12 +41,12 @@ jQuery(document).ready(function(){
41
  jQuery(this).parent().find("a").toggle();
42
  }
43
  jQuery(this).parent().next(".wphtc-inputs").toggle();
44
- if(jQuery(".wphtc-inputs:visible").length<2){
45
  jQuery(".wphtc-menu").fadeOut(250);
46
  }
47
  else{
48
  jQuery(".wphtc-menu").fadeIn(250);
49
- }
50
  }
51
  );
52
  }
1
  jQuery(document).ready(function(){
2
+ //addRewritePairButton();
3
  collapseSections();
4
  editWPhtaJM();
5
+ /*function addRewritePairButton(){
6
  jQuery('.add-rewrite-pair').click(function(){addRule();});
7
  }
8
  function addRule(){
22
  jQuery("#rule-"+newrule+" td:last").empty();
23
  jQuery("#WPhtc_num").val(num+1);
24
  }
25
+ }*/
26
  function collapseSections(){
27
  jQuery(".wphtc-inputs,.wphtc-section-title a").not(".wphtc-inputs:last").hide();
28
+ //jQuery(".wphtc-menu").fadeOut(0);
29
  jQuery(".handlediv").fadeOut(0);
30
  jQuery(".wphtc-section").hover(
31
  function(){
41
  jQuery(this).parent().find("a").toggle();
42
  }
43
  jQuery(this).parent().next(".wphtc-inputs").toggle();
44
+ /*if(jQuery(".wphtc-inputs:visible").length<2){
45
  jQuery(".wphtc-menu").fadeOut(250);
46
  }
47
  else{
48
  jQuery(".wphtc-menu").fadeIn(250);
49
+ }*/
50
  }
51
  );
52
  }
wp-htaccess-control-ui.php CHANGED
@@ -19,6 +19,7 @@ $WPhtc_data=get_option('WPhtc_data');
19
  <?php if($echo!=''){?>
20
  <div class="updated fade" id="message" style="background-color: rgb(255, 251, 204);"><p><?php echo $echo;?></p></div>
21
  <?php }?>
 
22
  <div class="wphtc-section">
23
  <div class="wphtc-section-title stuffbox">
24
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
@@ -51,6 +52,7 @@ $WPhtc_data=get_option('WPhtc_data');
51
  <?php } ?>
52
  </table>
53
  </div>
 
54
  <div class="wphtc-section">
55
  <div class="wphtc-section-title stuffbox">
56
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
@@ -71,6 +73,7 @@ $WPhtc_data=get_option('WPhtc_data');
71
  </tr>
72
  </table>
73
  </div>
 
74
  <div class="wphtc-section">
75
  <div class="wphtc-section-title stuffbox">
76
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
@@ -83,15 +86,21 @@ $WPhtc_data=get_option('WPhtc_data');
83
  </td>
84
  <td style="width:50%;">
85
  <p class="description"><?php _e('This rules will be printed before any Wordpress rules.', 'wp-htaccess-control'); ?></p>
86
- <p class="description"><?php _e('Please double check them before saving as a mistake could make your site unaccessable.', 'wp-htaccess-control'); ?></p>
 
 
 
 
 
87
  </td>
88
  </tr>
89
  </table>
90
  </div>
 
91
  <div class="wphtc-section">
92
  <div class="wphtc-section-title stuffbox">
93
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
94
- <h3><?php _e('Wordpress htaccess', 'wp-htaccess-control'); ?></h3>
95
  </div>
96
  <table class="form-table wphtc-inputs">
97
  <tr valign="top">
@@ -103,15 +112,16 @@ $WPhtc_data=get_option('WPhtc_data');
103
  </td>
104
  <td style="width:50%;">
105
  <p class="description"><?php _e('This rules will be printed instead of Wordpress rules.', 'wp-htaccess-control'); ?></p>
106
- <p class="description"><?php _e('Please double check them before saving as a mistake could make your site unaccessable.', 'wp-htaccess-control'); ?></p>
107
  <p class="description"><?php _e('Original rules:', 'wp-htaccess-control'); ?></p>
108
  <p class="description">
109
- <code><?php echo nl2br(htmlspecialchars(substr($WPhtc_data['original_hta'],0,-1)));?></code>
110
  </p>
111
  </td>
112
  </tr>
113
  </table>
114
  </div>
 
115
  <div class="wphtc-section">
116
  <div class="wphtc-section-title stuffbox">
117
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
@@ -123,72 +133,97 @@ $WPhtc_data=get_option('WPhtc_data');
123
  <td style="width:3%;" valign="middle">
124
  <input type="checkbox" name="WPhtc_disable_serversignature" value="true" <?php if($WPhtc_data['disable_serversignature']){ echo "checked";}?>/>
125
  </td>
126
- <td valign="middle"><?php _e('Disable the ServerSignature on server generated error pages.', 'wp-htaccess-control'); ?></td>
 
 
127
  </tr>
128
  <tr valign="top">
129
  <th scope="row"><?php _e('Indexes', 'wp-htaccess-control'); ?></th>
130
  <td style="width:3%;" valign="middle">
131
- <input type="checkbox" name="WPhtc_disable_indexes" value="true" <?php if($WPhtc_data['disable_indexes']){ echo "checked";}?>/>
 
 
 
132
  </td>
133
- <td valign="middle"><?php _e('Disable directory browsing.', 'wp-htaccess-control'); ?></td>
134
  </tr>
135
  <tr valign="top">
136
  <th scope="row"><?php _e('Protect wp-config.php file', 'wp-htaccess-control'); ?></th>
137
  <td style="width:3%;" valign="middle">
138
- <input type="checkbox" name="WPhtc_protect_wp_config" value="true" <?php if($WPhtc_data['protect_wp_config']){ echo "checked";}?>/>
 
 
139
  </td>
140
- <td valign="middle"><?php _e('Deny access to wp-config.php file.', 'wp-htaccess-control'); ?></td>
141
  </tr>
142
  <tr valign="top">
143
  <th scope="row"><?php _e('Protect htaccess file', 'wp-htaccess-control'); ?></th>
144
  <td style="width:3%;" valign="middle">
145
- <input type="checkbox" name="WPhtc_protect_htaccess" value="true" <?php if($WPhtc_data['protect_htaccess']){ echo "checked";}?>/>
 
 
146
  </td>
147
- <td valign="middle"><?php _e('Deny access to .htaccess file.', 'wp-htaccess-control'); ?></td>
148
  </tr>
149
  <tr valign="top">
150
  <th scope="row"><?php _e('mod_gzip', 'wp-htaccess-control'); ?></th>
151
  <td style="width:3%;" valign="middle">
152
  <input type="checkbox" name="WPhtc_gzip" value="true" <?php if($WPhtc_data['gzip']){ echo "checked";}?>/>
153
  </td>
154
- <td valign="middle"><?php _e('Use mod_gzip if available.', 'wp-htaccess-control'); ?></td>
 
 
155
  </tr>
156
  <tr valign="top">
157
  <th scope="row"><?php _e('mod_deflate', 'wp-htaccess-control'); ?></th>
158
  <td style="width:3%;" valign="middle">
159
  <input type="checkbox" name="WPhtc_deflate" value="true" <?php if($WPhtc_data['deflate']){ echo "checked";}?>/>
160
  </td>
161
- <td valign="middle"><?php _e('Use mod_deflate if available.', 'wp-htaccess-control'); ?></td>
 
 
162
  </tr>
163
-
164
-
165
  <tr valign="top">
166
  <th scope="row"><?php _e('Limit Upload Size', 'wp-htaccess-control'); ?></th>
167
  <td style="width:3%;" valign="middle">
168
  <input type="text" name="WPhtc_up_limit" value="<?php echo $WPhtc_data['up_limit']?>"/>
169
  </td>
170
- <td valign="middle"><?php _e('If set, this value in MB will be used as limit to file uploads.', 'wp-htaccess-control'); ?></td>
 
 
171
  </tr>
172
  <tr valign="top">
173
  <th scope="row"><?php _e('Admin Email', 'wp-htaccess-control'); ?></th>
174
  <td style="width:3%;">
175
  <input type="text" name="WPhtc_admin_email" value="<?php echo $WPhtc_data['admin_email']?>"/>
176
  </td>
177
- <td valign="middle"><?php _e('If set, this will be used as the admin email on server generated error pages.', 'wp-htaccess-control'); ?></td>
 
 
178
  </tr>
179
  <tr valign="top">
180
  <th scope="row"><?php _e('Disable hotlinking', 'wp-htaccess-control'); ?></th>
181
  <td style="width:3%;">
182
  <input type="text" name="WPhtc_disable_hotlink" value="<?php echo $WPhtc_data['disable_hotlink']?>"/>
183
  </td>
184
- <td valign="middle"><?php _e('If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use "-".', 'wp-htaccess-control'); ?></td>
 
 
185
  </tr>
186
  <tr valign="top">
187
  <th scope="row"><?php _e('500 error', 'wp-htaccess-control'); ?></th>
188
  <td style="width:3%;" valign="middle">
189
  <input type="text" name="WPhtc_redirect_500" value="<?php echo $WPhtc_data['redirect_500']?>"/>
190
  </td>
191
- <td valign="middle"><?php _e('If set, this path will be used as page to 500 errors (example: /error.php).', 'wp-htaccess-control'); ?></td>
 
 
 
 
 
 
 
 
 
 
 
192
  </tr>
193
  <tr valign="top">
194
  <th scope="row" valign="middle"><?php _e('Canonical Url', 'wp-htaccess-control'); ?></th>
@@ -199,32 +234,76 @@ $WPhtc_data=get_option('WPhtc_data');
199
  <option value="simple" <?php if($WPhtc_data['canon']=='simple'){echo "selected";} ?>><?php _e('Force non-WWW', 'wp-htaccess-control'); ?></option>
200
  </select>
201
  </td>
202
- <td valign="middle"><?php _e('This will force canonization. This will be done by simply modifying the wordpress "site url" and "home" options (not htaccess).', 'wp-htaccess-control'); ?></td>
 
 
203
  </tr>
204
  </table>
205
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  <div class="wphtc-section">
207
  <div class="wphtc-section-title stuffbox">
208
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
209
- <h3><?php _e('Rewrite Pairs', 'wp-htaccess-control'); ?></h3>
210
-
211
  </div>
212
- <table id="htaccess-rules" class="form-table wphtc-inputs">
213
- <caption>
214
- <a class="add-rewrite-pair button-secondary" href="#AddRewritePair" title="Add new htaccess redirection pair"><?php _e('Add rule', 'wp-htaccess-control'); ?></a>
215
- <span class="description"><?php _e('These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules.', 'wp-htaccess-control'); ?></span>
216
- </caption>
217
- <?php
218
- $num=count($WPhtc_data['pats'])?count($WPhtc_data['pats']):1;
219
- for($i=0;$i<$num;$i++){?>
220
- <tr id="rule-<?php echo $i;?>" valign="top">
221
- <td style="width:45%"><input type="text" style="width:100%" name="WPhtc_pat<?php echo $i;?>" value="<?php echo $WPhtc_data['pats'][$i]; ?>" /></td>
222
- <td style="width:45%"><input type="text" style="width:100%" name="WPhtc_sub<?php echo $i;?>" value="<?php echo $WPhtc_data['subs'][$i]; ?>" /></td>
223
- <td style="width:10%;" valign="middle"><a class="button-secondary" href="<?php echo $purl ?>&action=delete_pair&pair=<?php echo $i?>"><?php _e('Delete Pair', 'wp-htaccess-control'); ?></a></td>
224
- </tr>
225
- <?php } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  </table>
227
- </div>
228
  <input type="hidden" name="action" value="update" />
229
  <input id="WPhtc_num" type="hidden" name="WPhtc_num" value="<?php echo $num;?>" />
230
  <div class="wphtc-menu">
19
  <?php if($echo!=''){?>
20
  <div class="updated fade" id="message" style="background-color: rgb(255, 251, 204);"><p><?php echo $echo;?></p></div>
21
  <?php }?>
22
+ <!-- Custom Author Permalink -->
23
  <div class="wphtc-section">
24
  <div class="wphtc-section-title stuffbox">
25
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
52
  <?php } ?>
53
  </table>
54
  </div>
55
+ <!-- Custom Pagination Permalink -->
56
  <div class="wphtc-section">
57
  <div class="wphtc-section-title stuffbox">
58
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
73
  </tr>
74
  </table>
75
  </div>
76
+ <!-- Custom htaccess -->
77
  <div class="wphtc-section">
78
  <div class="wphtc-section-title stuffbox">
79
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
86
  </td>
87
  <td style="width:50%;">
88
  <p class="description"><?php _e('This rules will be printed before any Wordpress rules.', 'wp-htaccess-control'); ?></p>
89
+ <p class="description"><?php _e('Please double check them before saving as a mistake could make your site inaccessible.', 'wp-htaccess-control'); ?></p>
90
+ <ul class="description">
91
+ <li><a href="http://www.google.com/search?q=htaccess+tutorial" title="Search for htaccess tutorials"><img src="http://google.com/favicon.ico" alt="google favicon"> htaccess tutorial</a></li>
92
+ <li><a href="http://httpd.apache.org/docs/current/howto/htaccess.html" title="Read about htaccess at apache.org"><img src="http://apache.org/favicon.ico" alt="apache favicon"> htaccess</a></li>
93
+ <li><a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html" title="Read about mod_rewrite at apache.org"><img src="http://apache.org/favicon.ico" alt="apache favicon"> mod_rewrite</a></li>
94
+ </ul>
95
  </td>
96
  </tr>
97
  </table>
98
  </div>
99
+ <!-- Replace Wordpress htaccess -->
100
  <div class="wphtc-section">
101
  <div class="wphtc-section-title stuffbox">
102
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
103
+ <h3><?php _e('Replace Wordpress htaccess', 'wp-htaccess-control'); ?></h3>
104
  </div>
105
  <table class="form-table wphtc-inputs">
106
  <tr valign="top">
112
  </td>
113
  <td style="width:50%;">
114
  <p class="description"><?php _e('This rules will be printed instead of Wordpress rules.', 'wp-htaccess-control'); ?></p>
115
+ <p class="description"><?php _e('Please double check them before saving as a mistake could make your site inaccessible.', 'wp-htaccess-control'); ?></p>
116
  <p class="description"><?php _e('Original rules:', 'wp-htaccess-control'); ?></p>
117
  <p class="description">
118
+ <code><?php echo nl2br(htmlspecialchars(substr($WPhtc_data['htaccess_original'],0,-1)));?></code>
119
  </p>
120
  </td>
121
  </tr>
122
  </table>
123
  </div>
124
+ <!-- htaccess Suggestions -->
125
  <div class="wphtc-section">
126
  <div class="wphtc-section-title stuffbox">
127
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
133
  <td style="width:3%;" valign="middle">
134
  <input type="checkbox" name="WPhtc_disable_serversignature" value="true" <?php if($WPhtc_data['disable_serversignature']){ echo "checked";}?>/>
135
  </td>
136
+ <td valign="middle">
137
+ <p class="description"><?php _e('Disable the ServerSignature on server generated error pages.', 'wp-htaccess-control'); ?></p>
138
+ </td>
139
  </tr>
140
  <tr valign="top">
141
  <th scope="row"><?php _e('Indexes', 'wp-htaccess-control'); ?></th>
142
  <td style="width:3%;" valign="middle">
143
+ <input type="checkbox" name="WPhtc_disable_indexes" value="true" <?php if($WPhtc_data['disable_indexes']){ echo "checked";}?>/>
144
+ </td>
145
+ <td valign="middle">
146
+ <p class="description"><?php _e('Disable directory browsing.', 'wp-htaccess-control'); ?></p>
147
  </td>
 
148
  </tr>
149
  <tr valign="top">
150
  <th scope="row"><?php _e('Protect wp-config.php file', 'wp-htaccess-control'); ?></th>
151
  <td style="width:3%;" valign="middle">
152
+ <input type="checkbox" name="WPhtc_protect_wp_config" value="true" <?php if($WPhtc_data['protect_wp_config']){ echo "checked";}?>/> </td>
153
+ <td valign="middle">
154
+ <p class="description"><?php _e('Deny access to wp-config.php file.', 'wp-htaccess-control'); ?></p>
155
  </td>
 
156
  </tr>
157
  <tr valign="top">
158
  <th scope="row"><?php _e('Protect htaccess file', 'wp-htaccess-control'); ?></th>
159
  <td style="width:3%;" valign="middle">
160
+ <input type="checkbox" name="WPhtc_protect_htaccess" value="true" <?php if($WPhtc_data['protect_htaccess']){ echo "checked";}?>/> </td>
161
+ <td valign="middle">
162
+ <p class="description"><?php _e('Deny access to .htaccess file.', 'wp-htaccess-control'); ?></p>
163
  </td>
 
164
  </tr>
165
  <tr valign="top">
166
  <th scope="row"><?php _e('mod_gzip', 'wp-htaccess-control'); ?></th>
167
  <td style="width:3%;" valign="middle">
168
  <input type="checkbox" name="WPhtc_gzip" value="true" <?php if($WPhtc_data['gzip']){ echo "checked";}?>/>
169
  </td>
170
+ <td valign="middle">
171
+ <p class="description"><?php _e('Use mod_gzip if available.', 'wp-htaccess-control'); ?></p>
172
+ </td>
173
  </tr>
174
  <tr valign="top">
175
  <th scope="row"><?php _e('mod_deflate', 'wp-htaccess-control'); ?></th>
176
  <td style="width:3%;" valign="middle">
177
  <input type="checkbox" name="WPhtc_deflate" value="true" <?php if($WPhtc_data['deflate']){ echo "checked";}?>/>
178
  </td>
179
+ <td valign="middle">
180
+ <p class="description"><?php _e('Use mod_deflate if available.', 'wp-htaccess-control'); ?></p>
181
+ </td>
182
  </tr>
 
 
183
  <tr valign="top">
184
  <th scope="row"><?php _e('Limit Upload Size', 'wp-htaccess-control'); ?></th>
185
  <td style="width:3%;" valign="middle">
186
  <input type="text" name="WPhtc_up_limit" value="<?php echo $WPhtc_data['up_limit']?>"/>
187
  </td>
188
+ <td valign="middle">
189
+ <p class="description"><?php _e('If set, this value in MB will be used as limit to file uploads.', 'wp-htaccess-control'); ?></p>
190
+ </td>
191
  </tr>
192
  <tr valign="top">
193
  <th scope="row"><?php _e('Admin Email', 'wp-htaccess-control'); ?></th>
194
  <td style="width:3%;">
195
  <input type="text" name="WPhtc_admin_email" value="<?php echo $WPhtc_data['admin_email']?>"/>
196
  </td>
197
+ <td valign="middle">
198
+ <p class="description"><?php _e('If set, this will be used as the admin email on server generated error pages.', 'wp-htaccess-control'); ?></p>
199
+ </td>
200
  </tr>
201
  <tr valign="top">
202
  <th scope="row"><?php _e('Disable hotlinking', 'wp-htaccess-control'); ?></th>
203
  <td style="width:3%;">
204
  <input type="text" name="WPhtc_disable_hotlink" value="<?php echo $WPhtc_data['disable_hotlink']?>"/>
205
  </td>
206
+ <td valign="middle">
207
+ <p class="description"><?php _e('If set, this url will be used as redirection to hotlinked images (you should be using an image url here). If you prefer no output on hotlinked images use "-".', 'wp-htaccess-control'); ?></p>
208
+ </td>
209
  </tr>
210
  <tr valign="top">
211
  <th scope="row"><?php _e('500 error', 'wp-htaccess-control'); ?></th>
212
  <td style="width:3%;" valign="middle">
213
  <input type="text" name="WPhtc_redirect_500" value="<?php echo $WPhtc_data['redirect_500']?>"/>
214
  </td>
215
+ <td valign="middle">
216
+ <p class="description"><?php _e('If set, this path will be used as page to 500 errors (example: /error.php).', 'wp-htaccess-control'); ?></p>
217
+ </td>
218
+ </tr>
219
+ <tr valign="top">
220
+ <th scope="row"><?php _e('403 error', 'wp-htaccess-control'); ?></th>
221
+ <td style="width:3%;" valign="middle">
222
+ <input type="text" name="WPhtc_redirect_403" value="<?php echo $WPhtc_data['redirect_403']?>"/>
223
+ </td>
224
+ <td valign="middle">
225
+ <p class="description"><?php _e('If set, this path will be used as page to 403 errors (example: /error.php).', 'wp-htaccess-control'); ?></p>
226
+ </td>
227
  </tr>
228
  <tr valign="top">
229
  <th scope="row" valign="middle"><?php _e('Canonical Url', 'wp-htaccess-control'); ?></th>
234
  <option value="simple" <?php if($WPhtc_data['canon']=='simple'){echo "selected";} ?>><?php _e('Force non-WWW', 'wp-htaccess-control'); ?></option>
235
  </select>
236
  </td>
237
+ <td valign="middle">
238
+ <p class="description"><?php _e('This will force canonization. This will be done by simply modifying the wordpress "site url" and "home" options (not htaccess).', 'wp-htaccess-control'); ?></p>
239
+ </td>
240
  </tr>
241
  </table>
242
  </div>
243
+ <!-- Rewrite Pairs -->
244
+ <?php # deprecate in the future
245
+ if(isset($WPhtc_data['pats'][0])){?>
246
+ <div class="wphtc-section">
247
+ <div class="wphtc-section-title stuffbox">
248
+ <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
249
+ <h3><?php _e('Rewrite Pairs', 'wp-htaccess-control'); ?><br/><span class="description" style="color:red;"><?php _e('You should migrate your rewrite pairs into the "Custom htaccess" rules above. The "Rewrite Pairs" will be removed in future versions as they lack functionality.')?></span> </h3>
250
+
251
+ </div>
252
+ <table id="htaccess-rules" class="form-table wphtc-inputs">
253
+ <caption>
254
+ <!--<a class="add-rewrite-pair button-secondary" href="#AddRewritePair" title="Add new htaccess redirection pair"><?php _e('Add rule', 'wp-htaccess-control'); ?></a>
255
+ <span class="description"><?php _e('These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules.', 'wp-htaccess-control'); ?></span>-->
256
+
257
+ </caption>
258
+ <?php
259
+ $num=count($WPhtc_data['pats'])?count($WPhtc_data['pats']):1;
260
+ for($i=0;$i<$num;$i++){?>
261
+ <tr id="rule-<?php echo $i;?>" valign="top">
262
+ <td style="width:45%"><input type="text" style="width:100%" name="WPhtc_pat<?php echo $i;?>" value="<?php echo $WPhtc_data['pats'][$i]; ?>" /></td>
263
+ <td style="width:45%"><input type="text" style="width:100%" name="WPhtc_sub<?php echo $i;?>" value="<?php echo $WPhtc_data['subs'][$i]; ?>" /></td>
264
+ <td style="width:10%;" valign="middle"><a class="button-secondary" href="<?php echo $purl ?>&action=delete_pair&pair=<?php echo $i?>"><?php _e('Delete Pair', 'wp-htaccess-control'); ?></a></td>
265
+ </tr>
266
+ <?php } ?>
267
+ </table>
268
+ </div>
269
+ <?php }?>
270
+ <!-- Maintenance Mode -->
271
  <div class="wphtc-section">
272
  <div class="wphtc-section-title stuffbox">
273
  <div title="Click to toggle" class="handlediv" style="background:url('<?php bloginfo("wpurl")?>/wp-admin/images/menu-bits.gif') no-repeat scroll left -111px transparent"><br></div>
274
+ <h3><?php _e('Maintenance Mode', 'wp-htaccess-control'); ?></h3>
 
275
  </div>
276
+ <table class="form-table wphtc-inputs">
277
+ <tr valign="top">
278
+ <th scope="row" style="width:18%;"><?php _e('Maintenance Active', 'wp-htaccess-control'); ?></th>
279
+ <td valign="middle">
280
+ <input type="checkbox" name="WPhtc_maintenance_active" value="true" <?php if($WPhtc_data['maintenance_active']){ echo "checked";}?>/>
281
+ </td>
282
+ <td valign="middle">
283
+ <p class="description"><?php _e('Toggles Maintenance Mode.', 'wp-htaccess-control'); ?></p>
284
+ </td>
285
+ </tr>
286
+ <tr valign="top">
287
+ <th scope="row" style="width:18%;"><?php _e('Allowed IPs', 'wp-htaccess-control'); ?></th>
288
+ <td>
289
+ <textarea name="WPhtc_maintenance_ips"><?php if(isset($WPhtc_data['maintenance_ips'])){echo implode($WPhtc_data['maintenance_ips'],"\n");}?></textarea>
290
+ </td>
291
+ <td valign="middle">
292
+ <p class="description"><?php _e('List of allowed IPs.', 'wp-htaccess-control'); ?></p>
293
+ <p class="description"><?php _e('All the IPs not listed will view the 403 error page or be redirected to a page set below.', 'wp-htaccess-control'); ?></p>
294
+ </td>
295
+ </tr>
296
+ <tr valign="top">
297
+ <th scope="row" style="width:18%;"><?php _e('Redirection', 'wp-htaccess-control'); ?></th>
298
+ <td>
299
+ <input type="text" name="WPhtc_maintenance_redirection" value="<?php echo $WPhtc_data['maintenance_redirection']?>"/>
300
+ </td>
301
+ <td valign="middle">
302
+ <p class="description"><?php _e('If set, this will be used as redirection for disallowed IPs. This could be an external url or a document on your server (local paths begin with a trailing slash)', 'wp-htaccess-control'); ?></p>
303
+ </td>
304
+ </tr>
305
  </table>
306
+ </div>
307
  <input type="hidden" name="action" value="update" />
308
  <input id="WPhtc_num" type="hidden" name="WPhtc_num" value="<?php echo $num;?>" />
309
  <div class="wphtc-menu">
wp-htaccess-control.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP htaccess Control
4
  Plugin URI: http://dardna.com/wp-htaccess-control
5
  Description: Provides an interface to add custom htaccess rules to the htaccess file generated by wordpress. Also provides customisation of the Author Permalink Base and of Paginated Permalinks.
6
- Version: 1.7
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
@@ -38,7 +38,7 @@ if (!class_exists("WPhtc")) {
38
  function wphtc_check_first_run(){
39
  # flush rules to get some data filled
40
  $WPhtc_data=get_option('WPhtc_data');
41
- if(!isset($WPhtc_data['original_hta'])){
42
  global $wp_rewrite;
43
  $wp_rewrite->flush_rules();
44
  }
@@ -122,14 +122,19 @@ if (!class_exists("WPhtc")) {
122
  # Adding rewrite pairs to the .htaccess generated by Wordpress, everytime the rules are flush
123
  function wphtc_wp_rewrite_rules($wp_rewrite){
124
  $WPhtc_data=get_option('WPhtc_data');
125
- for($i=0;$i<count($WPhtc_data['pats']);$i++){
126
- if($WPhtc_data['pats'][$i]!=''&&$WPhtc_data['subs'][$i]!=''){
127
- # Adding each custom rewrite pair to $wp_rewrite->non_wp_rules['pattern']='substitution'
128
- $wp_rewrite->non_wp_rules[$WPhtc_data['pats'][$i]]=$WPhtc_data['subs'][$i];
 
 
 
129
  }
130
- }
131
  # Keeping a copy of the generated htaccess in our option array for later reviewing
132
  $WPhtc_data['cur_hta']='# BEGIN Wordpress<br/>'.nl2br($wp_rewrite->mod_rewrite_rules())."# END Wordpress";
 
 
133
  update_option('WPhtc_data',$WPhtc_data);
134
  return $wp_rewrite;
135
  }
@@ -137,10 +142,37 @@ if (!class_exists("WPhtc")) {
137
  function wphtc_hta_rules($rules){
138
  $WPhtc_data=get_option('WPhtc_data');
139
  # keeping original hta
140
- if(!isset($WPhtc_data['original_hta'])||$WPhtc_data['original_hta']!=$rules){
141
- $WPhtc_data['original_hta']=$rules;
142
  update_option('WPhtc_data',$WPhtc_data);
143
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  if($WPhtc_data['hta']){
145
  $new_rules.="\n# WPhtc: Begin Custom htaccess\n";
146
  $new_rules.=stripslashes($WPhtc_data['hta'])."\n";
@@ -167,6 +199,10 @@ if (!class_exists("WPhtc")) {
167
  $new_rules.="\n# WPhtC: Setting 500 Error page\n";
168
  $new_rules.="ErrorDocument 500 ".$WPhtc_data['redirect_500']."\n";
169
  }
 
 
 
 
170
  if($WPhtc_data['protect_wp_config']){
171
  $new_rules.="\n# WPhtC: Protect WP-config.php\n";
172
  $new_rules.="<files wp-config.php>\n";
@@ -336,10 +372,22 @@ if (!class_exists("WPhtc")) {
336
  $WPhtc_data['protect_htaccess']=$_POST['WPhtc_protect_htaccess'];
337
  $WPhtc_data['disable_hotlink']=trim($_POST['WPhtc_disable_hotlink']);
338
  $WPhtc_data['redirect_500']=trim($_POST['WPhtc_redirect_500']);
 
339
  $WPhtc_data['canon']=$_POST['WPhtc_canon'];
340
  $WPhtc_data['admin_email']=trim($_POST['WPhtc_admin_email']);
341
  $WPhtc_data['deflate']=trim($_POST['WPhtc_deflate']);
342
  $WPhtc_data['gzip']=trim($_POST['WPhtc_gzip']);
 
 
 
 
 
 
 
 
 
 
 
343
 
344
  # Unsetting inclusion of Author pages on Google XML Sitemap options, we'll add those links to the sitemap later with our Custom Author Permalink
345
  $WPhtc_data['sm_enabled']=$_POST['WPhtc_sm_enabled'];
3
  Plugin Name: WP htaccess Control
4
  Plugin URI: http://dardna.com/wp-htaccess-control
5
  Description: Provides an interface to add custom htaccess rules to the htaccess file generated by wordpress. Also provides customisation of the Author Permalink Base and of Paginated Permalinks.
6
+ Version: 1.8
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
38
  function wphtc_check_first_run(){
39
  # flush rules to get some data filled
40
  $WPhtc_data=get_option('WPhtc_data');
41
+ if(!isset($WPhtc_data['htaccess_original'])){
42
  global $wp_rewrite;
43
  $wp_rewrite->flush_rules();
44
  }
122
  # Adding rewrite pairs to the .htaccess generated by Wordpress, everytime the rules are flush
123
  function wphtc_wp_rewrite_rules($wp_rewrite){
124
  $WPhtc_data=get_option('WPhtc_data');
125
+
126
+ # Deprecate in the future
127
+ for($i=0;$i<count($WPhtc_data['pats']);$i++){
128
+ if($WPhtc_data['pats'][$i]!=''&&$WPhtc_data['subs'][$i]!=''){
129
+ # Adding each custom rewrite pair to $wp_rewrite->non_wp_rules['pattern']='substitution'
130
+ $wp_rewrite->non_wp_rules[$WPhtc_data['pats'][$i]]=$WPhtc_data['subs'][$i];
131
+ }
132
  }
133
+
134
  # Keeping a copy of the generated htaccess in our option array for later reviewing
135
  $WPhtc_data['cur_hta']='# BEGIN Wordpress<br/>'.nl2br($wp_rewrite->mod_rewrite_rules())."# END Wordpress";
136
+ # deprecating original_hta
137
+ unset($WPhtc_data['original_hta']);
138
  update_option('WPhtc_data',$WPhtc_data);
139
  return $wp_rewrite;
140
  }
142
  function wphtc_hta_rules($rules){
143
  $WPhtc_data=get_option('WPhtc_data');
144
  # keeping original hta
145
+ if(!isset($WPhtc_data['htaccess_original'])){
146
+ $WPhtc_data['htaccess_original']=$rules;
147
  update_option('WPhtc_data',$WPhtc_data);
148
  }
149
+ # Maintenance Mode
150
+ if($WPhtc_data['maintenance_active']&&isset($WPhtc_data['maintenance_ips'][0])){
151
+ $no_ips=count($WPhtc_data['maintenance_ips']);
152
+ $new_rules.="\n# WPhtc: Begin Maintenance Mode\n";
153
+ # redirect
154
+ if($WPhtc_data['maintenance_redirection']!=''){
155
+ $new_rules.="RewriteEngine on\n";
156
+ $new_rules.="RewriteCond %{REQUEST_URI} !\.(jpe?g|png|gif) [NC]\n";
157
+ for($i=0;$i<$no_ips;$i++){
158
+ $new_rules.="RewriteCond %{REMOTE_HOST} !^".str_replace(".","\.",trim($WPhtc_data['maintenance_ips'][$i]))."\n";
159
+ }
160
+ if(substr($WPhtc_data['maintenance_redirection'],0,1)=="/"){
161
+ $new_rules.="RewriteCond %{REQUEST_URI} !".$WPhtc_data['maintenance_redirection']."$ [NC]\n";
162
+ }
163
+ $new_rules.="RewriteRule .* ".$WPhtc_data['maintenance_redirection']." [R=302,L]\n";
164
+ }
165
+ # no redirection
166
+ else{
167
+ $new_rules.="order deny,allow\n";
168
+ $new_rules.="deny from all\n";
169
+ foreach($WPhtc_data['maintenance_ips'] as $ip){
170
+ $new_rules.="allow from ".$ip."\n";
171
+ }
172
+ }
173
+ $new_rules.="# WPhtc: End Maintenance Mode\n";
174
+ }
175
+ # Custom htaccess
176
  if($WPhtc_data['hta']){
177
  $new_rules.="\n# WPhtc: Begin Custom htaccess\n";
178
  $new_rules.=stripslashes($WPhtc_data['hta'])."\n";
199
  $new_rules.="\n# WPhtC: Setting 500 Error page\n";
200
  $new_rules.="ErrorDocument 500 ".$WPhtc_data['redirect_500']."\n";
201
  }
202
+ if($WPhtc_data['redirect_403']){
203
+ $new_rules.="\n# WPhtC: Setting 403 Error page\n";
204
+ $new_rules.="ErrorDocument 403 ".$WPhtc_data['redirect_403']."\n";
205
+ }
206
  if($WPhtc_data['protect_wp_config']){
207
  $new_rules.="\n# WPhtC: Protect WP-config.php\n";
208
  $new_rules.="<files wp-config.php>\n";
372
  $WPhtc_data['protect_htaccess']=$_POST['WPhtc_protect_htaccess'];
373
  $WPhtc_data['disable_hotlink']=trim($_POST['WPhtc_disable_hotlink']);
374
  $WPhtc_data['redirect_500']=trim($_POST['WPhtc_redirect_500']);
375
+ $WPhtc_data['redirect_403']=trim($_POST['WPhtc_redirect_403']);
376
  $WPhtc_data['canon']=$_POST['WPhtc_canon'];
377
  $WPhtc_data['admin_email']=trim($_POST['WPhtc_admin_email']);
378
  $WPhtc_data['deflate']=trim($_POST['WPhtc_deflate']);
379
  $WPhtc_data['gzip']=trim($_POST['WPhtc_gzip']);
380
+ # get maintenance
381
+ $WPhtc_data['maintenance_active']=$_POST['WPhtc_maintenance_active'];
382
+ $lines=preg_split("/\n|,/",$_POST['WPhtc_maintenance_ips']);
383
+ $WPhtc_data['maintenance_ips']=array();
384
+ foreach($lines as $line){
385
+ trim($line);
386
+ if(preg_match("/[a-z,0-9,\.]/",$line)){
387
+ $WPhtc_data['maintenance_ips'][]=$line;
388
+ }
389
+ }
390
+ $WPhtc_data['maintenance_redirection']=trim($_POST['WPhtc_maintenance_redirection']);
391
 
392
  # Unsetting inclusion of Author pages on Google XML Sitemap options, we'll add those links to the sitemap later with our Custom Author Permalink
393
  $WPhtc_data['sm_enabled']=$_POST['WPhtc_sm_enabled'];