# This file is automatically generated by WP Toolkit. # Please do not modify the contents of this file, because this can lead to reduced security or malfunctioning of your website. # If the file was accidentally modified or otherwise damaged, you can regenerate it by deleting it and reapplying all security # measures for this site in WP Toolkit UI. # "Block access to wp-config.php" # To remove this rule, revert this security measure on each WordPress installation on this domain location ~* wp-config.php { deny all; } # "Disable PHP execution in cache directories" # To remove this rule, revert this security measure on each WordPress installation on this domain location ~* ".*/cache/.*\.ph(?:p[345]?|t|tml)" { access_log off; log_not_found off; deny all; } # "Block access to sensitive files" # To remove this rule, revert this security measure on each WordPress installation on this domain location ~* "(?:wp-config\.bak|\.wp-config\.php\.swp|(?:readme|license|changelog|-config|-sample)\.(?:php|md|txt|htm|html))" { return 403; } # WordPress permalink # To remove this rule, add "wordpressPermalinkHandlingFeature = false" in the [ext-wp-toolkit] section of panel.ini # then reconfigure the current domain set $sef_entry_point /; if ($uri ~* "^/kaap/") { set $sef_entry_point "/kaap/index.php?$args"; } if ($uri ~* "^/gran/") { set $sef_entry_point "/gran/index.php?$args"; } if ($uri ~* "^/carol/") { set $sef_entry_point "/carol/index.php?$args"; } if ($uri ~* "^/porto/") { set $sef_entry_point "/porto/index.php?$args"; } if ($uri ~* "^/mgtec/") { set $sef_entry_point "/mgtec/index.php?$args"; } if ($uri ~* "^/seven/") { set $sef_entry_point "/seven/index.php?$args"; } if ($uri ~* "^/gnsys/") { set $sef_entry_point "/gnsys/index.php?$args"; } if ($uri ~* "^/turbo/") { set $sef_entry_point "/turbo/index.php?$args"; } if ($uri ~* "^/grccwb/") { set $sef_entry_point "/grccwb/index.php?$args"; } if ($uri ~* "^/arkson/") { set $sef_entry_point "/arkson/index.php?$args"; } if ($uri ~* "^/kfouri/") { set $sef_entry_point "/kfouri/index.php?$args"; } if ($uri ~* "^/nailor/") { set $sef_entry_point "/nailor/index.php?$args"; } if ($uri ~* "^/onetur/") { set $sef_entry_point "/onetur/index.php?$args"; } if ($uri ~* "^/ataide/") { set $sef_entry_point "/ataide/index.php?$args"; } if ($uri ~* "^/fabrika/") { set $sef_entry_point "/fabrika/index.php?$args"; } if ($uri ~* "^/igrejas/") { set $sef_entry_point "/igrejas/index.php?$args"; } if ($uri ~* "^/comvida/") { set $sef_entry_point "/comvida/index.php?$args"; } if ($uri ~* "^/concept/") { set $sef_entry_point "/concept/index.php?$args"; } if ($uri ~* "^/cecilia/") { set $sef_entry_point "/cecilia/index.php?$args"; } if ($uri ~* "^/empresas/") { set $sef_entry_point "/empresas/index.php?$args"; } if ($uri ~* "^/cartazes/") { set $sef_entry_point "/cartazes/index.php?$args"; } if ($uri ~* "^/acqualuz/") { set $sef_entry_point "/acqualuz/index.php?$args"; } if ($uri ~* "^/facility/") { set $sef_entry_point "/facility/index.php?$args"; } if ($uri ~* "^/igrejacfa/") { set $sef_entry_point "/igrejacfa/index.php?$args"; } if ($uri ~* "^/robustech/") { set $sef_entry_point "/robustech/index.php?$args"; } if ($uri ~* "^/inovasite/") { set $sef_entry_point "/inovasite/index.php?$args"; } if ($uri ~* "^/realizacao/") { set $sef_entry_point "/realizacao/index.php?$args"; } if ($uri ~* "^/hipercesta/") { set $sef_entry_point "/hipercesta/index.php?$args"; } if ($uri ~* "^/radioagape/") { set $sef_entry_point "/radioagape/index.php?$args"; } if ($uri ~* "^/inovasitelp/") { set $sef_entry_point "/inovasitelp/index.php?$args"; } if ($uri ~* "^/edneisoares/") { set $sef_entry_point "/edneisoares/index.php?$args"; } if ($uri ~* "^/asscelebrar/") { set $sef_entry_point "/asscelebrar/index.php?$args"; } if ($uri ~* "^/fontedavida/") { set $sef_entry_point "/fontedavida/index.php?$args"; } if ($uri ~* "^/lpimplementar/") { set $sef_entry_point "/lpimplementar/index.php?$args"; } if ($uri ~* "^/fabricadeenergia/") { set $sef_entry_point "/fabricadeenergia/index.php?$args"; } if ($uri ~* "^/inovasitelpblack/") { set $sef_entry_point "/inovasitelpblack/index.php?$args"; } if ($uri ~* "^/tiradosdoar/jaime/") { set $sef_entry_point "/tiradosdoar/jaime/index.php?$args"; } if ($uri ~* "^/tiradosdoar/skate/") { set $sef_entry_point "/tiradosdoar/skate/index.php?$args"; } if ($uri ~* "^/suporteinteriores/") { set $sef_entry_point "/suporteinteriores/index.php?$args"; } if ($uri ~* "^/tiradosdoar/navban/") { set $sef_entry_point "/tiradosdoar/navban/index.php?$args"; } if ($uri ~* "^/tiradosdoar/txfuel/") { set $sef_entry_point "/tiradosdoar/txfuel/index.php?$args"; } if ($uri ~* "^/tiradosdoar/meuclube/") { set $sef_entry_point "/tiradosdoar/meuclube/index.php?$args"; } if ($uri ~* "^/tiradosdoar/odontopinho/") { set $sef_entry_point "/tiradosdoar/odontopinho/index.php?$args"; } if ($uri ~* "^/tiradosdoar/vidaengenharia/") { set $sef_entry_point "/tiradosdoar/vidaengenharia/index.php?$args"; } if ($uri ~* "^/tiradosdoar/_federacaoskate/") { set $sef_entry_point "/tiradosdoar/_federacaoskate/index.php?$args"; } location @wpt_permalinks_fallback { try_files $uri $sef_entry_point; } error_page 404 = @wpt_permalinks_fallback; error_page 405 = @wpt_permalinks_fallback;