WP htaccess Control - Version 2.0

Version Description

(27/11/2010) = * Feature: removal of the category base; * Feature: archives for categories with no base (ie.: "http://example.com/my-category/2010/12").

Download this release

Release Info

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

Code changes from version 1.9.1 to 2.0

lang/wp-htaccess-control-pt_BR.mo CHANGED
Binary file
lang/wp-htaccess-control-pt_BR.po CHANGED
@@ -1,358 +1,372 @@
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-22 00:04+0000\n"
11
- "PO-Revision-Date: 2010-10-22 01:06-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
 
18
- #: wp-htaccess-control-ui.php:14
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 "Advanced Archives"
78
  msgstr "Arquivos Avançados"
79
 
80
- #: wp-htaccess-control-ui.php:84
81
  msgid "Category Archives"
82
  msgstr "Arquivos de Categoria"
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:95
99
  msgid "Author Archives"
100
  msgstr "Arquivos de Autor"
101
 
102
- #: wp-htaccess-control-ui.php:100
103
  msgid "If active, author-based archives will be accessible using the structure:"
104
  msgstr "Se activo, arquivos para autor serão acessiveis utilizando a seguinte estrutura:"
105
 
106
- #: wp-htaccess-control-ui.php:101
107
- #: wp-htaccess-control-ui.php:102
108
  msgid "your-author-base"
109
  msgstr "a-sua-base-de-autor"
110
 
111
- #: wp-htaccess-control-ui.php:101
112
- #: wp-htaccess-control-ui.php:102
113
  msgid "your-author"
114
  msgstr "o-seu-autor"
115
 
116
- #: wp-htaccess-control-ui.php:106
117
  msgid "Tag Archives"
118
  msgstr "Arquivos de Etiqueta"
119
 
120
- #: wp-htaccess-control-ui.php:111
121
  msgid "If active, tag-based archives will be accessible using the structure:"
122
  msgstr "Se activo, arquivos para etiqueta serão acessiveis utilizando a seguinte estrutura:"
123
 
124
- #: wp-htaccess-control-ui.php:112
125
- #: wp-htaccess-control-ui.php:113
126
  msgid "your-tag-base"
127
  msgstr "a-sua-base-de-etiqueta"
128
 
129
- #: wp-htaccess-control-ui.php:112
130
- #: wp-htaccess-control-ui.php:113
131
  msgid "your-tag"
132
  msgstr "(a-sua-tag)"
133
 
134
- #: wp-htaccess-control-ui.php:122
135
  msgid "Custom htaccess"
136
  msgstr "htaccess Personalizado"
137
 
138
- #: wp-htaccess-control-ui.php:130
139
  msgid "This rules will be printed before any Wordpress rules."
140
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
141
 
142
- #: wp-htaccess-control-ui.php:131
143
- #: wp-htaccess-control-ui.php:157
144
  msgid "Please double check them before saving as a mistake could make your site inaccessible."
145
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
146
 
147
- #: wp-htaccess-control-ui.php:145
148
  msgid "Replace Wordpress htaccess"
149
  msgstr "Substituir htaccess do Wordpress"
150
 
151
- #: wp-htaccess-control-ui.php:151
152
  msgid "Leave empty for default."
153
  msgstr "Deixe em branco para manter as regras por defeito."
154
 
155
- #: wp-htaccess-control-ui.php:153
156
  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\")"
157
  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\")"
158
 
159
- #: wp-htaccess-control-ui.php:156
160
  msgid "This rules will be printed instead of Wordpress rules."
161
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
162
 
163
- #: wp-htaccess-control-ui.php:158
164
  msgid "Original rules:"
165
  msgstr "Regras originais:"
166
 
167
- #: wp-htaccess-control-ui.php:170
168
  msgid "htaccess Suggestions"
169
  msgstr "Sugestões de htaccess"
170
 
171
- #: wp-htaccess-control-ui.php:174
172
  msgid "ServerSignature"
173
  msgstr "ServerSignature"
174
 
175
- #: wp-htaccess-control-ui.php:179
176
  msgid "Disable the ServerSignature on server generated error pages."
177
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
178
 
179
- #: wp-htaccess-control-ui.php:183
180
  msgid "Indexes"
181
  msgstr "Índices"
182
 
183
- #: wp-htaccess-control-ui.php:188
184
  msgid "Disable directory browsing."
185
  msgstr "Desactivar a navegação de directórios via browser."
186
 
187
- #: wp-htaccess-control-ui.php:192
188
  msgid "Protect wp-config.php file"
189
  msgstr "Proteger ficheiro wp-config.php"
190
 
191
- #: wp-htaccess-control-ui.php:196
192
  msgid "Deny access to wp-config.php file."
193
  msgstr "Recusar acesso ao ficheiro wp-config.php."
194
 
195
- #: wp-htaccess-control-ui.php:200
196
  msgid "Protect htaccess file"
197
  msgstr "Proteger ficheiro htaccess"
198
 
199
- #: wp-htaccess-control-ui.php:204
200
  msgid "Deny access to .htaccess file."
201
  msgstr "Recusar acesso ao ficheiro htaccess."
202
 
203
- #: wp-htaccess-control-ui.php:208
204
  msgid "mod_gzip"
205
  msgstr "mod_gzip"
206
 
207
- #: wp-htaccess-control-ui.php:213
208
  msgid "Use mod_gzip if available."
209
  msgstr "Utilizar mod_gzip se disponível."
210
 
211
- #: wp-htaccess-control-ui.php:217
212
  msgid "mod_deflate"
213
  msgstr "mod_deflate"
214
 
215
- #: wp-htaccess-control-ui.php:222
216
  msgid "Use mod_deflate if available."
217
  msgstr "Utilizar mod_deflate se disponível."
218
 
219
- #: wp-htaccess-control-ui.php:226
220
  msgid "Limit Upload Size"
221
  msgstr "Limitar Tamanho de Upload"
222
 
223
- #: wp-htaccess-control-ui.php:231
224
  msgid "If set, this value in MB will be used as limit to file uploads."
225
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
226
 
227
- #: wp-htaccess-control-ui.php:235
228
  msgid "Admin Email"
229
  msgstr "Email do Administrador"
230
 
231
- #: wp-htaccess-control-ui.php:240
232
  msgid "If set, this will be used as the admin email on server generated error pages."
233
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
234
 
235
- #: wp-htaccess-control-ui.php:244
236
  msgid "Disable hotlinking"
237
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
238
 
239
- #: wp-htaccess-control-ui.php:249
240
  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 \"-\"."
241
  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 \"-\"."
242
 
243
- #: wp-htaccess-control-ui.php:253
244
  msgid "500 error"
245
  msgstr "Erro 500"
246
 
247
- #: wp-htaccess-control-ui.php:258
248
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
249
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
250
 
251
- #: wp-htaccess-control-ui.php:262
252
  msgid "403 error"
253
  msgstr "Erro 403"
254
 
255
- #: wp-htaccess-control-ui.php:267
256
  msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
257
  msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
258
 
259
- #: wp-htaccess-control-ui.php:271
260
  msgid "Canonical Url"
261
  msgstr "Url Canónica"
262
 
263
- #: wp-htaccess-control-ui.php:275
264
  msgid "Force WWW"
265
  msgstr "Forçar WWW"
266
 
267
- #: wp-htaccess-control-ui.php:276
268
  msgid "Force non-WWW"
269
  msgstr "Forçar sem-WWW"
270
 
271
- #: wp-htaccess-control-ui.php:280
272
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
273
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
274
 
275
- #: wp-htaccess-control-ui.php:291
276
  msgid "Rewrite Pairs"
277
  msgstr "Pares Rewrite"
278
 
279
- #: wp-htaccess-control-ui.php:291
280
  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."
281
  msgstr ""
282
 
283
- #: wp-htaccess-control-ui.php:296
284
  msgid "Add rule"
285
  msgstr "Juntar regra"
286
 
287
- #: wp-htaccess-control-ui.php:297
288
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
289
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
290
 
291
- #: wp-htaccess-control-ui.php:306
292
  msgid "Delete Pair"
293
  msgstr "Apagar Par"
294
 
295
- #: wp-htaccess-control-ui.php:316
296
  msgid "Maintenance Mode"
297
  msgstr "Modo de Manutenção"
298
 
299
- #: wp-htaccess-control-ui.php:320
300
  msgid "Maintenance Active"
301
  msgstr "Manutenção Activa"
302
 
303
- #: wp-htaccess-control-ui.php:325
304
  msgid "Toggles Maintenance Mode."
305
  msgstr "Alternar Modo de Manutenção"
306
 
307
- #: wp-htaccess-control-ui.php:329
308
  msgid "Allowed IPs"
309
  msgstr "IPs permitidos"
310
 
311
- #: wp-htaccess-control-ui.php:334
312
  msgid "List of allowed IPs."
313
  msgstr "Lista de IPs permitidos."
314
 
315
- #: wp-htaccess-control-ui.php:335
316
  msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
317
  msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
318
 
319
- #: wp-htaccess-control-ui.php:339
320
  msgid "Redirection"
321
  msgstr "Redireccionamento"
322
 
323
- #: wp-htaccess-control-ui.php:344
324
  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)"
325
  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 \"/\")"
326
 
327
- #: wp-htaccess-control-ui.php:352
328
  msgid "Reset all rules"
329
  msgstr "Reiniciar todas as Regras"
330
 
331
- #: wp-htaccess-control-ui.php:353
332
  msgid "Save all changes"
333
  msgstr "Salvar todas as modificações"
334
 
335
- #: wp-htaccess-control-ui.php:359
336
  msgid "Current htaccess file as it is generated by Wordpress"
337
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
338
 
339
- #: wp-htaccess-control-ui.php:367
340
  msgid "by"
341
  msgstr "por"
342
 
343
- #: wp-htaccess-control.php:345
344
  msgid "All rules reset."
345
  msgstr "Todas as regras foram reiniciadas."
346
 
347
- #: wp-htaccess-control.php:438
348
  msgid "All options updated."
349
  msgstr "As modificações foram salvas."
350
 
351
- #: wp-htaccess-control.php:446
352
  msgid "Wordpress Rewrite pairs reset."
353
  msgstr "Pares de Rewrite do Wordpress reiniciados."
354
 
355
- #: wp-htaccess-control.php:452
356
  msgid "Wordpress Rewrite pair deleted."
357
  msgstr "Par de Rewrite do Wordpress apagado."
358
 
1
+ # Translation of the WordPress plugin WP htaccess Control 2.0 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 2.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
+ "POT-Creation-Date: 2010-11-27 19:02+0000\n"
11
+ "PO-Revision-Date: 2010-11-27 19:04-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
 
18
+ #: wp-htaccess-control-ui.php:15
19
  msgid "Please log in as admin"
20
  msgstr "Por favor ligue-se como administrador"
21
 
22
+ #: wp-htaccess-control-ui.php:27
23
  msgid "Custom Author Permalink"
24
  msgstr "Personalização de Permalink para Autores "
25
 
26
+ #: wp-htaccess-control-ui.php:31
27
  msgid "Author Base"
28
  msgstr "Base de Permalink para Autores"
29
 
30
+ #: wp-htaccess-control-ui.php:34
31
+ #: wp-htaccess-control-ui.php:67
32
  msgid "(your-base)"
33
  msgstr "(a-sua-base)"
34
 
35
+ #: wp-htaccess-control-ui.php:37
36
+ #: wp-htaccess-control-ui.php:70
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:38
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:39
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:46
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:49
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:50
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:60
61
  msgid "Custom Pagination Permalink"
62
  msgstr "Personalização do Permalink para Paginação"
63
 
64
+ #: wp-htaccess-control-ui.php:64
65
  msgid "Page Base"
66
  msgstr "Base de Permalink de Paginação"
67
 
68
+ #: wp-htaccess-control-ui.php:71
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:72
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:81
77
+ #: wp-htaccess-control-ui.php:85
78
+ msgid "Remove Category Base"
79
+ msgstr "Remover Base de Categoria"
80
+
81
+ #: wp-htaccess-control-ui.php:90
82
+ msgid "If active, the category base will be removed from permalinks:"
83
+ msgstr "Se activo, removerá a base de categoria:"
84
+
85
+ #: wp-htaccess-control-ui.php:91
86
+ #: wp-htaccess-control-ui.php:110
87
+ #: wp-htaccess-control-ui.php:111
88
+ msgid "your-category"
89
+ msgstr "a-sua-categoria"
90
+
91
+ #: wp-htaccess-control-ui.php:100
92
  msgid "Advanced Archives"
93
  msgstr "Arquivos Avançados"
94
 
95
+ #: wp-htaccess-control-ui.php:104
96
  msgid "Category Archives"
97
  msgstr "Arquivos de Categoria"
98
 
99
+ #: wp-htaccess-control-ui.php:109
100
  msgid "If active, category-based archives will be accessible using the structure:"
101
  msgstr "Se activo, arquivos para categoria serão acessiveis utilizando a seguinte estrutura:"
102
 
103
+ #: wp-htaccess-control-ui.php:110
104
+ #: wp-htaccess-control-ui.php:111
105
  msgid "your-category-base"
106
  msgstr "a-sua-base-de-categoria"
107
 
108
+ #: wp-htaccess-control-ui.php:112
109
+ msgid "This will also work if you've removed the category base."
110
+ msgstr "Também funcionará se a base de categoria for removida."
 
111
 
112
+ #: wp-htaccess-control-ui.php:116
113
  msgid "Author Archives"
114
  msgstr "Arquivos de Autor"
115
 
116
+ #: wp-htaccess-control-ui.php:121
117
  msgid "If active, author-based archives will be accessible using the structure:"
118
  msgstr "Se activo, arquivos para autor serão acessiveis utilizando a seguinte estrutura:"
119
 
120
+ #: wp-htaccess-control-ui.php:122
121
+ #: wp-htaccess-control-ui.php:123
122
  msgid "your-author-base"
123
  msgstr "a-sua-base-de-autor"
124
 
125
+ #: wp-htaccess-control-ui.php:122
126
+ #: wp-htaccess-control-ui.php:123
127
  msgid "your-author"
128
  msgstr "o-seu-autor"
129
 
130
+ #: wp-htaccess-control-ui.php:127
131
  msgid "Tag Archives"
132
  msgstr "Arquivos de Etiqueta"
133
 
134
+ #: wp-htaccess-control-ui.php:132
135
  msgid "If active, tag-based archives will be accessible using the structure:"
136
  msgstr "Se activo, arquivos para etiqueta serão acessiveis utilizando a seguinte estrutura:"
137
 
138
+ #: wp-htaccess-control-ui.php:133
139
+ #: wp-htaccess-control-ui.php:134
140
  msgid "your-tag-base"
141
  msgstr "a-sua-base-de-etiqueta"
142
 
143
+ #: wp-htaccess-control-ui.php:133
144
+ #: wp-htaccess-control-ui.php:134
145
  msgid "your-tag"
146
  msgstr "(a-sua-tag)"
147
 
148
+ #: wp-htaccess-control-ui.php:143
149
  msgid "Custom htaccess"
150
  msgstr "htaccess Personalizado"
151
 
152
+ #: wp-htaccess-control-ui.php:151
153
  msgid "This rules will be printed before any Wordpress rules."
154
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
155
 
156
+ #: wp-htaccess-control-ui.php:152
157
+ #: wp-htaccess-control-ui.php:178
158
  msgid "Please double check them before saving as a mistake could make your site inaccessible."
159
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
160
 
161
+ #: wp-htaccess-control-ui.php:166
162
  msgid "Replace Wordpress htaccess"
163
  msgstr "Substituir htaccess do Wordpress"
164
 
165
+ #: wp-htaccess-control-ui.php:172
166
  msgid "Leave empty for default."
167
  msgstr "Deixe em branco para manter as regras por defeito."
168
 
169
+ #: wp-htaccess-control-ui.php:174
170
  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\")"
171
  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\")"
172
 
173
+ #: wp-htaccess-control-ui.php:177
174
  msgid "This rules will be printed instead of Wordpress rules."
175
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
176
 
177
+ #: wp-htaccess-control-ui.php:179
178
  msgid "Original rules:"
179
  msgstr "Regras originais:"
180
 
181
+ #: wp-htaccess-control-ui.php:191
182
  msgid "htaccess Suggestions"
183
  msgstr "Sugestões de htaccess"
184
 
185
+ #: wp-htaccess-control-ui.php:195
186
  msgid "ServerSignature"
187
  msgstr "ServerSignature"
188
 
189
+ #: wp-htaccess-control-ui.php:200
190
  msgid "Disable the ServerSignature on server generated error pages."
191
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
192
 
193
+ #: wp-htaccess-control-ui.php:204
194
  msgid "Indexes"
195
  msgstr "Índices"
196
 
197
+ #: wp-htaccess-control-ui.php:209
198
  msgid "Disable directory browsing."
199
  msgstr "Desactivar a navegação de directórios via browser."
200
 
201
+ #: wp-htaccess-control-ui.php:213
202
  msgid "Protect wp-config.php file"
203
  msgstr "Proteger ficheiro wp-config.php"
204
 
205
+ #: wp-htaccess-control-ui.php:217
206
  msgid "Deny access to wp-config.php file."
207
  msgstr "Recusar acesso ao ficheiro wp-config.php."
208
 
209
+ #: wp-htaccess-control-ui.php:221
210
  msgid "Protect htaccess file"
211
  msgstr "Proteger ficheiro htaccess"
212
 
213
+ #: wp-htaccess-control-ui.php:225
214
  msgid "Deny access to .htaccess file."
215
  msgstr "Recusar acesso ao ficheiro htaccess."
216
 
217
+ #: wp-htaccess-control-ui.php:229
218
  msgid "mod_gzip"
219
  msgstr "mod_gzip"
220
 
221
+ #: wp-htaccess-control-ui.php:234
222
  msgid "Use mod_gzip if available."
223
  msgstr "Utilizar mod_gzip se disponível."
224
 
225
+ #: wp-htaccess-control-ui.php:238
226
  msgid "mod_deflate"
227
  msgstr "mod_deflate"
228
 
229
+ #: wp-htaccess-control-ui.php:243
230
  msgid "Use mod_deflate if available."
231
  msgstr "Utilizar mod_deflate se disponível."
232
 
233
+ #: wp-htaccess-control-ui.php:247
234
  msgid "Limit Upload Size"
235
  msgstr "Limitar Tamanho de Upload"
236
 
237
+ #: wp-htaccess-control-ui.php:252
238
  msgid "If set, this value in MB will be used as limit to file uploads."
239
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
240
 
241
+ #: wp-htaccess-control-ui.php:256
242
  msgid "Admin Email"
243
  msgstr "Email do Administrador"
244
 
245
+ #: wp-htaccess-control-ui.php:261
246
  msgid "If set, this will be used as the admin email on server generated error pages."
247
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
248
 
249
+ #: wp-htaccess-control-ui.php:265
250
  msgid "Disable hotlinking"
251
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
252
 
253
+ #: wp-htaccess-control-ui.php:270
254
  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 \"-\"."
255
  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 \"-\"."
256
 
257
+ #: wp-htaccess-control-ui.php:274
258
  msgid "500 error"
259
  msgstr "Erro 500"
260
 
261
+ #: wp-htaccess-control-ui.php:279
262
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
263
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
264
 
265
+ #: wp-htaccess-control-ui.php:283
266
  msgid "403 error"
267
  msgstr "Erro 403"
268
 
269
+ #: wp-htaccess-control-ui.php:288
270
  msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
271
  msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
272
 
273
+ #: wp-htaccess-control-ui.php:292
274
  msgid "Canonical Url"
275
  msgstr "Url Canónica"
276
 
277
+ #: wp-htaccess-control-ui.php:296
278
  msgid "Force WWW"
279
  msgstr "Forçar WWW"
280
 
281
+ #: wp-htaccess-control-ui.php:297
282
  msgid "Force non-WWW"
283
  msgstr "Forçar sem-WWW"
284
 
285
+ #: wp-htaccess-control-ui.php:301
286
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
287
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
288
 
289
+ #: wp-htaccess-control-ui.php:312
290
  msgid "Rewrite Pairs"
291
  msgstr "Pares Rewrite"
292
 
293
+ #: wp-htaccess-control-ui.php:312
294
  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."
295
  msgstr ""
296
 
297
+ #: wp-htaccess-control-ui.php:317
298
  msgid "Add rule"
299
  msgstr "Juntar regra"
300
 
301
+ #: wp-htaccess-control-ui.php:318
302
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
303
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
304
 
305
+ #: wp-htaccess-control-ui.php:327
306
  msgid "Delete Pair"
307
  msgstr "Apagar Par"
308
 
309
+ #: wp-htaccess-control-ui.php:337
310
  msgid "Maintenance Mode"
311
  msgstr "Modo de Manutenção"
312
 
313
+ #: wp-htaccess-control-ui.php:341
314
  msgid "Maintenance Active"
315
  msgstr "Manutenção Activa"
316
 
317
+ #: wp-htaccess-control-ui.php:346
318
  msgid "Toggles Maintenance Mode."
319
  msgstr "Alternar Modo de Manutenção"
320
 
321
+ #: wp-htaccess-control-ui.php:350
322
  msgid "Allowed IPs"
323
  msgstr "IPs permitidos"
324
 
325
+ #: wp-htaccess-control-ui.php:355
326
  msgid "List of allowed IPs."
327
  msgstr "Lista de IPs permitidos."
328
 
329
+ #: wp-htaccess-control-ui.php:356
330
  msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
331
  msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
332
 
333
+ #: wp-htaccess-control-ui.php:360
334
  msgid "Redirection"
335
  msgstr "Redireccionamento"
336
 
337
+ #: wp-htaccess-control-ui.php:365
338
  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)"
339
  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 \"/\")"
340
 
341
+ #: wp-htaccess-control-ui.php:373
342
  msgid "Reset all rules"
343
  msgstr "Reiniciar todas as Regras"
344
 
345
+ #: wp-htaccess-control-ui.php:374
346
  msgid "Save all changes"
347
  msgstr "Salvar todas as modificações"
348
 
349
+ #: wp-htaccess-control-ui.php:380
350
  msgid "Current htaccess file as it is generated by Wordpress"
351
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
352
 
353
+ #: wp-htaccess-control-ui.php:388
354
  msgid "by"
355
  msgstr "por"
356
 
357
+ #: wp-htaccess-control.php:411
358
  msgid "All rules reset."
359
  msgstr "Todas as regras foram reiniciadas."
360
 
361
+ #: wp-htaccess-control.php:504
362
  msgid "All options updated."
363
  msgstr "As modificações foram salvas."
364
 
365
+ #: wp-htaccess-control.php:512
366
  msgid "Wordpress Rewrite pairs reset."
367
  msgstr "Pares de Rewrite do Wordpress reiniciados."
368
 
369
+ #: wp-htaccess-control.php:518
370
  msgid "Wordpress Rewrite pair deleted."
371
  msgstr "Par de Rewrite do Wordpress apagado."
372
 
lang/wp-htaccess-control-pt_PT.mo CHANGED
Binary file
lang/wp-htaccess-control-pt_PT.po CHANGED
@@ -1,358 +1,372 @@
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-22 00:04+0000\n"
11
- "PO-Revision-Date: 2010-10-22 01:06-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
 
18
- #: wp-htaccess-control-ui.php:14
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 "Advanced Archives"
78
  msgstr "Arquivos Avançados"
79
 
80
- #: wp-htaccess-control-ui.php:84
81
  msgid "Category Archives"
82
  msgstr "Arquivos de Categoria"
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:95
99
  msgid "Author Archives"
100
  msgstr "Arquivos de Autor"
101
 
102
- #: wp-htaccess-control-ui.php:100
103
  msgid "If active, author-based archives will be accessible using the structure:"
104
  msgstr "Se activo, arquivos para autor serão acessiveis utilizando a seguinte estrutura:"
105
 
106
- #: wp-htaccess-control-ui.php:101
107
- #: wp-htaccess-control-ui.php:102
108
  msgid "your-author-base"
109
  msgstr "a-sua-base-de-autor"
110
 
111
- #: wp-htaccess-control-ui.php:101
112
- #: wp-htaccess-control-ui.php:102
113
  msgid "your-author"
114
  msgstr "o-seu-autor"
115
 
116
- #: wp-htaccess-control-ui.php:106
117
  msgid "Tag Archives"
118
  msgstr "Arquivos de Etiqueta"
119
 
120
- #: wp-htaccess-control-ui.php:111
121
  msgid "If active, tag-based archives will be accessible using the structure:"
122
  msgstr "Se activo, arquivos para etiqueta serão acessiveis utilizando a seguinte estrutura:"
123
 
124
- #: wp-htaccess-control-ui.php:112
125
- #: wp-htaccess-control-ui.php:113
126
  msgid "your-tag-base"
127
  msgstr "a-sua-base-de-etiqueta"
128
 
129
- #: wp-htaccess-control-ui.php:112
130
- #: wp-htaccess-control-ui.php:113
131
  msgid "your-tag"
132
  msgstr "(a-sua-tag)"
133
 
134
- #: wp-htaccess-control-ui.php:122
135
  msgid "Custom htaccess"
136
  msgstr "htaccess Personalizado"
137
 
138
- #: wp-htaccess-control-ui.php:130
139
  msgid "This rules will be printed before any Wordpress rules."
140
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
141
 
142
- #: wp-htaccess-control-ui.php:131
143
- #: wp-htaccess-control-ui.php:157
144
  msgid "Please double check them before saving as a mistake could make your site inaccessible."
145
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
146
 
147
- #: wp-htaccess-control-ui.php:145
148
  msgid "Replace Wordpress htaccess"
149
  msgstr "Substituir htaccess do Wordpress"
150
 
151
- #: wp-htaccess-control-ui.php:151
152
  msgid "Leave empty for default."
153
  msgstr "Deixe em branco para manter as regras por defeito."
154
 
155
- #: wp-htaccess-control-ui.php:153
156
  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\")"
157
  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\")"
158
 
159
- #: wp-htaccess-control-ui.php:156
160
  msgid "This rules will be printed instead of Wordpress rules."
161
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
162
 
163
- #: wp-htaccess-control-ui.php:158
164
  msgid "Original rules:"
165
  msgstr "Regras originais:"
166
 
167
- #: wp-htaccess-control-ui.php:170
168
  msgid "htaccess Suggestions"
169
  msgstr "Sugestões de htaccess"
170
 
171
- #: wp-htaccess-control-ui.php:174
172
  msgid "ServerSignature"
173
  msgstr "ServerSignature"
174
 
175
- #: wp-htaccess-control-ui.php:179
176
  msgid "Disable the ServerSignature on server generated error pages."
177
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
178
 
179
- #: wp-htaccess-control-ui.php:183
180
  msgid "Indexes"
181
  msgstr "Índices"
182
 
183
- #: wp-htaccess-control-ui.php:188
184
  msgid "Disable directory browsing."
185
  msgstr "Desactivar a navegação de directórios via browser."
186
 
187
- #: wp-htaccess-control-ui.php:192
188
  msgid "Protect wp-config.php file"
189
  msgstr "Proteger ficheiro wp-config.php"
190
 
191
- #: wp-htaccess-control-ui.php:196
192
  msgid "Deny access to wp-config.php file."
193
  msgstr "Recusar acesso ao ficheiro wp-config.php."
194
 
195
- #: wp-htaccess-control-ui.php:200
196
  msgid "Protect htaccess file"
197
  msgstr "Proteger ficheiro htaccess"
198
 
199
- #: wp-htaccess-control-ui.php:204
200
  msgid "Deny access to .htaccess file."
201
  msgstr "Recusar acesso ao ficheiro htaccess."
202
 
203
- #: wp-htaccess-control-ui.php:208
204
  msgid "mod_gzip"
205
  msgstr "mod_gzip"
206
 
207
- #: wp-htaccess-control-ui.php:213
208
  msgid "Use mod_gzip if available."
209
  msgstr "Utilizar mod_gzip se disponível."
210
 
211
- #: wp-htaccess-control-ui.php:217
212
  msgid "mod_deflate"
213
  msgstr "mod_deflate"
214
 
215
- #: wp-htaccess-control-ui.php:222
216
  msgid "Use mod_deflate if available."
217
  msgstr "Utilizar mod_deflate se disponível."
218
 
219
- #: wp-htaccess-control-ui.php:226
220
  msgid "Limit Upload Size"
221
  msgstr "Limitar Tamanho de Upload"
222
 
223
- #: wp-htaccess-control-ui.php:231
224
  msgid "If set, this value in MB will be used as limit to file uploads."
225
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
226
 
227
- #: wp-htaccess-control-ui.php:235
228
  msgid "Admin Email"
229
  msgstr "Email do Administrador"
230
 
231
- #: wp-htaccess-control-ui.php:240
232
  msgid "If set, this will be used as the admin email on server generated error pages."
233
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
234
 
235
- #: wp-htaccess-control-ui.php:244
236
  msgid "Disable hotlinking"
237
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
238
 
239
- #: wp-htaccess-control-ui.php:249
240
  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 \"-\"."
241
  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 \"-\"."
242
 
243
- #: wp-htaccess-control-ui.php:253
244
  msgid "500 error"
245
  msgstr "Erro 500"
246
 
247
- #: wp-htaccess-control-ui.php:258
248
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
249
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
250
 
251
- #: wp-htaccess-control-ui.php:262
252
  msgid "403 error"
253
  msgstr "Erro 403"
254
 
255
- #: wp-htaccess-control-ui.php:267
256
  msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
257
  msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
258
 
259
- #: wp-htaccess-control-ui.php:271
260
  msgid "Canonical Url"
261
  msgstr "Url Canónica"
262
 
263
- #: wp-htaccess-control-ui.php:275
264
  msgid "Force WWW"
265
  msgstr "Forçar WWW"
266
 
267
- #: wp-htaccess-control-ui.php:276
268
  msgid "Force non-WWW"
269
  msgstr "Forçar sem-WWW"
270
 
271
- #: wp-htaccess-control-ui.php:280
272
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
273
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
274
 
275
- #: wp-htaccess-control-ui.php:291
276
  msgid "Rewrite Pairs"
277
  msgstr "Pares Rewrite"
278
 
279
- #: wp-htaccess-control-ui.php:291
280
  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."
281
  msgstr ""
282
 
283
- #: wp-htaccess-control-ui.php:296
284
  msgid "Add rule"
285
  msgstr "Juntar regra"
286
 
287
- #: wp-htaccess-control-ui.php:297
288
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
289
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
290
 
291
- #: wp-htaccess-control-ui.php:306
292
  msgid "Delete Pair"
293
  msgstr "Apagar Par"
294
 
295
- #: wp-htaccess-control-ui.php:316
296
  msgid "Maintenance Mode"
297
  msgstr "Modo de Manutenção"
298
 
299
- #: wp-htaccess-control-ui.php:320
300
  msgid "Maintenance Active"
301
  msgstr "Manutenção Activa"
302
 
303
- #: wp-htaccess-control-ui.php:325
304
  msgid "Toggles Maintenance Mode."
305
  msgstr "Alternar Modo de Manutenção"
306
 
307
- #: wp-htaccess-control-ui.php:329
308
  msgid "Allowed IPs"
309
  msgstr "IPs permitidos"
310
 
311
- #: wp-htaccess-control-ui.php:334
312
  msgid "List of allowed IPs."
313
  msgstr "Lista de IPs permitidos."
314
 
315
- #: wp-htaccess-control-ui.php:335
316
  msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
317
  msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
318
 
319
- #: wp-htaccess-control-ui.php:339
320
  msgid "Redirection"
321
  msgstr "Redireccionamento"
322
 
323
- #: wp-htaccess-control-ui.php:344
324
  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)"
325
  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 \"/\")"
326
 
327
- #: wp-htaccess-control-ui.php:352
328
  msgid "Reset all rules"
329
  msgstr "Reiniciar todas as Regras"
330
 
331
- #: wp-htaccess-control-ui.php:353
332
  msgid "Save all changes"
333
  msgstr "Salvar todas as modificações"
334
 
335
- #: wp-htaccess-control-ui.php:359
336
  msgid "Current htaccess file as it is generated by Wordpress"
337
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
338
 
339
- #: wp-htaccess-control-ui.php:367
340
  msgid "by"
341
  msgstr "por"
342
 
343
- #: wp-htaccess-control.php:345
344
  msgid "All rules reset."
345
  msgstr "Todas as regras foram reiniciadas."
346
 
347
- #: wp-htaccess-control.php:438
348
  msgid "All options updated."
349
  msgstr "As modificações foram salvas."
350
 
351
- #: wp-htaccess-control.php:446
352
  msgid "Wordpress Rewrite pairs reset."
353
  msgstr "Pares de Rewrite do Wordpress reiniciados."
354
 
355
- #: wp-htaccess-control.php:452
356
  msgid "Wordpress Rewrite pair deleted."
357
  msgstr "Par de Rewrite do Wordpress apagado."
358
 
1
+ # Translation of the WordPress plugin WP htaccess Control 2.0 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 2.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
10
+ "POT-Creation-Date: 2010-11-27 19:02+0000\n"
11
+ "PO-Revision-Date: 2010-11-27 19:04-0000\n"
12
  "Last-Translator: António Andrade <dardna@dardna.com>\n"
13
  "Language-Team: \n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
 
18
+ #: wp-htaccess-control-ui.php:15
19
  msgid "Please log in as admin"
20
  msgstr "Por favor ligue-se como administrador"
21
 
22
+ #: wp-htaccess-control-ui.php:27
23
  msgid "Custom Author Permalink"
24
  msgstr "Personalização de Permalink para Autores "
25
 
26
+ #: wp-htaccess-control-ui.php:31
27
  msgid "Author Base"
28
  msgstr "Base de Permalink para Autores"
29
 
30
+ #: wp-htaccess-control-ui.php:34
31
+ #: wp-htaccess-control-ui.php:67
32
  msgid "(your-base)"
33
  msgstr "(a-sua-base)"
34
 
35
+ #: wp-htaccess-control-ui.php:37
36
+ #: wp-htaccess-control-ui.php:70
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:38
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:39
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:46
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:49
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:50
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:60
61
  msgid "Custom Pagination Permalink"
62
  msgstr "Personalização do Permalink para Paginação"
63
 
64
+ #: wp-htaccess-control-ui.php:64
65
  msgid "Page Base"
66
  msgstr "Base de Permalink de Paginação"
67
 
68
+ #: wp-htaccess-control-ui.php:71
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:72
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:81
77
+ #: wp-htaccess-control-ui.php:85
78
+ msgid "Remove Category Base"
79
+ msgstr "Remover Base de Categoria"
80
+
81
+ #: wp-htaccess-control-ui.php:90
82
+ msgid "If active, the category base will be removed from permalinks:"
83
+ msgstr "Se activo, removerá a base de categoria:"
84
+
85
+ #: wp-htaccess-control-ui.php:91
86
+ #: wp-htaccess-control-ui.php:110
87
+ #: wp-htaccess-control-ui.php:111
88
+ msgid "your-category"
89
+ msgstr "a-sua-categoria"
90
+
91
+ #: wp-htaccess-control-ui.php:100
92
  msgid "Advanced Archives"
93
  msgstr "Arquivos Avançados"
94
 
95
+ #: wp-htaccess-control-ui.php:104
96
  msgid "Category Archives"
97
  msgstr "Arquivos de Categoria"
98
 
99
+ #: wp-htaccess-control-ui.php:109
100
  msgid "If active, category-based archives will be accessible using the structure:"
101
  msgstr "Se activo, arquivos para categoria serão acessiveis utilizando a seguinte estrutura:"
102
 
103
+ #: wp-htaccess-control-ui.php:110
104
+ #: wp-htaccess-control-ui.php:111
105
  msgid "your-category-base"
106
  msgstr "a-sua-base-de-categoria"
107
 
108
+ #: wp-htaccess-control-ui.php:112
109
+ msgid "This will also work if you've removed the category base."
110
+ msgstr "Também funcionará se a base de categoria for removida."
 
111
 
112
+ #: wp-htaccess-control-ui.php:116
113
  msgid "Author Archives"
114
  msgstr "Arquivos de Autor"
115
 
116
+ #: wp-htaccess-control-ui.php:121
117
  msgid "If active, author-based archives will be accessible using the structure:"
118
  msgstr "Se activo, arquivos para autor serão acessiveis utilizando a seguinte estrutura:"
119
 
120
+ #: wp-htaccess-control-ui.php:122
121
+ #: wp-htaccess-control-ui.php:123
122
  msgid "your-author-base"
123
  msgstr "a-sua-base-de-autor"
124
 
125
+ #: wp-htaccess-control-ui.php:122
126
+ #: wp-htaccess-control-ui.php:123
127
  msgid "your-author"
128
  msgstr "o-seu-autor"
129
 
130
+ #: wp-htaccess-control-ui.php:127
131
  msgid "Tag Archives"
132
  msgstr "Arquivos de Etiqueta"
133
 
134
+ #: wp-htaccess-control-ui.php:132
135
  msgid "If active, tag-based archives will be accessible using the structure:"
136
  msgstr "Se activo, arquivos para etiqueta serão acessiveis utilizando a seguinte estrutura:"
137
 
138
+ #: wp-htaccess-control-ui.php:133
139
+ #: wp-htaccess-control-ui.php:134
140
  msgid "your-tag-base"
141
  msgstr "a-sua-base-de-etiqueta"
142
 
143
+ #: wp-htaccess-control-ui.php:133
144
+ #: wp-htaccess-control-ui.php:134
145
  msgid "your-tag"
146
  msgstr "(a-sua-tag)"
147
 
148
+ #: wp-htaccess-control-ui.php:143
149
  msgid "Custom htaccess"
150
  msgstr "htaccess Personalizado"
151
 
152
+ #: wp-htaccess-control-ui.php:151
153
  msgid "This rules will be printed before any Wordpress rules."
154
  msgstr "Estas regras serão impressas antes das regras do Wordpress."
155
 
156
+ #: wp-htaccess-control-ui.php:152
157
+ #: wp-htaccess-control-ui.php:178
158
  msgid "Please double check them before saving as a mistake could make your site inaccessible."
159
  msgstr "Por favor reveja as suas regras antes de as salvar pois qualquer erro poder tornar o seu site inacessivel."
160
 
161
+ #: wp-htaccess-control-ui.php:166
162
  msgid "Replace Wordpress htaccess"
163
  msgstr "Substituir htaccess do Wordpress"
164
 
165
+ #: wp-htaccess-control-ui.php:172
166
  msgid "Leave empty for default."
167
  msgstr "Deixe em branco para manter as regras por defeito."
168
 
169
+ #: wp-htaccess-control-ui.php:174
170
  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\")"
171
  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\")"
172
 
173
+ #: wp-htaccess-control-ui.php:177
174
  msgid "This rules will be printed instead of Wordpress rules."
175
  msgstr "Estas regras serão impressas em vez das regras do Wordpress."
176
 
177
+ #: wp-htaccess-control-ui.php:179
178
  msgid "Original rules:"
179
  msgstr "Regras originais:"
180
 
181
+ #: wp-htaccess-control-ui.php:191
182
  msgid "htaccess Suggestions"
183
  msgstr "Sugestões de htaccess"
184
 
185
+ #: wp-htaccess-control-ui.php:195
186
  msgid "ServerSignature"
187
  msgstr "ServerSignature"
188
 
189
+ #: wp-htaccess-control-ui.php:200
190
  msgid "Disable the ServerSignature on server generated error pages."
191
  msgstr "Desactivar a assinatura do servidor (ServerSignature) em páginas de erro geradas pelo mesmo."
192
 
193
+ #: wp-htaccess-control-ui.php:204
194
  msgid "Indexes"
195
  msgstr "Índices"
196
 
197
+ #: wp-htaccess-control-ui.php:209
198
  msgid "Disable directory browsing."
199
  msgstr "Desactivar a navegação de directórios via browser."
200
 
201
+ #: wp-htaccess-control-ui.php:213
202
  msgid "Protect wp-config.php file"
203
  msgstr "Proteger ficheiro wp-config.php"
204
 
205
+ #: wp-htaccess-control-ui.php:217
206
  msgid "Deny access to wp-config.php file."
207
  msgstr "Recusar acesso ao ficheiro wp-config.php."
208
 
209
+ #: wp-htaccess-control-ui.php:221
210
  msgid "Protect htaccess file"
211
  msgstr "Proteger ficheiro htaccess"
212
 
213
+ #: wp-htaccess-control-ui.php:225
214
  msgid "Deny access to .htaccess file."
215
  msgstr "Recusar acesso ao ficheiro htaccess."
216
 
217
+ #: wp-htaccess-control-ui.php:229
218
  msgid "mod_gzip"
219
  msgstr "mod_gzip"
220
 
221
+ #: wp-htaccess-control-ui.php:234
222
  msgid "Use mod_gzip if available."
223
  msgstr "Utilizar mod_gzip se disponível."
224
 
225
+ #: wp-htaccess-control-ui.php:238
226
  msgid "mod_deflate"
227
  msgstr "mod_deflate"
228
 
229
+ #: wp-htaccess-control-ui.php:243
230
  msgid "Use mod_deflate if available."
231
  msgstr "Utilizar mod_deflate se disponível."
232
 
233
+ #: wp-htaccess-control-ui.php:247
234
  msgid "Limit Upload Size"
235
  msgstr "Limitar Tamanho de Upload"
236
 
237
+ #: wp-htaccess-control-ui.php:252
238
  msgid "If set, this value in MB will be used as limit to file uploads."
239
  msgstr "Se preenchido, este valor em MB será utilizado como limite para uploads de ficheiros."
240
 
241
+ #: wp-htaccess-control-ui.php:256
242
  msgid "Admin Email"
243
  msgstr "Email do Administrador"
244
 
245
+ #: wp-htaccess-control-ui.php:261
246
  msgid "If set, this will be used as the admin email on server generated error pages."
247
  msgstr "Se preenchido, este valor será utilizado como email do administrador em páginas de erro geradas pelo servidor."
248
 
249
+ #: wp-htaccess-control-ui.php:265
250
  msgid "Disable hotlinking"
251
  msgstr "Desactivar \"hotlinking\" (proteger imagens)"
252
 
253
+ #: wp-htaccess-control-ui.php:270
254
  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 \"-\"."
255
  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 \"-\"."
256
 
257
+ #: wp-htaccess-control-ui.php:274
258
  msgid "500 error"
259
  msgstr "Erro 500"
260
 
261
+ #: wp-htaccess-control-ui.php:279
262
  msgid "If set, this path will be used as page to 500 errors (example: /error.php)."
263
  msgstr "Se preenchido, esta localização será utilizada como página de erros 500 (exemplo: /erro.php)."
264
 
265
+ #: wp-htaccess-control-ui.php:283
266
  msgid "403 error"
267
  msgstr "Erro 403"
268
 
269
+ #: wp-htaccess-control-ui.php:288
270
  msgid "If set, this path will be used as page to 403 errors (example: /error.php)."
271
  msgstr "Se preenchido, esta localização será utilizada como página de erros 403 (exemplo: /erro.php)."
272
 
273
+ #: wp-htaccess-control-ui.php:292
274
  msgid "Canonical Url"
275
  msgstr "Url Canónica"
276
 
277
+ #: wp-htaccess-control-ui.php:296
278
  msgid "Force WWW"
279
  msgstr "Forçar WWW"
280
 
281
+ #: wp-htaccess-control-ui.php:297
282
  msgid "Force non-WWW"
283
  msgstr "Forçar sem-WWW"
284
 
285
+ #: wp-htaccess-control-ui.php:301
286
  msgid "This will force canonization. This will be done by simply modifying the wordpress \"site url\" and \"home\" options (not htaccess)."
287
  msgstr "Forçar canonização. Não utilizará htaccess mas sim as opções do Wordpress \"site url\" e \"home\"."
288
 
289
+ #: wp-htaccess-control-ui.php:312
290
  msgid "Rewrite Pairs"
291
  msgstr "Pares Rewrite"
292
 
293
+ #: wp-htaccess-control-ui.php:312
294
  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."
295
  msgstr ""
296
 
297
+ #: wp-htaccess-control-ui.php:317
298
  msgid "Add rule"
299
  msgstr "Juntar regra"
300
 
301
+ #: wp-htaccess-control-ui.php:318
302
  msgid "These are rewrite pairs (RewriteRule) which Wordpress can add inside its rules."
303
  msgstr "Estes pares rewrite (RewriteRule) serão adicionados às regras geradas pelo Wordpress."
304
 
305
+ #: wp-htaccess-control-ui.php:327
306
  msgid "Delete Pair"
307
  msgstr "Apagar Par"
308
 
309
+ #: wp-htaccess-control-ui.php:337
310
  msgid "Maintenance Mode"
311
  msgstr "Modo de Manutenção"
312
 
313
+ #: wp-htaccess-control-ui.php:341
314
  msgid "Maintenance Active"
315
  msgstr "Manutenção Activa"
316
 
317
+ #: wp-htaccess-control-ui.php:346
318
  msgid "Toggles Maintenance Mode."
319
  msgstr "Alternar Modo de Manutenção"
320
 
321
+ #: wp-htaccess-control-ui.php:350
322
  msgid "Allowed IPs"
323
  msgstr "IPs permitidos"
324
 
325
+ #: wp-htaccess-control-ui.php:355
326
  msgid "List of allowed IPs."
327
  msgstr "Lista de IPs permitidos."
328
 
329
+ #: wp-htaccess-control-ui.php:356
330
  msgid "All the IPs not listed will view the 403 error page or be redirected to a page set below."
331
  msgstr "Todos os IPs não listados verão a página de erro 403 ou redireccionados para a página indicada abaixo."
332
 
333
+ #: wp-htaccess-control-ui.php:360
334
  msgid "Redirection"
335
  msgstr "Redireccionamento"
336
 
337
+ #: wp-htaccess-control-ui.php:365
338
  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)"
339
  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 \"/\")"
340
 
341
+ #: wp-htaccess-control-ui.php:373
342
  msgid "Reset all rules"
343
  msgstr "Reiniciar todas as Regras"
344
 
345
+ #: wp-htaccess-control-ui.php:374
346
  msgid "Save all changes"
347
  msgstr "Salvar todas as modificações"
348
 
349
+ #: wp-htaccess-control-ui.php:380
350
  msgid "Current htaccess file as it is generated by Wordpress"
351
  msgstr "Ficheiro htaccess tal como gerado actualmente pelo Wordpress"
352
 
353
+ #: wp-htaccess-control-ui.php:388
354
  msgid "by"
355
  msgstr "por"
356
 
357
+ #: wp-htaccess-control.php:411
358
  msgid "All rules reset."
359
  msgstr "Todas as regras foram reiniciadas."
360
 
361
+ #: wp-htaccess-control.php:504
362
  msgid "All options updated."
363
  msgstr "As modificações foram salvas."
364
 
365
+ #: wp-htaccess-control.php:512
366
  msgid "Wordpress Rewrite pairs reset."
367
  msgstr "Pares de Rewrite do Wordpress reiniciados."
368
 
369
+ #: wp-htaccess-control.php:518
370
  msgid "Wordpress Rewrite pair deleted."
371
  msgstr "Par de Rewrite do Wordpress apagado."
372
 
lang/wp-htaccess-control.pot CHANGED
@@ -1,4 +1,4 @@
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,9 +6,9 @@
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-22 00:04+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"
@@ -16,371 +16,384 @@ msgstr ""
16
  "Content-Type: text/plain; charset=utf-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
 
19
- #: wp-htaccess-control-ui.php:14
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 "Advanced Archives"
88
  msgstr ""
89
 
90
- #: wp-htaccess-control-ui.php:84
91
  msgid "Category Archives"
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:95
108
  msgid "Author Archives"
109
  msgstr ""
110
 
111
- #: wp-htaccess-control-ui.php:100
112
  msgid ""
113
  "If active, author-based archives will be accessible using the structure:"
114
  msgstr ""
115
 
116
- #: wp-htaccess-control-ui.php:101 wp-htaccess-control-ui.php:102
117
  msgid "your-author-base"
118
  msgstr ""
119
 
120
- #: wp-htaccess-control-ui.php:101 wp-htaccess-control-ui.php:102
121
  msgid "your-author"
122
  msgstr ""
123
 
124
- #: wp-htaccess-control-ui.php:106
125
  msgid "Tag Archives"
126
  msgstr ""
127
 
128
- #: wp-htaccess-control-ui.php:111
129
  msgid "If active, tag-based archives will be accessible using the structure:"
130
  msgstr ""
131
 
132
- #: wp-htaccess-control-ui.php:112 wp-htaccess-control-ui.php:113
133
  msgid "your-tag-base"
134
  msgstr ""
135
 
136
- #: wp-htaccess-control-ui.php:112 wp-htaccess-control-ui.php:113
137
  msgid "your-tag"
138
  msgstr ""
139
 
140
- #: wp-htaccess-control-ui.php:122
141
  msgid "Custom htaccess"
142
  msgstr ""
143
 
144
- #: wp-htaccess-control-ui.php:130
145
  msgid "This rules will be printed before any Wordpress rules."
146
  msgstr ""
147
 
148
- #: wp-htaccess-control-ui.php:131 wp-htaccess-control-ui.php:157
149
  msgid ""
150
  "Please double check them before saving as a mistake could make your site "
151
  "inaccessible."
152
  msgstr ""
153
 
154
- #: wp-htaccess-control-ui.php:145
155
  msgid "Replace Wordpress htaccess"
156
  msgstr ""
157
 
158
- #: wp-htaccess-control-ui.php:151
159
  msgid "Leave empty for default."
160
  msgstr ""
161
 
162
- #: wp-htaccess-control-ui.php:153
163
  msgid ""
164
  "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim "
165
  "Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up "
166
  "your WP mod_rewrite code by a factor of more than two\")"
167
  msgstr ""
168
 
169
- #: wp-htaccess-control-ui.php:156
170
  msgid "This rules will be printed instead of Wordpress rules."
171
  msgstr ""
172
 
173
- #: wp-htaccess-control-ui.php:158
174
  msgid "Original rules:"
175
  msgstr ""
176
 
177
- #: wp-htaccess-control-ui.php:170
178
  msgid "htaccess Suggestions"
179
  msgstr ""
180
 
181
- #: wp-htaccess-control-ui.php:174
182
  msgid "ServerSignature"
183
  msgstr ""
184
 
185
- #: wp-htaccess-control-ui.php:179
186
  msgid "Disable the ServerSignature on server generated error pages."
187
  msgstr ""
188
 
189
- #: wp-htaccess-control-ui.php:183
190
  msgid "Indexes"
191
  msgstr ""
192
 
193
- #: wp-htaccess-control-ui.php:188
194
  msgid "Disable directory browsing."
195
  msgstr ""
196
 
197
- #: wp-htaccess-control-ui.php:192
198
  msgid "Protect wp-config.php file"
199
  msgstr ""
200
 
201
- #: wp-htaccess-control-ui.php:196
202
  msgid "Deny access to wp-config.php file."
203
  msgstr ""
204
 
205
- #: wp-htaccess-control-ui.php:200
206
  msgid "Protect htaccess file"
207
  msgstr ""
208
 
209
- #: wp-htaccess-control-ui.php:204
210
  msgid "Deny access to .htaccess file."
211
  msgstr ""
212
 
213
- #: wp-htaccess-control-ui.php:208
214
  msgid "mod_gzip"
215
  msgstr ""
216
 
217
- #: wp-htaccess-control-ui.php:213
218
  msgid "Use mod_gzip if available."
219
  msgstr ""
220
 
221
- #: wp-htaccess-control-ui.php:217
222
  msgid "mod_deflate"
223
  msgstr ""
224
 
225
- #: wp-htaccess-control-ui.php:222
226
  msgid "Use mod_deflate if available."
227
  msgstr ""
228
 
229
- #: wp-htaccess-control-ui.php:226
230
  msgid "Limit Upload Size"
231
  msgstr ""
232
 
233
- #: wp-htaccess-control-ui.php:231
234
  msgid "If set, this value in MB will be used as limit to file uploads."
235
  msgstr ""
236
 
237
- #: wp-htaccess-control-ui.php:235
238
  msgid "Admin Email"
239
  msgstr ""
240
 
241
- #: wp-htaccess-control-ui.php:240
242
  msgid ""
243
  "If set, this will be used as the admin email on server generated error pages."
244
  msgstr ""
245
 
246
- #: wp-htaccess-control-ui.php:244
247
  msgid "Disable hotlinking"
248
  msgstr ""
249
 
250
- #: wp-htaccess-control-ui.php:249
251
  msgid ""
252
  "If set, this url will be used as redirection to hotlinked images (you should "
253
  "be using an image url here). If you prefer no output on hotlinked images use "
254
  "\"-\"."
255
  msgstr ""
256
 
257
- #: wp-htaccess-control-ui.php:253
258
  msgid "500 error"
259
  msgstr ""
260
 
261
- #: wp-htaccess-control-ui.php:258
262
  msgid ""
263
  "If set, this path will be used as page to 500 errors (example: /error.php)."
264
  msgstr ""
265
 
266
- #: wp-htaccess-control-ui.php:262
267
  msgid "403 error"
268
  msgstr ""
269
 
270
- #: wp-htaccess-control-ui.php:267
271
  msgid ""
272
  "If set, this path will be used as page to 403 errors (example: /error.php)."
273
  msgstr ""
274
 
275
- #: wp-htaccess-control-ui.php:271
276
  msgid "Canonical Url"
277
  msgstr ""
278
 
279
- #: wp-htaccess-control-ui.php:275
280
  msgid "Force WWW"
281
  msgstr ""
282
 
283
- #: wp-htaccess-control-ui.php:276
284
  msgid "Force non-WWW"
285
  msgstr ""
286
 
287
- #: wp-htaccess-control-ui.php:280
288
  msgid ""
289
  "This will force canonization. This will be done by simply modifying the "
290
  "wordpress \"site url\" and \"home\" options (not htaccess)."
291
  msgstr ""
292
 
293
- #: wp-htaccess-control-ui.php:291
294
  msgid "Rewrite Pairs"
295
  msgstr ""
296
 
297
- #: wp-htaccess-control-ui.php:291
298
  msgid ""
299
  "You should migrate your rewrite pairs into the \"Custom htaccess\" rules "
300
  "above. The \"Rewrite Pairs\" will be removed in future versions as they lack "
301
  "functionality."
302
  msgstr ""
303
 
304
- #: wp-htaccess-control-ui.php:296
305
  msgid "Add rule"
306
  msgstr ""
307
 
308
- #: wp-htaccess-control-ui.php:297
309
  msgid ""
310
  "These are rewrite pairs (RewriteRule) which Wordpress can add inside its "
311
  "rules."
312
  msgstr ""
313
 
314
- #: wp-htaccess-control-ui.php:306
315
  msgid "Delete Pair"
316
  msgstr ""
317
 
318
- #: wp-htaccess-control-ui.php:316
319
  msgid "Maintenance Mode"
320
  msgstr ""
321
 
322
- #: wp-htaccess-control-ui.php:320
323
  msgid "Maintenance Active"
324
  msgstr ""
325
 
326
- #: wp-htaccess-control-ui.php:325
327
  msgid "Toggles Maintenance Mode."
328
  msgstr ""
329
 
330
- #: wp-htaccess-control-ui.php:329
331
  msgid "Allowed IPs"
332
  msgstr ""
333
 
334
- #: wp-htaccess-control-ui.php:334
335
  msgid "List of allowed IPs."
336
  msgstr ""
337
 
338
- #: wp-htaccess-control-ui.php:335
339
  msgid ""
340
  "All the IPs not listed will view the 403 error page or be redirected to a "
341
  "page set below."
342
  msgstr ""
343
 
344
- #: wp-htaccess-control-ui.php:339
345
  msgid "Redirection"
346
  msgstr ""
347
 
348
- #: wp-htaccess-control-ui.php:344
349
  msgid ""
350
  "If set, this will be used as redirection for disallowed IPs. This could be "
351
  "an external url or a document on your server (local paths begin with a "
352
  "trailing slash)"
353
  msgstr ""
354
 
355
- #: wp-htaccess-control-ui.php:352
356
  msgid "Reset all rules"
357
  msgstr ""
358
 
359
- #: wp-htaccess-control-ui.php:353
360
  msgid "Save all changes"
361
  msgstr ""
362
 
363
- #: wp-htaccess-control-ui.php:359
364
  msgid "Current htaccess file as it is generated by Wordpress"
365
  msgstr ""
366
 
367
- #: wp-htaccess-control-ui.php:367
368
  msgid "by"
369
  msgstr ""
370
 
371
- #: wp-htaccess-control.php:345
372
  msgid "All rules reset."
373
  msgstr ""
374
 
375
- #: wp-htaccess-control.php:438
376
  msgid "All options updated."
377
  msgstr ""
378
 
379
- #: wp-htaccess-control.php:446
380
  msgid "Wordpress Rewrite pairs reset."
381
  msgstr ""
382
 
383
- #: wp-htaccess-control.php:452
384
  msgid "Wordpress Rewrite pair deleted."
385
  msgstr ""
386
 
1
+ # Translation of the WordPress plugin WP htaccess Control 2.0 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 2.0\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-htaccess-control\n"
11
+ "POT-Creation-Date: 2010-11-27 19:02+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"
16
  "Content-Type: text/plain; charset=utf-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
 
19
+ #: wp-htaccess-control-ui.php:15
20
  msgid "Please log in as admin"
21
  msgstr ""
22
 
23
+ #: wp-htaccess-control-ui.php:27
24
  msgid "Custom Author Permalink"
25
  msgstr ""
26
 
27
+ #: wp-htaccess-control-ui.php:31
28
  msgid "Author Base"
29
  msgstr ""
30
 
31
+ #: wp-htaccess-control-ui.php:34 wp-htaccess-control-ui.php:67
32
  msgid "(your-base)"
33
  msgstr ""
34
 
35
+ #: wp-htaccess-control-ui.php:37 wp-htaccess-control-ui.php:70
36
  msgid "Permalink settings must be set and not Default (/?p=123)."
37
  msgstr ""
38
 
39
+ #: wp-htaccess-control-ui.php:38
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:39
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:46
50
  msgid "Apply Custom Author Permalink on Generated Sitemap"
51
  msgstr ""
52
 
53
+ #: wp-htaccess-control-ui.php:49
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:50
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:60
67
  msgid "Custom Pagination Permalink"
68
  msgstr ""
69
 
70
+ #: wp-htaccess-control-ui.php:64
71
  msgid "Page Base"
72
  msgstr ""
73
 
74
+ #: wp-htaccess-control-ui.php:71
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:72
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:81 wp-htaccess-control-ui.php:85
87
+ msgid "Remove Category Base"
88
+ msgstr ""
89
+
90
+ #: wp-htaccess-control-ui.php:90
91
+ msgid "If active, the category base will be removed from permalinks:"
92
+ msgstr ""
93
+
94
+ #: wp-htaccess-control-ui.php:91 wp-htaccess-control-ui.php:110
95
+ #: wp-htaccess-control-ui.php:111
96
+ msgid "your-category"
97
+ msgstr ""
98
+
99
+ #: wp-htaccess-control-ui.php:100
100
  msgid "Advanced Archives"
101
  msgstr ""
102
 
103
+ #: wp-htaccess-control-ui.php:104
104
  msgid "Category Archives"
105
  msgstr ""
106
 
107
+ #: wp-htaccess-control-ui.php:109
108
  msgid ""
109
  "If active, category-based archives will be accessible using the structure:"
110
  msgstr ""
111
 
112
+ #: wp-htaccess-control-ui.php:110 wp-htaccess-control-ui.php:111
113
  msgid "your-category-base"
114
  msgstr ""
115
 
116
+ #: wp-htaccess-control-ui.php:112
117
+ msgid "This will also work if you've removed the category base."
118
  msgstr ""
119
 
120
+ #: wp-htaccess-control-ui.php:116
121
  msgid "Author Archives"
122
  msgstr ""
123
 
124
+ #: wp-htaccess-control-ui.php:121
125
  msgid ""
126
  "If active, author-based archives will be accessible using the structure:"
127
  msgstr ""
128
 
129
+ #: wp-htaccess-control-ui.php:122 wp-htaccess-control-ui.php:123
130
  msgid "your-author-base"
131
  msgstr ""
132
 
133
+ #: wp-htaccess-control-ui.php:122 wp-htaccess-control-ui.php:123
134
  msgid "your-author"
135
  msgstr ""
136
 
137
+ #: wp-htaccess-control-ui.php:127
138
  msgid "Tag Archives"
139
  msgstr ""
140
 
141
+ #: wp-htaccess-control-ui.php:132
142
  msgid "If active, tag-based archives will be accessible using the structure:"
143
  msgstr ""
144
 
145
+ #: wp-htaccess-control-ui.php:133 wp-htaccess-control-ui.php:134
146
  msgid "your-tag-base"
147
  msgstr ""
148
 
149
+ #: wp-htaccess-control-ui.php:133 wp-htaccess-control-ui.php:134
150
  msgid "your-tag"
151
  msgstr ""
152
 
153
+ #: wp-htaccess-control-ui.php:143
154
  msgid "Custom htaccess"
155
  msgstr ""
156
 
157
+ #: wp-htaccess-control-ui.php:151
158
  msgid "This rules will be printed before any Wordpress rules."
159
  msgstr ""
160
 
161
+ #: wp-htaccess-control-ui.php:152 wp-htaccess-control-ui.php:178
162
  msgid ""
163
  "Please double check them before saving as a mistake could make your site "
164
  "inaccessible."
165
  msgstr ""
166
 
167
+ #: wp-htaccess-control-ui.php:166
168
  msgid "Replace Wordpress htaccess"
169
  msgstr ""
170
 
171
+ #: wp-htaccess-control-ui.php:172
172
  msgid "Leave empty for default."
173
  msgstr ""
174
 
175
+ #: wp-htaccess-control-ui.php:174
176
  msgid ""
177
  "<strong>Use <a href='http://www.webmasterworld.com/apache/4053973.htm'>Jim "
178
  "Morgan's wordpress htaccess</a></strong> (has been reported to \"speed up "
179
  "your WP mod_rewrite code by a factor of more than two\")"
180
  msgstr ""
181
 
182
+ #: wp-htaccess-control-ui.php:177
183
  msgid "This rules will be printed instead of Wordpress rules."
184
  msgstr ""
185
 
186
+ #: wp-htaccess-control-ui.php:179
187
  msgid "Original rules:"
188
  msgstr ""
189
 
190
+ #: wp-htaccess-control-ui.php:191
191
  msgid "htaccess Suggestions"
192
  msgstr ""
193
 
194
+ #: wp-htaccess-control-ui.php:195
195
  msgid "ServerSignature"
196
  msgstr ""
197
 
198
+ #: wp-htaccess-control-ui.php:200
199
  msgid "Disable the ServerSignature on server generated error pages."
200
  msgstr ""
201
 
202
+ #: wp-htaccess-control-ui.php:204
203
  msgid "Indexes"
204
  msgstr ""
205
 
206
+ #: wp-htaccess-control-ui.php:209
207
  msgid "Disable directory browsing."
208
  msgstr ""
209
 
210
+ #: wp-htaccess-control-ui.php:213
211
  msgid "Protect wp-config.php file"
212
  msgstr ""
213
 
214
+ #: wp-htaccess-control-ui.php:217
215
  msgid "Deny access to wp-config.php file."
216
  msgstr ""
217
 
218
+ #: wp-htaccess-control-ui.php:221
219
  msgid "Protect htaccess file"
220
  msgstr ""
221
 
222
+ #: wp-htaccess-control-ui.php:225
223
  msgid "Deny access to .htaccess file."
224
  msgstr ""
225
 
226
+ #: wp-htaccess-control-ui.php:229
227
  msgid "mod_gzip"
228
  msgstr ""
229
 
230
+ #: wp-htaccess-control-ui.php:234
231
  msgid "Use mod_gzip if available."
232
  msgstr ""
233
 
234
+ #: wp-htaccess-control-ui.php:238
235
  msgid "mod_deflate"
236
  msgstr ""
237
 
238
+ #: wp-htaccess-control-ui.php:243
239
  msgid "Use mod_deflate if available."
240
  msgstr ""
241
 
242
+ #: wp-htaccess-control-ui.php:247
243
  msgid "Limit Upload Size"
244
  msgstr ""
245
 
246
+ #: wp-htaccess-control-ui.php:252
247
  msgid "If set, this value in MB will be used as limit to file uploads."
248
  msgstr ""
249
 
250
+ #: wp-htaccess-control-ui.php:256
251
  msgid "Admin Email"
252
  msgstr ""
253
 
254
+ #: wp-htaccess-control-ui.php:261
255
  msgid ""
256
  "If set, this will be used as the admin email on server generated error pages."
257
  msgstr ""
258
 
259
+ #: wp-htaccess-control-ui.php:265
260
  msgid "Disable hotlinking"
261
  msgstr ""
262
 
263
+ #: wp-htaccess-control-ui.php:270
264
  msgid ""
265
  "If set, this url will be used as redirection to hotlinked images (you should "
266
  "be using an image url here). If you prefer no output on hotlinked images use "
267
  "\"-\"."
268
  msgstr ""
269
 
270
+ #: wp-htaccess-control-ui.php:274
271
  msgid "500 error"
272
  msgstr ""
273
 
274
+ #: wp-htaccess-control-ui.php:279
275
  msgid ""
276
  "If set, this path will be used as page to 500 errors (example: /error.php)."
277
  msgstr ""
278
 
279
+ #: wp-htaccess-control-ui.php:283
280
  msgid "403 error"
281
  msgstr ""
282
 
283
+ #: wp-htaccess-control-ui.php:288
284
  msgid ""
285
  "If set, this path will be used as page to 403 errors (example: /error.php)."
286
  msgstr ""
287
 
288
+ #: wp-htaccess-control-ui.php:292
289
  msgid "Canonical Url"
290
  msgstr ""
291
 
292
+ #: wp-htaccess-control-ui.php:296
293
  msgid "Force WWW"
294
  msgstr ""
295
 
296
+ #: wp-htaccess-control-ui.php:297
297
  msgid "Force non-WWW"
298
  msgstr ""
299
 
300
+ #: wp-htaccess-control-ui.php:301
301
  msgid ""
302
  "This will force canonization. This will be done by simply modifying the "
303
  "wordpress \"site url\" and \"home\" options (not htaccess)."
304
  msgstr ""
305
 
306
+ #: wp-htaccess-control-ui.php:312
307
  msgid "Rewrite Pairs"
308
  msgstr ""
309
 
310
+ #: wp-htaccess-control-ui.php:312
311
  msgid ""
312
  "You should migrate your rewrite pairs into the \"Custom htaccess\" rules "
313
  "above. The \"Rewrite Pairs\" will be removed in future versions as they lack "
314
  "functionality."
315
  msgstr ""
316
 
317
+ #: wp-htaccess-control-ui.php:317
318
  msgid "Add rule"
319
  msgstr ""
320
 
321
+ #: wp-htaccess-control-ui.php:318
322
  msgid ""
323
  "These are rewrite pairs (RewriteRule) which Wordpress can add inside its "
324
  "rules."
325
  msgstr ""
326
 
327
+ #: wp-htaccess-control-ui.php:327
328
  msgid "Delete Pair"
329
  msgstr ""
330
 
331
+ #: wp-htaccess-control-ui.php:337
332
  msgid "Maintenance Mode"
333
  msgstr ""
334
 
335
+ #: wp-htaccess-control-ui.php:341
336
  msgid "Maintenance Active"
337
  msgstr ""
338
 
339
+ #: wp-htaccess-control-ui.php:346
340
  msgid "Toggles Maintenance Mode."
341
  msgstr ""
342
 
343
+ #: wp-htaccess-control-ui.php:350
344
  msgid "Allowed IPs"
345
  msgstr ""
346
 
347
+ #: wp-htaccess-control-ui.php:355
348
  msgid "List of allowed IPs."
349
  msgstr ""
350
 
351
+ #: wp-htaccess-control-ui.php:356
352
  msgid ""
353
  "All the IPs not listed will view the 403 error page or be redirected to a "
354
  "page set below."
355
  msgstr ""
356
 
357
+ #: wp-htaccess-control-ui.php:360
358
  msgid "Redirection"
359
  msgstr ""
360
 
361
+ #: wp-htaccess-control-ui.php:365
362
  msgid ""
363
  "If set, this will be used as redirection for disallowed IPs. This could be "
364
  "an external url or a document on your server (local paths begin with a "
365
  "trailing slash)"
366
  msgstr ""
367
 
368
+ #: wp-htaccess-control-ui.php:373
369
  msgid "Reset all rules"
370
  msgstr ""
371
 
372
+ #: wp-htaccess-control-ui.php:374
373
  msgid "Save all changes"
374
  msgstr ""
375
 
376
+ #: wp-htaccess-control-ui.php:380
377
  msgid "Current htaccess file as it is generated by Wordpress"
378
  msgstr ""
379
 
380
+ #: wp-htaccess-control-ui.php:388
381
  msgid "by"
382
  msgstr ""
383
 
384
+ #: wp-htaccess-control.php:411
385
  msgid "All rules reset."
386
  msgstr ""
387
 
388
+ #: wp-htaccess-control.php:504
389
  msgid "All options updated."
390
  msgstr ""
391
 
392
+ #: wp-htaccess-control.php:512
393
  msgid "Wordpress Rewrite pairs reset."
394
  msgstr ""
395
 
396
+ #: wp-htaccess-control.php:518
397
  msgid "Wordpress Rewrite pair deleted."
398
  msgstr ""
399
 
readme.txt CHANGED
@@ -3,25 +3,27 @@ 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, pagination
7
  Requires at least: 2.7
8
  Tested up to: 3.0.1
9
- Stable tag: 1.9.1
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:**
20
 
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
- * Category, Author and Tag based archives (ex: "http://your-site.com/category/stories/2010/12"; "http://your-site.com/author/admin/2010/12/page/2"; "http://your-site.com/tag/wordpress/2010/12");
25
  * Maintenance mode.
26
 
27
  **Easy to use "Suggested htaccess" rules:**
@@ -44,6 +46,8 @@ Interface to customize the htaccess file generated by Wordpress and the Author a
44
 
45
  (POT file is included, translations are welcome)
46
 
 
 
47
  == Installation ==
48
 
49
  1. Download **WP htaccess Control**;
@@ -59,10 +63,14 @@ Suggestions are welcome and please report any bugs found!
59
 
60
  == Screenshots ==
61
 
62
- 1. Administration page (as of v.1.8)
63
 
64
  == Changelog ==
65
 
 
 
 
 
66
  = 1.9.1 (22/10/2010) =
67
  * Feature: adding "Author and Tag based archives".
68
 
@@ -158,4 +166,4 @@ Suggestions are welcome and please report any bugs found!
158
  * Added GNU license.
159
 
160
  = 1.0 (08/04/2009) =
161
- * Initial public release (poor interface).
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, category, category base, archive, archives
7
  Requires at least: 2.7
8
  Tested up to: 3.0.1
9
+ Stable tag: 2.0
10
 
11
+ Interface to customize the permalinks (author, category, archives and pagination) and htaccess file generated by Wordpress.
12
 
13
  == Description ==
14
 
15
+ **WP htaccess Control** provides an interface to customize permalinks (author, category, archives and pagination) and the htaccess file generated by Wordpress. (Take a look at the screenshot...)
16
+ Despite the name, many of the options now present on this plugin do not use the htaccess file but the wordpress internal rewrite.
17
 
18
+ **I still haven't tested this under Wordpress multisite, issues have however been reported.**
19
 
20
  **Features:**
21
 
22
  * Customizing the htaccess file generated by Wordpress;
23
+ * Removing the category base;
24
  * 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);
25
  * Customizing Paginated Permalinks (translate the "page" word on permalinks to your own language);
26
+ * Category, Author and Tag based archives (ex: "http://your-site.com/category/stories/2010/12"; "http://your-site.com/author/admin/2010/12/page/2"; "http://your-site.com/tag/wordpress/2010/12"), this will also work if you've removed the category base;
27
  * Maintenance mode.
28
 
29
  **Easy to use "Suggested htaccess" rules:**
46
 
47
  (POT file is included, translations are welcome)
48
 
49
+ Removal of the category base is based on iDope's *WP No Category Base* but extended so that it works with *category archives* (ie.: "http://example.com/my-category/2010/12")
50
+
51
  == Installation ==
52
 
53
  1. Download **WP htaccess Control**;
63
 
64
  == Screenshots ==
65
 
66
+ 1. Administration page (as of v.2.0)
67
 
68
  == Changelog ==
69
 
70
+ = 2.0 (27/11/2010) =
71
+ * Feature: removal of the category base;
72
+ * Feature: archives for categories with no base (ie.: "http://example.com/my-category/2010/12").
73
+
74
  = 1.9.1 (22/10/2010) =
75
  * Feature: adding "Author and Tag based archives".
76
 
166
  * Added GNU license.
167
 
168
  = 1.0 (08/04/2009) =
169
+ * Initial public release (poor interface).
screenshot-1.jpg DELETED
Binary file
screenshot-1.png ADDED
Binary file
wp-htaccess-control-ui.php CHANGED
@@ -3,7 +3,8 @@ $plugin_path = WP_CONTENT_DIR.'/plugins/'.plugin_basename(dirname(__FILE__));
3
  $plugin_url = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__));
4
  $q=explode('&',$_SERVER['QUERY_STRING']);
5
  $purl='http'.((!empty($_SERVER['HTTPS'])) ? 's' : '').'://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$q[0];
6
- WPhtc::wphtc_page_action();
 
7
  global $echo;
8
  $WPhtc_data=get_option('WPhtc_data');
9
  ?>
@@ -73,6 +74,25 @@ $WPhtc_data=get_option('WPhtc_data');
73
  </tr>
74
  </table>
75
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  <!-- Advanced Archives -->
77
  <div class="wphtc-section">
78
  <div class="wphtc-section-title stuffbox">
@@ -87,8 +107,9 @@ $WPhtc_data=get_option('WPhtc_data');
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
  <tr valign="top">
@@ -98,8 +119,8 @@ $WPhtc_data=get_option('WPhtc_data');
98
  </td>
99
  <td valign="middle">
100
  <p class="description"><?php _e('If active, author-based archives will be accessible using the structure:', 'wp-htaccess-control'); ?></p>
101
- <p class="description"><?php bloginfo('home')?>/<?php _e('your-author-base', 'wp-htaccess-control'); ?>/<?php _e('your-author', 'wp-htaccess-control'); ?>/2010</p>
102
- <p class="description"><?php bloginfo('home')?>/<?php _e('your-author-base', 'wp-htaccess-control'); ?>/<?php _e('your-author', 'wp-htaccess-control'); ?>/2010/12</p>
103
  </td>
104
  </tr>
105
  <tr valign="top">
@@ -109,8 +130,8 @@ $WPhtc_data=get_option('WPhtc_data');
109
  </td>
110
  <td valign="middle">
111
  <p class="description"><?php _e('If active, tag-based archives will be accessible using the structure:', 'wp-htaccess-control'); ?></p>
112
- <p class="description"><?php bloginfo('home')?>/<?php _e('your-tag-base', 'wp-htaccess-control'); ?>/<?php _e('your-tag', 'wp-htaccess-control'); ?>/2010</p>
113
- <p class="description"><?php bloginfo('home')?>/<?php _e('your-tag-base', 'wp-htaccess-control'); ?>/<?php _e('your-tag', 'wp-htaccess-control'); ?>/2010/12</p>
114
  </td>
115
  </tr>
116
  </table>
@@ -365,4 +386,4 @@ $WPhtc_data=get_option('WPhtc_data');
365
  </div>
366
  </div>
367
  <p id="wphtc-footer"><small><a href="http://dardna.com/wp-htaccess-control" title="Visit WP htaccess Control page at dardna.com">WP htaccess Control</a> <?php _e('by', 'wp-htaccess-control'); ?> <a href="http://dardna.com" title="Visit dardna.com">António Andrade</a></p>
368
- </div>
3
  $plugin_url = WP_CONTENT_URL.'/plugins/'.plugin_basename(dirname(__FILE__));
4
  $q=explode('&',$_SERVER['QUERY_STRING']);
5
  $purl='http'.((!empty($_SERVER['HTTPS'])) ? 's' : '').'://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?'.$q[0];
6
+ global $WPhtc;
7
+ $WPhtc->wphtc_page_action();
8
  global $echo;
9
  $WPhtc_data=get_option('WPhtc_data');
10
  ?>
74
  </tr>
75
  </table>
76
  </div>
77
+ <!-- Remove Category Base -->
78
+ <div class="wphtc-section">
79
+ <div class="wphtc-section-title stuffbox">
80
+ <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>
81
+ <h3><?php _e('Remove Category Base', 'wp-htaccess-control');?></h3>
82
+ </div>
83
+ <table class="form-table wphtc-inputs">
84
+ <tr valign="top">
85
+ <th scope="row" style="width:18%;"><?php _e('Remove Category Base', 'wp-htaccess-control'); ?></th>
86
+ <td >
87
+ <input type="checkbox" name="WPhtc_remove_category_base" <?php if($WPhtc_data['remove_category_base']){echo "checked=checked";} ?> />
88
+ </td>
89
+ <td valign="middle">
90
+ <p class="description"><?php _e('If active, the category base will be removed from permalinks:'); ?></p>
91
+ <p class="description"><code><?php bloginfo('home')?>/<?php _e('your-category', 'wp-htaccess-control'); ?></code></p>
92
+ </td>
93
+ </tr>
94
+ </table>
95
+ </div>
96
  <!-- Advanced Archives -->
97
  <div class="wphtc-section">
98
  <div class="wphtc-section-title stuffbox">
107
  </td>
108
  <td valign="middle">
109
  <p class="description"><?php _e('If active, category-based archives will be accessible using the structure:', 'wp-htaccess-control'); ?></p>
110
+ <p class="description"><code><?php bloginfo('home')?>/<?php _e('your-category-base', 'wp-htaccess-control'); ?>/<?php _e('your-category', 'wp-htaccess-control'); ?>/2010</code></p>
111
+ <p class="description"><code><?php bloginfo('home')?>/<?php _e('your-category-base', 'wp-htaccess-control'); ?>/<?php _e('your-category', 'wp-htaccess-control'); ?>/2010/12</code></p>
112
+ <p class="description"><?php _e("This will also work if you've removed the category base.", 'wp-htaccess-control'); ?></p>
113
  </td>
114
  </tr>
115
  <tr valign="top">
119
  </td>
120
  <td valign="middle">
121
  <p class="description"><?php _e('If active, author-based archives will be accessible using the structure:', 'wp-htaccess-control'); ?></p>
122
+ <p class="description"><code><?php bloginfo('home')?>/<?php _e('your-author-base', 'wp-htaccess-control'); ?>/<?php _e('your-author', 'wp-htaccess-control'); ?>/2010</code></p>
123
+ <p class="description"><code><?php bloginfo('home')?>/<?php _e('your-author-base', 'wp-htaccess-control'); ?>/<?php _e('your-author', 'wp-htaccess-control'); ?>/2010/12</code></p>
124
  </td>
125
  </tr>
126
  <tr valign="top">
130
  </td>
131
  <td valign="middle">
132
  <p class="description"><?php _e('If active, tag-based archives will be accessible using the structure:', 'wp-htaccess-control'); ?></p>
133
+ <p class="description"><code><?php bloginfo('home')?>/<?php _e('your-tag-base', 'wp-htaccess-control'); ?>/<?php _e('your-tag', 'wp-htaccess-control'); ?>/2010</code></p>
134
+ <p class="description"><code><?php bloginfo('home')?>/<?php _e('your-tag-base', 'wp-htaccess-control'); ?>/<?php _e('your-tag', 'wp-htaccess-control'); ?>/2010/12</code></p>
135
  </td>
136
  </tr>
137
  </table>
386
  </div>
387
  </div>
388
  <p id="wphtc-footer"><small><a href="http://dardna.com/wp-htaccess-control" title="Visit WP htaccess Control page at dardna.com">WP htaccess Control</a> <?php _e('by', 'wp-htaccess-control'); ?> <a href="http://dardna.com" title="Visit dardna.com">António Andrade</a></p>
389
+ </div>
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.9.1
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
@@ -23,6 +23,7 @@ Author URI: http://dardna.com
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
 
26
  if (!class_exists("WPhtc")) {
27
  class WPhtc {
28
  function WPhtc() {
@@ -39,10 +40,15 @@ if (!class_exists("WPhtc")) {
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
  }
45
- }
46
  # Filter pagination links generated by Wordpress
47
  function wphtc_filter_get_pagenum_link($result){
48
  $WPhtc_data=get_option('WPhtc_data');
@@ -75,13 +81,34 @@ if (!class_exists("WPhtc")) {
75
  function wphtc_filter_rewrite_rules($rewrite_rules){
76
  $WPhtc_data=get_option('WPhtc_data');
77
  $page_base=($WPhtc_data['cpp']!='')?$WPhtc_data['cpp']:'page';
78
- if(isset($WPhtc_data['category_archives'])){
79
- $category_base = (get_option('category_base')!='')?get_option('category_base'):'category';
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['author_archives'])){
87
  $author_base = ($WPhtc_data['cap']!='')?$WPhtc_data['cap']:'author';
@@ -311,6 +338,45 @@ if (!class_exists("WPhtc")) {
311
  }
312
  return $new_rules;
313
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  # WP-htaccess Control options page interface
315
  function wphtc_page(){
316
  include (dirname (__FILE__).'/wp-htaccess-control-ui.php');
@@ -343,8 +409,7 @@ if (!class_exists("WPhtc")) {
343
  case 'reset_rules':
344
  delete_option('WPhtc_data');
345
  $echo.=__('All rules reset.', 'wp-htaccess-control');
346
- global $wp_rewrite;
347
- $wp_rewrite->flush_rules();
348
  break;
349
  # if updating, save new rules in database and flush rewrite rules
350
  case 'update':
@@ -389,6 +454,8 @@ if (!class_exists("WPhtc")) {
389
  $WPhtc_data['wp_hta'].="# else rewrite the request to WP\n";
390
  $WPhtc_data['wp_hta'].="RewriteRule . /index.php [L]\n";
391
  }
 
 
392
  # Advanced Archives
393
  $WPhtc_data['category_archives']=$_POST['WPhtc_category_archives'];
394
  $WPhtc_data['author_archives']=$_POST['WPhtc_author_archives'];
@@ -433,8 +500,7 @@ if (!class_exists("WPhtc")) {
433
  # Update WP htaccess Control options
434
  update_option('WPhtc_data',$WPhtc_data);
435
  # Flush Rewrite Rules
436
- global $wp_rewrite;
437
- $wp_rewrite->flush_rules();
438
  $echo.=__('All options updated.', 'wp-htaccess-control');
439
  break;
440
  # deleting individual rewrite pair
@@ -452,28 +518,12 @@ if (!class_exists("WPhtc")) {
452
  $echo.=__('Wordpress Rewrite pair deleted.', 'wp-htaccess-control');
453
  }
454
  update_option('WPhtc_data',$WPhtc_data);
455
- global $wp_rewrite;
456
- $wp_rewrite->flush_rules();
457
  }
458
  break;
459
  }
460
  }
461
  }
462
- function formatted_print_r($data) {
463
- if(is_array($data)) { //If the given variable is an array, print using the print_r function.
464
- print "<pre>-----------------------\n";
465
- print_r($data);
466
- print "-----------------------</pre>";
467
- } elseif (is_object($data)) {
468
- print "<pre>==========================\n";
469
- var_dump($data);
470
- print "===========================</pre>";
471
- } else {
472
- print "=========&gt; ";
473
- var_dump($data);
474
- print " &lt;=========";
475
- }
476
- }
477
  }
478
  }
479
  if (class_exists("WPhtc")) {
@@ -489,5 +539,10 @@ if (isset($WPhtc)) {
489
  add_action('admin_menu', array($WPhtc,'configure_menu'));
490
  add_action('sm_buildmap',array($WPhtc,'set_sm'));
491
  add_action('init', array($WPhtc,'wphtc_init'));
 
 
 
 
 
492
  }
493
- ?>
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: 2.0
7
  Author: António Andrade
8
  Author URI: http://dardna.com
9
  */
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
+ /* Removal of the Category Base is based on WP No Category Base by Saurabh Gupta, 2008 */
27
  if (!class_exists("WPhtc")) {
28
  class WPhtc {
29
  function WPhtc() {
40
  # flush rules to get some data filled
41
  $WPhtc_data=get_option('WPhtc_data');
42
  if(!isset($WPhtc_data['htaccess_original'])){
43
+ $this->refresh_rewrite_rules();
44
+ }
45
+ }
46
+ # Flush rules
47
+ function refresh_rewrite_rules(){
48
  global $wp_rewrite;
49
  $wp_rewrite->flush_rules();
50
+ //print_r($wp_rewrite);
51
  }
 
52
  # Filter pagination links generated by Wordpress
53
  function wphtc_filter_get_pagenum_link($result){
54
  $WPhtc_data=get_option('WPhtc_data');
81
  function wphtc_filter_rewrite_rules($rewrite_rules){
82
  $WPhtc_data=get_option('WPhtc_data');
83
  $page_base=($WPhtc_data['cpp']!='')?$WPhtc_data['cpp']:'page';
84
+ if($WPhtc_data['category_archives']){
85
+ # If category base removed
86
+ if($WPhtc_data['remove_category_base']){
87
+ $categories=get_categories(array('hide_empty'=>false));
88
+ foreach($categories as $category) {
89
+ $category_nicename = $category->slug;
90
+ if ( $category->parent == $category->cat_ID ){
91
+ $category->parent = 0;
92
+ }
93
+ elseif ($category->parent != 0 ){
94
+ $category_nicename = get_category_parents( $category->parent, false, '/', true ) . $category_nicename;
95
+ }
96
+ $new_rules = array( '('.$category_nicename.')/([0-9]{4})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]',
97
+ '('.$category_nicename.')/([0-9]{4})/'.$page_base.'/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&paged=$matches[3]',
98
+ '('.$category_nicename.')/([0-9]{4})/([0-9]{2})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]',
99
+ '('.$category_nicename.')/([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]');
100
+ $rewrite_rules = $new_rules + $rewrite_rules;
101
+ }
102
+ }
103
+ # else
104
+ else {
105
+ $category_base = (get_option('category_base')!='')?get_option('category_base'):'category';
106
+ $new_rules = array( $category_base.'/([^/]+)/([0-9]{4})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]',
107
+ $category_base.'/([^/]+)/([0-9]{4})/'.$page_base.'/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&paged=$matches[3]',
108
+ $category_base.'/([^/]+)/([0-9]{4})/([0-9]{2})/?$' => 'index.php?category_name=$matches[1]&year=$matches[2]&monthnum=$matches[3]',
109
+ $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]');
110
+ $rewrite_rules = $new_rules + $rewrite_rules;
111
+ }
112
  }
113
  if(isset($WPhtc_data['author_archives'])){
114
  $author_base = ($WPhtc_data['cap']!='')?$WPhtc_data['cap']:'author';
338
  }
339
  return $new_rules;
340
  }
341
+ # Category Base
342
+ function filter_category_link($catlink, $category_id) {
343
+ $WPhtc_data=get_option('WPhtc_data');
344
+ if($WPhtc_data['remove_category_base']){
345
+ $category = &get_category( $category_id );
346
+ if ( is_wp_error( $category ) ){
347
+ return $category;
348
+ }
349
+ $category_nicename = $category->slug;
350
+ if ( $category->parent == $category_id ){
351
+ $category->parent = 0;
352
+ }
353
+ elseif ($category->parent != 0 ){
354
+ $category_nicename = get_category_parents( $category->parent, false, '/', true ) . $category_nicename;
355
+ }
356
+ $catlink = trailingslashit(get_option( 'home' )) . user_trailingslashit( $category_nicename, 'category' );
357
+ }
358
+ return $catlink;
359
+ }
360
+ function remove_category_base_from_rewrite_rules($category_rewrite) {
361
+ $WPhtc_data=get_option('WPhtc_data');
362
+ if($WPhtc_data['remove_category_base']){
363
+ $category_rewrite=array();
364
+ $categories=get_categories(array('hide_empty'=>false));
365
+ foreach($categories as $category) {
366
+ $category_nicename = $category->slug;
367
+ if ( $category->parent == $category->cat_ID ){
368
+ $category->parent = 0;
369
+ }
370
+ elseif ($category->parent != 0 ){
371
+ $category_nicename = get_category_parents( $category->parent, false, '/', true ) . $category_nicename;
372
+ }
373
+ $category_rewrite['('.$category_nicename.')/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?category_name=$matches[1]&feed=$matches[2]';
374
+ $category_rewrite['('.$category_nicename.')/page/?([0-9]{1,})/?$'] = 'index.php?category_name=$matches[1]&paged=$matches[2]';
375
+ $category_rewrite['('.$category_nicename.')/?$'] = 'index.php?category_name=$matches[1]';
376
+ }
377
+ }
378
+ return $category_rewrite;
379
+ }
380
  # WP-htaccess Control options page interface
381
  function wphtc_page(){
382
  include (dirname (__FILE__).'/wp-htaccess-control-ui.php');
409
  case 'reset_rules':
410
  delete_option('WPhtc_data');
411
  $echo.=__('All rules reset.', 'wp-htaccess-control');
412
+ $this->refresh_rewrite_rules();
 
413
  break;
414
  # if updating, save new rules in database and flush rewrite rules
415
  case 'update':
454
  $WPhtc_data['wp_hta'].="# else rewrite the request to WP\n";
455
  $WPhtc_data['wp_hta'].="RewriteRule . /index.php [L]\n";
456
  }
457
+ # Remove Category Base
458
+ $WPhtc_data['remove_category_base']=$_POST['WPhtc_remove_category_base'];
459
  # Advanced Archives
460
  $WPhtc_data['category_archives']=$_POST['WPhtc_category_archives'];
461
  $WPhtc_data['author_archives']=$_POST['WPhtc_author_archives'];
500
  # Update WP htaccess Control options
501
  update_option('WPhtc_data',$WPhtc_data);
502
  # Flush Rewrite Rules
503
+ $this->refresh_rewrite_rules();
 
504
  $echo.=__('All options updated.', 'wp-htaccess-control');
505
  break;
506
  # deleting individual rewrite pair
518
  $echo.=__('Wordpress Rewrite pair deleted.', 'wp-htaccess-control');
519
  }
520
  update_option('WPhtc_data',$WPhtc_data);
521
+ $this->refresh_rewrite_rules();
 
522
  }
523
  break;
524
  }
525
  }
526
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
527
  }
528
  }
529
  if (class_exists("WPhtc")) {
539
  add_action('admin_menu', array($WPhtc,'configure_menu'));
540
  add_action('sm_buildmap',array($WPhtc,'set_sm'));
541
  add_action('init', array($WPhtc,'wphtc_init'));
542
+ add_filter('category_rewrite_rules', array($WPhtc,'remove_category_base_from_rewrite_rules'));
543
+ add_filter('category_link', array($WPhtc,'filter_category_link'),1000,2);
544
+ add_action('created_category',array($WPhtc,'refresh_rewrite_rules'));
545
+ add_action('edited_category',array($WPhtc,'refresh_rewrite_rules'));
546
+ add_action('delete_category',array($WPhtc,'refresh_rewrite_rules'));
547
  }
548
+ ?>