WP htaccess Control - Version 1.9

Version Description

(22/10/2010) = * Feature: adding "Category-based archives".

Download this release

Release Info

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

Code changes from version 1.8 to 1.9

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.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"
@@ -74,227 +74,249 @@ msgid "If you do not want to use a custom Pagination Permalink base just leave t
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
 
1
+ # Translation of the WordPress plugin WP htaccess Control 1.9 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.9\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
+ "POT-Creation-Date: 2010-10-21 23:27+0000\n"
11
+ "PO-Revision-Date: 2010-10-22 00:30-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
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 "Category Archives"
78
+ msgstr "Arquivos de Categoria"
79
+
80
+ #: wp-htaccess-control-ui.php:84
81
+ msgid "Activate"
82
+ msgstr "Activar"
83
+
84
+ #: wp-htaccess-control-ui.php:89
85
+ msgid "If active, category-based archives will be accessible using the structure:"
86
+ msgstr "Se activo, arquivos para categoria serão acessiveis utilizando a seguinte estrutura:"
87
+
88
+ #: wp-htaccess-control-ui.php:90
89
+ #: wp-htaccess-control-ui.php:91
90
+ msgid "your-category-base"
91
+ msgstr "a-sua-base-de-categoria"
92
+
93
+ #: wp-htaccess-control-ui.php:90
94
+ #: wp-htaccess-control-ui.php:91
95
+ msgid "your-category"
96
+ msgstr "a-sua-categoria"
97
+
98
+ #: wp-htaccess-control-ui.php:100
99
  msgid "Custom htaccess"
100
  msgstr "htaccess Personalizado"
101
 
102
+ #: wp-htaccess-control-ui.php:108
103
  msgid "This rules will be printed before any Wordpress rules."
104
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
105
 
106
+ #: wp-htaccess-control-ui.php:109
107
+ #: wp-htaccess-control-ui.php:135
108
  msgid "Please double check them before saving as a mistake could make your site inaccessible."
109
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
110
 
111
+ #: wp-htaccess-control-ui.php:123
112
  msgid "Replace Wordpress htaccess"
113
  msgstr "Substituir htaccess do Wordpress"
114
 
115
+ #: wp-htaccess-control-ui.php:129
116
  msgid "Leave empty for default."
117
  msgstr "Deixe em branco para manter as regras por defeito."
118
 
119
+ #: wp-htaccess-control-ui.php:131
120
  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\")"
121
  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\")"
122
 
123
+ #: wp-htaccess-control-ui.php:134
124
  msgid "This rules will be printed instead of Wordpress rules."
125
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
126
 
127
+ #: wp-htaccess-control-ui.php:136
128
  msgid "Original rules:"
129
  msgstr "Regras originais:"
130
 
131
+ #: wp-htaccess-control-ui.php:148
132
  msgid "htaccess Suggestions"
133
  msgstr "Sugestões de htaccess"
134
 
135
+ #: wp-htaccess-control-ui.php:152
136
  msgid "ServerSignature"
137
  msgstr "ServerSignature"
138
 
139
+ #: wp-htaccess-control-ui.php:157
140
  msgid "Disable the ServerSignature on server generated error pages."
141
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
142
 
143
+ #: wp-htaccess-control-ui.php:161
144
  msgid "Indexes"
145
  msgstr "Índices"
146
 
147
+ #: wp-htaccess-control-ui.php:166
148
  msgid "Disable directory browsing."
149
  msgstr "Desactivar a navegação de directórios via browser."
150
 
151
+ #: wp-htaccess-control-ui.php:170
152
  msgid "Protect wp-config.php file"
153
  msgstr "Proteger ficheiro wp-config.php"
154
 
155
+ #: wp-htaccess-control-ui.php:174
156
  msgid "Deny access to wp-config.php file."
157
  msgstr "Recusar acesso ao ficheiro wp-config.php."
158
 
159
+ #: wp-htaccess-control-ui.php:178
160
  msgid "Protect htaccess file"
161
  msgstr "Proteger ficheiro htaccess"
162
 
163
+ #: wp-htaccess-control-ui.php:182
164
  msgid "Deny access to .htaccess file."
165
  msgstr "Recusar acesso ao ficheiro htaccess."
166
 
167
+ #: wp-htaccess-control-ui.php:186
168
  msgid "mod_gzip"
169
  msgstr "mod_gzip"
170
 
171
+ #: wp-htaccess-control-ui.php:191
172
  msgid "Use mod_gzip if available."
173
  msgstr "Utilizar mod_gzip se disponível."
174
 
175
+ #: wp-htaccess-control-ui.php:195
176
  msgid "mod_deflate"
177
  msgstr "mod_deflate"
178
 
179
+ #: wp-htaccess-control-ui.php:200
180
  msgid "Use mod_deflate if available."
181
  msgstr "Utilizar mod_deflate se disponível."
182
 
183
+ #: wp-htaccess-control-ui.php:204
184
  msgid "Limit Upload Size"
185
  msgstr "Limitar Tamanho de Upload"
186
 
187
+ #: wp-htaccess-control-ui.php:209
188
  msgid "If set, this value in MB will be used as limit to file uploads."
189
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
190
 
191
+ #: wp-htaccess-control-ui.php:213
192
  msgid "Admin Email"
193
  msgstr "Email do Administrador"
194
 
195
+ #: wp-htaccess-control-ui.php:218
196
  msgid "If set, this will be used as the admin email on server generated error pages."
197
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
198
 
199
+ #: wp-htaccess-control-ui.php:222
200
  msgid "Disable hotlinking"
201
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
202
 
203
+ #: wp-htaccess-control-ui.php:227
204
  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 \"-\"."
205
  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 \"-\"."
206
 
207
+ #: wp-htaccess-control-ui.php:231
208
  msgid "500 error"
209
  msgstr "Erro 500"
210
 
211
+ #: wp-htaccess-control-ui.php:236
212
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
213
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
214
 
215
+ #: wp-htaccess-control-ui.php:240
216
  msgid "403 error"
217
  msgstr "Erro 403"
218
 
219
+ #: wp-htaccess-control-ui.php:245
220
  msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
221
  msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
222
 
223
+ #: wp-htaccess-control-ui.php:249
224
  msgid "Canonical Url"
225
  msgstr "Url Canónica"
226
 
227
+ #: wp-htaccess-control-ui.php:253
228
  msgid "Force WWW"
229
  msgstr "Forçar WWW"
230
 
231
+ #: wp-htaccess-control-ui.php:254
232
  msgid "Force non-WWW"
233
  msgstr "Forçar sem-WWW"
234
 
235
+ #: wp-htaccess-control-ui.php:258
236
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
237
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
238
 
239
+ #: wp-htaccess-control-ui.php:269
240
  msgid "Rewrite Pairs"
241
  msgstr "Pares Rewrite"
242
 
243
+ #: wp-htaccess-control-ui.php:269
244
  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."
245
  msgstr ""
246
 
247
+ #: wp-htaccess-control-ui.php:274
248
  msgid "Add rule"
249
  msgstr "Juntar regra"
250
 
251
+ #: wp-htaccess-control-ui.php:275
252
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
253
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
254
 
255
+ #: wp-htaccess-control-ui.php:284
256
  msgid "Delete Pair"
257
  msgstr "Apagar Par"
258
 
259
+ #: wp-htaccess-control-ui.php:294
260
  msgid "Maintenance Mode"
261
  msgstr "Modo de Manutenção"
262
 
263
+ #: wp-htaccess-control-ui.php:298
264
  msgid "Maintenance Active"
265
  msgstr "Manutenção Activa"
266
 
267
+ #: wp-htaccess-control-ui.php:303
268
  msgid "Toggles Maintenance Mode."
269
  msgstr "Alternar Modo de Manutenção"
270
 
271
+ #: wp-htaccess-control-ui.php:307
272
  msgid "Allowed IPs"
273
  msgstr "IPs permitidos"
274
 
275
+ #: wp-htaccess-control-ui.php:312
276
  msgid "List of allowed IPs."
277
  msgstr "Lista de IPs permitidos."
278
 
279
+ #: wp-htaccess-control-ui.php:313
280
  msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
281
  msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
282
 
283
+ #: wp-htaccess-control-ui.php:317
284
  msgid "Redirection"
285
  msgstr "Redireccionamento"
286
 
287
+ #: wp-htaccess-control-ui.php:322
288
  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)"
289
  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 \"/\")"
290
 
291
+ #: wp-htaccess-control-ui.php:330
292
  msgid "Reset all rules"
293
  msgstr "Reiniciar todas as Regras"
294
 
295
+ #: wp-htaccess-control-ui.php:331
296
  msgid "Save all changes"
297
  msgstr "Salvar todas as modificações"
298
 
299
+ #: wp-htaccess-control-ui.php:337
300
  msgid "Current htaccess file as it is generated by Wordpress"
301
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
302
 
303
+ #: wp-htaccess-control-ui.php:345
304
  msgid "by"
305
  msgstr "por"
306
 
307
+ #: wp-htaccess-control.php:330
308
  msgid "All rules reset."
309
  msgstr "Todas as regras foram reiniciadas."
310
 
311
+ #: wp-htaccess-control.php:421
312
  msgid "All options updated."
313
  msgstr "As modificações foram salvas."
314
 
315
+ #: wp-htaccess-control.php:429
316
  msgid "Wordpress Rewrite pairs reset."
317
  msgstr "Pares de Rewrite do Wordpress reiniciados."
318
 
319
+ #: wp-htaccess-control.php:435
320
  msgid "Wordpress Rewrite pair deleted."
321
  msgstr "Par de Rewrite do Wordpress apagado."
322
 
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.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"
@@ -74,227 +74,249 @@ msgid "If you do not want to use a custom Pagination Permalink base just leave t
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
 
1
+ # Translation of the WordPress plugin WP htaccess Control 1.9 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.9\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
+ "POT-Creation-Date: 2010-10-21 23:27+0000\n"
11
+ "PO-Revision-Date: 2010-10-22 00:30-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
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 "Category Archives"
78
+ msgstr "Arquivos de Categoria"
79
+
80
+ #: wp-htaccess-control-ui.php:84
81
+ msgid "Activate"
82
+ msgstr "Activar"
83
+
84
+ #: wp-htaccess-control-ui.php:89
85
+ msgid "If active, category-based archives will be accessible using the structure:"
86
+ msgstr "Se activo, arquivos para categoria serão acessiveis utilizando a seguinte estrutura:"
87
+
88
+ #: wp-htaccess-control-ui.php:90
89
+ #: wp-htaccess-control-ui.php:91
90
+ msgid "your-category-base"
91
+ msgstr "a-sua-base-de-categoria"
92
+
93
+ #: wp-htaccess-control-ui.php:90
94
+ #: wp-htaccess-control-ui.php:91
95
+ msgid "your-category"
96
+ msgstr "a-sua-categoria"
97
+
98
+ #: wp-htaccess-control-ui.php:100
99
  msgid "Custom htaccess"
100
  msgstr "htaccess Personalizado"
101
 
102
+ #: wp-htaccess-control-ui.php:108
103
  msgid "This rules will be printed before any Wordpress rules."
104
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
105
 
106
+ #: wp-htaccess-control-ui.php:109
107
+ #: wp-htaccess-control-ui.php:135
108
  msgid "Please double check them before saving as a mistake could make your site inaccessible."
109
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
110
 
111
+ #: wp-htaccess-control-ui.php:123
112
  msgid "Replace Wordpress htaccess"
113
  msgstr "Substituir htaccess do Wordpress"
114
 
115
+ #: wp-htaccess-control-ui.php:129
116
  msgid "Leave empty for default."
117
  msgstr "Deixe em branco para manter as regras por defeito."
118
 
119
+ #: wp-htaccess-control-ui.php:131
120
  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\")"
121
  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\")"
122
 
123
+ #: wp-htaccess-control-ui.php:134
124
  msgid "This rules will be printed instead of Wordpress rules."
125
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
126
 
127
+ #: wp-htaccess-control-ui.php:136
128
  msgid "Original rules:"
129
  msgstr "Regras originais:"
130
 
131
+ #: wp-htaccess-control-ui.php:148
132
  msgid "htaccess Suggestions"
133
  msgstr "Sugestões de htaccess"
134
 
135
+ #: wp-htaccess-control-ui.php:152
136
  msgid "ServerSignature"
137
  msgstr "ServerSignature"
138
 
139
+ #: wp-htaccess-control-ui.php:157
140
  msgid "Disable the ServerSignature on server generated error pages."
141
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
142
 
143
+ #: wp-htaccess-control-ui.php:161
144
  msgid "Indexes"
145
  msgstr "Índices"
146
 
147
+ #: wp-htaccess-control-ui.php:166
148
  msgid "Disable directory browsing."
149
  msgstr "Desactivar a navegação de directórios via browser."
150
 
151
+ #: wp-htaccess-control-ui.php:170
152
  msgid "Protect wp-config.php file"
153
  msgstr "Proteger ficheiro wp-config.php"
154
 
155
+ #: wp-htaccess-control-ui.php:174
156
  msgid "Deny access to wp-config.php file."
157
  msgstr "Recusar acesso ao ficheiro wp-config.php."
158
 
159
+ #: wp-htaccess-control-ui.php:178
160
  msgid "Protect htaccess file"
161
  msgstr "Proteger ficheiro htaccess"
162
 
163
+ #: wp-htaccess-control-ui.php:182
164
  msgid "Deny access to .htaccess file."
165
  msgstr "Recusar acesso ao ficheiro htaccess."
166
 
167
+ #: wp-htaccess-control-ui.php:186
168
  msgid "mod_gzip"
169
  msgstr "mod_gzip"
170
 
171
+ #: wp-htaccess-control-ui.php:191
172
  msgid "Use mod_gzip if available."
173
  msgstr "Utilizar mod_gzip se disponível."
174
 
175
+ #: wp-htaccess-control-ui.php:195
176
  msgid "mod_deflate"
177
  msgstr "mod_deflate"
178
 
179
+ #: wp-htaccess-control-ui.php:200
180
  msgid "Use mod_deflate if available."
181
  msgstr "Utilizar mod_deflate se disponível."
182
 
183
+ #: wp-htaccess-control-ui.php:204
184
  msgid "Limit Upload Size"
185
  msgstr "Limitar Tamanho de Upload"
186
 
187
+ #: wp-htaccess-control-ui.php:209
188
  msgid "If set, this value in MB will be used as limit to file uploads."
189
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
190
 
191
+ #: wp-htaccess-control-ui.php:213
192
  msgid "Admin Email"
193
  msgstr "Email do Administrador"
194
 
195
+ #: wp-htaccess-control-ui.php:218
196
  msgid "If set, this will be used as the admin email on server generated error pages."
197
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
198
 
199
+ #: wp-htaccess-control-ui.php:222
200
  msgid "Disable hotlinking"
201
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
202
 
203
+ #: wp-htaccess-control-ui.php:227
204
  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 \"-\"."
205
  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 \"-\"."
206
 
207
+ #: wp-htaccess-control-ui.php:231
208
  msgid "500 error"
209
  msgstr "Erro 500"
210
 
211
+ #: wp-htaccess-control-ui.php:236
212
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
213
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
214
 
215
+ #: wp-htaccess-control-ui.php:240
216
  msgid "403 error"
217
  msgstr "Erro 403"
218
 
219
+ #: wp-htaccess-control-ui.php:245
220
  msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
221
  msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
222
 
223
+ #: wp-htaccess-control-ui.php:249
224
  msgid "Canonical Url"
225
  msgstr "Url Canónica"
226
 
227
+ #: wp-htaccess-control-ui.php:253
228
  msgid "Force WWW"
229
  msgstr "Forçar WWW"
230
 
231
+ #: wp-htaccess-control-ui.php:254
232
  msgid "Force non-WWW"
233
  msgstr "Forçar sem-WWW"
234
 
235
+ #: wp-htaccess-control-ui.php:258
236
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
237
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
238
 
239
+ #: wp-htaccess-control-ui.php:269
240
  msgid "Rewrite Pairs"
241
  msgstr "Pares Rewrite"
242
 
243
+ #: wp-htaccess-control-ui.php:269
244
  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."
245
  msgstr ""
246
 
247
+ #: wp-htaccess-control-ui.php:274
248
  msgid "Add rule"
249
  msgstr "Juntar regra"
250
 
251
+ #: wp-htaccess-control-ui.php:275
252
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
253
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
254
 
255
+ #: wp-htaccess-control-ui.php:284
256
  msgid "Delete Pair"
257
  msgstr "Apagar Par"
258
 
259
+ #: wp-htaccess-control-ui.php:294
260
  msgid "Maintenance Mode"
261
  msgstr "Modo de Manutenção"
262
 
263
+ #: wp-htaccess-control-ui.php:298
264
  msgid "Maintenance Active"
265
  msgstr "Manutenção Activa"
266
 
267
+ #: wp-htaccess-control-ui.php:303
268
  msgid "Toggles Maintenance Mode."
269
  msgstr "Alternar Modo de Manutenção"
270
 
271
+ #: wp-htaccess-control-ui.php:307
272
  msgid "Allowed IPs"
273
  msgstr "IPs permitidos"
274
 
275
+ #: wp-htaccess-control-ui.php:312
276
  msgid "List of allowed IPs."
277
  msgstr "Lista de IPs permitidos."
278
 
279
+ #: wp-htaccess-control-ui.php:313
280
  msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
281
  msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
282
 
283
+ #: wp-htaccess-control-ui.php:317
284
  msgid "Redirection"
285
  msgstr "Redireccionamento"
286
 
287
+ #: wp-htaccess-control-ui.php:322
288
  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)"
289
  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 \"/\")"
290
 
291
+ #: wp-htaccess-control-ui.php:330
292
  msgid "Reset all rules"
293
  msgstr "Reiniciar todas as Regras"
294
 
295
+ #: wp-htaccess-control-ui.php:331
296
  msgid "Save all changes"
297
  msgstr "Salvar todas as modificações"
298
 
299
+ #: wp-htaccess-control-ui.php:337
300
  msgid "Current htaccess file as it is generated by Wordpress"
301
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
302
 
303
+ #: wp-htaccess-control-ui.php:345
304
  msgid "by"
305
  msgstr "por"
306
 
307
+ #: wp-htaccess-control.php:330
308
  msgid "All rules reset."
309
  msgstr "Todas as regras foram reiniciadas."
310
 
311
+ #: wp-htaccess-control.php:421
312
  msgid "All options updated."
313
  msgstr "As modificações foram salvas."
314
 
315
+ #: wp-htaccess-control.php:429
316
  msgid "Wordpress Rewrite pairs reset."
317
  msgstr "Pares de Rewrite do Wordpress reiniciados."
318
 
319
+ #: wp-htaccess-control.php:435
320
  msgid "Wordpress Rewrite pair deleted."
321
  msgstr "Par de Rewrite do Wordpress apagado."
322
 
lang/wp-htaccess-control.pot CHANGED
@@ -1,4 +1,4 @@
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,9 +6,9 @@
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"
@@ -84,249 +84,270 @@ msgid ""
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
 
1
+ # Translation of the WordPress plugin WP htaccess Control 1.9 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.9\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
11
+ "POT-Creation-Date: 2010-10-21 23:27+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"
84
  msgstr ""
85
 
86
  #: wp-htaccess-control-ui.php:80
87
+ msgid "Category Archives"
88
+ msgstr ""
89
+
90
+ #: wp-htaccess-control-ui.php:84
91
+ msgid "Activate"
92
+ msgstr ""
93
+
94
+ #: wp-htaccess-control-ui.php:89
95
+ msgid ""
96
+ "If active, category-based archives will be accessible using the structure:"
97
+ msgstr ""
98
+
99
+ #: wp-htaccess-control-ui.php:90 wp-htaccess-control-ui.php:91
100
+ msgid "your-category-base"
101
+ msgstr ""
102
+
103
+ #: wp-htaccess-control-ui.php:90 wp-htaccess-control-ui.php:91
104
+ msgid "your-category"
105
+ msgstr ""
106
+
107
+ #: wp-htaccess-control-ui.php:100
108
  msgid "Custom htaccess"
109
  msgstr ""
110
 
111
+ #: wp-htaccess-control-ui.php:108
112
  msgid "This rules will be printed before any Wordpress rules."
113
  msgstr ""
114
 
115
+ #: wp-htaccess-control-ui.php:109 wp-htaccess-control-ui.php:135
116
  msgid ""
117
  "Please double check them before saving as a mistake could make your site "
118
  "inaccessible."
119
  msgstr ""
120
 
121
+ #: wp-htaccess-control-ui.php:123
122
  msgid "Replace Wordpress htaccess"
123
  msgstr ""
124
 
125
+ #: wp-htaccess-control-ui.php:129
126
  msgid "Leave empty for default."
127
  msgstr ""
128
 
129
+ #: wp-htaccess-control-ui.php:131
130
  msgid ""
131
  "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim "
132
  "Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up "
133
  "your WP mod_rewrite code by a factor of more than two\")"
134
  msgstr ""
135
 
136
+ #: wp-htaccess-control-ui.php:134
137
  msgid "This rules will be printed instead of Wordpress rules."
138
  msgstr ""
139
 
140
+ #: wp-htaccess-control-ui.php:136
141
  msgid "Original rules:"
142
  msgstr ""
143
 
144
+ #: wp-htaccess-control-ui.php:148
145
  msgid "htaccess Suggestions"
146
  msgstr ""
147
 
148
+ #: wp-htaccess-control-ui.php:152
149
  msgid "ServerSignature"
150
  msgstr ""
151
 
152
+ #: wp-htaccess-control-ui.php:157
153
  msgid "Disable the ServerSignature on server generated error pages."
154
  msgstr ""
155
 
156
+ #: wp-htaccess-control-ui.php:161
157
  msgid "Indexes"
158
  msgstr ""
159
 
160
+ #: wp-htaccess-control-ui.php:166
161
  msgid "Disable directory browsing."
162
  msgstr ""
163
 
164
+ #: wp-htaccess-control-ui.php:170
165
  msgid "Protect wp-config.php file"
166
  msgstr ""
167
 
168
+ #: wp-htaccess-control-ui.php:174
169
  msgid "Deny access to wp-config.php file."
170
  msgstr ""
171
 
172
+ #: wp-htaccess-control-ui.php:178
173
  msgid "Protect htaccess file"
174
  msgstr ""
175
 
176
+ #: wp-htaccess-control-ui.php:182
177
  msgid "Deny access to .htaccess file."
178
  msgstr ""
179
 
180
+ #: wp-htaccess-control-ui.php:186
181
  msgid "mod_gzip"
182
  msgstr ""
183
 
184
+ #: wp-htaccess-control-ui.php:191
185
  msgid "Use mod_gzip if available."
186
  msgstr ""
187
 
188
+ #: wp-htaccess-control-ui.php:195
189
  msgid "mod_deflate"
190
  msgstr ""
191
 
192
+ #: wp-htaccess-control-ui.php:200
193
  msgid "Use mod_deflate if available."
194
  msgstr ""
195
 
196
+ #: wp-htaccess-control-ui.php:204
197
  msgid "Limit Upload Size"
198
  msgstr ""
199
 
200
+ #: wp-htaccess-control-ui.php:209
201
  msgid "If set, this value in MB will be used as limit to file uploads."
202
  msgstr ""
203
 
204
+ #: wp-htaccess-control-ui.php:213
205
  msgid "Admin Email"
206
  msgstr ""
207
 
208
+ #: wp-htaccess-control-ui.php:218
209
  msgid ""
210
  "If set, this will be used as the admin email on server generated error pages."
211
  msgstr ""
212
 
213
+ #: wp-htaccess-control-ui.php:222
214
  msgid "Disable hotlinking"
215
  msgstr ""
216
 
217
+ #: wp-htaccess-control-ui.php:227
218
  msgid ""
219
  "If set, this url will be used as redirection to hotlinked images (you should "
220
  "be using an image url here). If you prefer no output on hotlinked images use "
221
  "\"-\"."
222
  msgstr ""
223
 
224
+ #: wp-htaccess-control-ui.php:231
225
  msgid "500 error"
226
  msgstr ""
227
 
228
+ #: wp-htaccess-control-ui.php:236
229
  msgid ""
230
  "If set, this path will be used as page to 500 errors (example: /error.php)."
231
  msgstr ""
232
 
233
+ #: wp-htaccess-control-ui.php:240
234
  msgid "403 error"
235
  msgstr ""
236
 
237
+ #: wp-htaccess-control-ui.php:245
238
  msgid ""
239
  "If set, this path will be used as page to 403 errors (example: /error.php)."
240
  msgstr ""
241
 
242
+ #: wp-htaccess-control-ui.php:249
243
  msgid "Canonical Url"
244
  msgstr ""
245
 
246
+ #: wp-htaccess-control-ui.php:253
247
  msgid "Force WWW"
248
  msgstr ""
249
 
250
+ #: wp-htaccess-control-ui.php:254
251
  msgid "Force non-WWW"
252
  msgstr ""
253
 
254
+ #: wp-htaccess-control-ui.php:258
255
  msgid ""
256
  "This will force canonization. This will be done by simply modifying the "
257
  "wordpress \"site url\" and \"home\" options (not htaccess)."
258
  msgstr ""
259
 
260
+ #: wp-htaccess-control-ui.php:269
261
  msgid "Rewrite Pairs"
262
  msgstr ""
263
 
264
+ #: wp-htaccess-control-ui.php:269
265
  msgid ""
266
  "You should migrate your rewrite pairs into the \"Custom htaccess\" rules "
267
  "above. The \"Rewrite Pairs\" will be removed in future versions as they lack "
268
  "functionality."
269
  msgstr ""
270
 
271
+ #: wp-htaccess-control-ui.php:274
272
  msgid "Add rule"
273
  msgstr ""
274
 
275
+ #: wp-htaccess-control-ui.php:275
276
  msgid ""
277
  "These are rewrite pairs (RewriteRule) which Wordpress can add inside its "
278
  "rules."
279
  msgstr ""
280
 
281
+ #: wp-htaccess-control-ui.php:284
282
  msgid "Delete Pair"
283
  msgstr ""
284
 
285
+ #: wp-htaccess-control-ui.php:294
286
  msgid "Maintenance Mode"
287
  msgstr ""
288
 
289
+ #: wp-htaccess-control-ui.php:298
290
  msgid "Maintenance Active"
291
  msgstr ""
292
 
293
+ #: wp-htaccess-control-ui.php:303
294
  msgid "Toggles Maintenance Mode."
295
  msgstr ""
296
 
297
+ #: wp-htaccess-control-ui.php:307
298
  msgid "Allowed IPs"
299
  msgstr ""
300
 
301
+ #: wp-htaccess-control-ui.php:312
302
  msgid "List of allowed IPs."
303
  msgstr ""
304
 
305
+ #: wp-htaccess-control-ui.php:313
306
  msgid ""
307
  "All the IPs not listed will view the 403 error page or be redirected to a "
308
  "page set below."
309
  msgstr ""
310
 
311
+ #: wp-htaccess-control-ui.php:317
312
  msgid "Redirection"
313
  msgstr ""
314
 
315
+ #: wp-htaccess-control-ui.php:322
316
  msgid ""
317
  "If set, this will be used as redirection for disallowed IPs. This could be "
318
  "an external url or a document on your server (local paths begin with a "
319
  "trailing slash)"
320
  msgstr ""
321
 
322
+ #: wp-htaccess-control-ui.php:330
323
  msgid "Reset all rules"
324
  msgstr ""
325
 
326
+ #: wp-htaccess-control-ui.php:331
327
  msgid "Save all changes"
328
  msgstr ""
329
 
330
+ #: wp-htaccess-control-ui.php:337
331
  msgid "Current htaccess file as it is generated by Wordpress"
332
  msgstr ""
333
 
334
+ #: wp-htaccess-control-ui.php:345
335
  msgid "by"
336
  msgstr ""
337
 
338
+ #: wp-htaccess-control.php:330
339
  msgid "All rules reset."
340
  msgstr ""
341
 
342
+ #: wp-htaccess-control.php:421
343
  msgid "All options updated."
344
  msgstr ""
345
 
346
+ #: wp-htaccess-control.php:429
347
  msgid "Wordpress Rewrite pairs reset."
348
  msgstr ""
349
 
350
+ #: wp-htaccess-control.php:435
351
  msgid "Wordpress Rewrite pair deleted."
352
  msgstr ""
353
 
readme.txt CHANGED
@@ -3,10 +3,10 @@ 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, 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
 
@@ -62,6 +62,10 @@ Suggestions are welcome and please report any bugs found!
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";
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, pagination
7
  Requires at least: 2.7
8
  Tested up to: 3.0.1
9
+ Stable tag: 1.9
10
 
11
  Interface to customize the htaccess file generated by Wordpress and the Author and Pagination Permalinks.
12
 
62
 
63
  == Changelog ==
64
 
65
+ = 1.9 (22/10/2010) =
66
+ * Feature: adding "Category-based archives".
67
+
68
+ = 1.8 (09/09/2010) =
69
  * Feature: adding "Maintenance Mode";
70
  * Feature: adding 403 error page "htaccess suggestion";
71
  * Fix: deprecating the "Rewrite Pairs" as they are superseded by the "Custom htaccess";
wp-htaccess-control-ui.php CHANGED
@@ -73,6 +73,26 @@ $WPhtc_data=get_option('WPhtc_data');
73
  </tr>
74
  </table>
75
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  <!-- Custom htaccess -->
77
  <div class="wphtc-section">
78
  <div class="wphtc-section-title stuffbox">
@@ -88,9 +108,9 @@ $WPhtc_data=get_option('WPhtc_data');
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>
73
  </tr>
74
  </table>
75
  </div>
76
+ <!-- Category-based Archives -->
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>
80
+ <h3><?php _e('Category Archives', 'wp-htaccess-control');?></h3>
81
+ </div>
82
+ <table class="form-table wphtc-inputs">
83
+ <tr valign="top">
84
+ <th scope="row" style="width:18%;"><?php _e('Activate', 'wp-htaccess-control'); ?></th>
85
+ <td >
86
+ <input type="checkbox" name="WPhtc_category_archives" <?php if($WPhtc_data['category_archives']){echo "checked=checked";} ?> />
87
+ </td>
88
+ <td valign="middle">
89
+ <p class="description"><?php _e('If active, category-based archives will be accessible using the structure:', 'wp-htaccess-control'); ?></p>
90
+ <p class="description"><?php bloginfo('home')?>/<?php _e('your-category-base', 'wp-htaccess-control'); ?>/<?php _e('your-category', 'wp-htaccess-control'); ?>/2010</p>
91
+ <p class="description"><?php bloginfo('home')?>/<?php _e('your-category-base', 'wp-htaccess-control'); ?>/<?php _e('your-category', 'wp-htaccess-control'); ?>/2010/12</p>
92
+ </td>
93
+ </tr>
94
+ </table>
95
+ </div>
96
  <!-- Custom htaccess -->
97
  <div class="wphtc-section">
98
  <div class="wphtc-section-title stuffbox">
108
  <p class="description"><?php _e('This rules will be printed before any Wordpress rules.', 'wp-htaccess-control'); ?></p>
109
  <p class="description"><?php _e('Please double check them before saving as a mistake could make your site inaccessible.', 'wp-htaccess-control'); ?></p>
110
  <ul class="description">
111
+ <li><a href="http://www.google.com/search?q=htaccess+tutorial" title="Search for htaccess tutorials"><img width="16px" src="http://google.com/favicon.ico" alt="google favicon"> htaccess tutorial</a></li>
112
+ <li><a href="http://httpd.apache.org/docs/current/howto/htaccess.html" title="Read about htaccess at apache.org"><img width="16px" src="http://apache.org/favicon.ico" alt="apache favicon"> htaccess</a></li>
113
+ <li><a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html" title="Read about mod_rewrite at apache.org"><img width="16px" src="http://apache.org/favicon.ico" alt="apache favicon"> mod_rewrite</a></li>
114
  </ul>
115
  </td>
116
  </tr>
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.8
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
@@ -70,20 +70,30 @@ if (!class_exists("WPhtc")) {
70
  return $redirect_url;
71
  }
72
  }
 
73
  # Replacing the Wordpress Author Permalink by rewriting its rules if we have a Custom Author Permalink, everytime the rules are flush
74
- function wphtc_filter_rewrite_rules($rules){
75
  $WPhtc_data=get_option('WPhtc_data');
 
 
 
 
 
 
 
 
 
76
  if((isset($WPhtc_data['cap'])&&$WPhtc_data['cap']!='')||(isset($WPhtc_data['cpp'])&&$WPhtc_data['cpp']!='')){
77
- $rules=serialize($rules);
78
  if(isset($WPhtc_data['cap'])&&$WPhtc_data['cap']!=''){
79
- $rules=str_replace('author/',$WPhtc_data['cap'].'/',$rules);
80
  }
81
  if(isset($WPhtc_data['cpp'])&&$WPhtc_data['cpp']!=''){
82
- $rules=str_replace('page/',$WPhtc_data['cpp'].'/',$rules);
83
  }
84
- $rules=unserialize(preg_replace('!s:(\d+):"(.*?)";!se', "'s:'.strlen('$2').':\"$2\";'",$rules));
85
  }
86
- return $rules;
87
  }
88
  # Adding our Custom Author Base to the sitemap generated by Google XML Sitemaps
89
  # Adapted from sitemap-core.php line 2036
@@ -300,11 +310,11 @@ if (!class_exists("WPhtc")) {
300
  }
301
  # Enqueue Ui Scripts on Plugin page
302
  function wphtc_page_script(){
303
- wp_enqueue_script("wpHtacControlJS", WP_PLUGIN_URL . '/wp-htaccess-control/wp-htaccess-control-ui.js');
304
  }
305
  # Enqueue Ui Scripts on Plugin page
306
  function wphtc_page_style(){
307
- wp_enqueue_style("wpHtacControlCSS", WP_PLUGIN_URL . '/wp-htaccess-control/wp-htaccess-control-ui.css');
308
  }
309
  # Options Page Actions
310
  function wphtc_page_action(){
@@ -364,6 +374,8 @@ if (!class_exists("WPhtc")) {
364
  $WPhtc_data['wp_hta'].="# else rewrite the request to WP\n";
365
  $WPhtc_data['wp_hta'].="RewriteRule . /index.php [L]\n";
366
  }
 
 
367
  # get htaccess Suggestions
368
  $WPhtc_data['disable_serversignature']=$_POST['WPhtc_disable_serversignature'];
369
  $WPhtc_data['disable_indexes']=$_POST['WPhtc_disable_indexes'];
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.9
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
70
  return $redirect_url;
71
  }
72
  }
73
+ # Adding Category Archives
74
  # Replacing the Wordpress Author Permalink by rewriting its rules if we have a Custom Author Permalink, everytime the rules are flush
75
+ function wphtc_filter_rewrite_rules($rewrite_rules){
76
  $WPhtc_data=get_option('WPhtc_data');
77
+ if(isset($WPhtc_data['category_archives'])){
78
+ $category_base = (get_option('category_base')!='')?get_option('category_base'):'category';
79
+ $page_base=($WPhtc_data['cpp']!='')?$WPhtc_data['cpp']:'page';
80
+ $new_rules = array( $category_base.'/([^/]+)/([0-9]{4})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]',
81
+ $category_base.'/([^/]+)/([0-9]{4})/'.$page_base.'/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&paged=$matches[3]',
82
+ $category_base.'/([^/]+)/([0-9]{4})/([0-9]{2})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]',
83
+ $category_base.'/([^/]+)/([0-9]{4})/([0-9]{2})/'.$page_base.'/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]&paged=$matches[4]');
84
+ $rewrite_rules = $new_rules + $rewrite_rules;
85
+ }
86
  if((isset($WPhtc_data['cap'])&&$WPhtc_data['cap']!='')||(isset($WPhtc_data['cpp'])&&$WPhtc_data['cpp']!='')){
87
+ $rewrite_rules=serialize($rewrite_rules);
88
  if(isset($WPhtc_data['cap'])&&$WPhtc_data['cap']!=''){
89
+ $rewrite_rules=str_replace('author/',$WPhtc_data['cap'].'/',$rewrite_rules);
90
  }
91
  if(isset($WPhtc_data['cpp'])&&$WPhtc_data['cpp']!=''){
92
+ $rewrite_rules=str_replace('page/',$WPhtc_data['cpp'].'/',$rewrite_rules);
93
  }
94
+ $rewrite_rules=unserialize(preg_replace('!s:(\d+):"(.*?)";!se', "'s:'.strlen('$2').':\"$2\";'",$rewrite_rules));
95
  }
96
+ return $rewrite_rules;
97
  }
98
  # Adding our Custom Author Base to the sitemap generated by Google XML Sitemaps
99
  # Adapted from sitemap-core.php line 2036
310
  }
311
  # Enqueue Ui Scripts on Plugin page
312
  function wphtc_page_script(){
313
+ wp_enqueue_script("htaccess-control-js", WP_PLUGIN_URL . '/wp-htaccess-control/wp-htaccess-control-ui.js');
314
  }
315
  # Enqueue Ui Scripts on Plugin page
316
  function wphtc_page_style(){
317
+ wp_enqueue_style("htaccess-control-css", WP_PLUGIN_URL . '/wp-htaccess-control/wp-htaccess-control-ui.css');
318
  }
319
  # Options Page Actions
320
  function wphtc_page_action(){
374
  $WPhtc_data['wp_hta'].="# else rewrite the request to WP\n";
375
  $WPhtc_data['wp_hta'].="RewriteRule . /index.php [L]\n";
376
  }
377
+ # Category Archives
378
+ $WPhtc_data['category_archives']=$_POST['WPhtc_category_archives'];
379
  # get htaccess Suggestions
380
  $WPhtc_data['disable_serversignature']=$_POST['WPhtc_disable_serversignature'];
381
  $WPhtc_data['disable_indexes']=$_POST['WPhtc_disable_indexes'];