Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../nukeviet
File: .htaccess
#nukeviet
[0] Fix | Delete
[1] Fix | Delete
<Files ~ "\.(htm|html|css|js|php)$">
[2] Fix | Delete
AddDefaultCharset UTF-8
[3] Fix | Delete
</Files>
[4] Fix | Delete
[5] Fix | Delete
##################################################################################
[6] Fix | Delete
#nukeviet_config_start //Please do not change the contents of the following lines
[7] Fix | Delete
##################################################################################
[8] Fix | Delete
[9] Fix | Delete
<IfModule mod_rewrite.c>
[10] Fix | Delete
RewriteEngine On
[11] Fix | Delete
RewriteBase [[relativeurl]]/
[12] Fix | Delete
RewriteCond %{REQUEST_FILENAME} /(\.(.*)|composer\.json|default\.(htaccess\.txt|web\.config\.txt|php)|mainfile\.php|web\.config|config\.php)$ [NC]
[13] Fix | Delete
RewriteRule ^.* - [L,R=404]
[14] Fix | Delete
RewriteCond %{REQUEST_URI} ^/(data/ip6?|includes|install/tpl|vendor|assets/tpl|data/cache|data/certs|data/logs)/.* [NC]
[15] Fix | Delete
RewriteRule ^.* - [L,R=404]
[16] Fix | Delete
RewriteCond %{REQUEST_URI} ^/(admin)/.*/.*$ [NC]
[17] Fix | Delete
RewriteRule ^.* - [L,R=404]
[18] Fix | Delete
RewriteCond %{REQUEST_URI} ^/(install/(css|images)|modules|themes|assets|data/config|data/tmp|uploads)/.*\.((j|a)spx?|(p|s)html|cgi|inc|ini|php|pl|py|sh|sql\.gz|tpl|xml)($|\?|\/) [NC]
[19] Fix | Delete
RewriteRule ^.* - [L,R=404]
[20] Fix | Delete
</IfModule>
[21] Fix | Delete
[22] Fix | Delete
ErrorDocument 400 /error.php?code=400&nvDisableRewriteCheck=1
[23] Fix | Delete
ErrorDocument 403 /error.php?code=403&nvDisableRewriteCheck=1
[24] Fix | Delete
ErrorDocument 404 /error.php?code=404&nvDisableRewriteCheck=1
[25] Fix | Delete
ErrorDocument 405 /error.php?code=405&nvDisableRewriteCheck=1
[26] Fix | Delete
ErrorDocument 408 /error.php?code=408&nvDisableRewriteCheck=1
[27] Fix | Delete
ErrorDocument 500 /error.php?code=500&nvDisableRewriteCheck=1
[28] Fix | Delete
ErrorDocument 502 /error.php?code=502&nvDisableRewriteCheck=1
[29] Fix | Delete
ErrorDocument 503 /error.php?code=503&nvDisableRewriteCheck=1
[30] Fix | Delete
ErrorDocument 504 /error.php?code=504&nvDisableRewriteCheck=1
[31] Fix | Delete
[32] Fix | Delete
<IfModule mod_deflate.c>
[33] Fix | Delete
<FilesMatch "\.(css|js|xml|ttf)$">
[34] Fix | Delete
SetOutputFilter DEFLATE
[35] Fix | Delete
</FilesMatch>
[36] Fix | Delete
</IfModule>
[37] Fix | Delete
[38] Fix | Delete
<IfModule mod_headers.c>
[39] Fix | Delete
<FilesMatch "\.(js|css|xml|ttf|pdf)$">
[40] Fix | Delete
Header append Vary Accept-Encoding
[41] Fix | Delete
Header set Access-Control-Allow-Origin "*"
[42] Fix | Delete
Header set X-Frame-Options "SAMEORIGIN"
[43] Fix | Delete
Header set X-Content-Type-Options "nosniff"
[44] Fix | Delete
Header set X-XSS-Protection "1; mode=block"
[45] Fix | Delete
</FilesMatch>
[46] Fix | Delete
[47] Fix | Delete
<FilesMatch "\.(doc|pdf|swf)$">
[48] Fix | Delete
Header set X-Robots-Tag "noarchive, nosnippet"
[49] Fix | Delete
</FilesMatch>
[50] Fix | Delete
[51] Fix | Delete
<FilesMatch "\.(js|css|jpe?g|png|gif|webp|swf|svg|ico|woff|ttf|xsl|pdf|flv|mp3|mp4)(\?[0-9]{9,11})?$">
[52] Fix | Delete
Header set Cache-Control 'max-age=2592000, public, no-cache="set-cookie"'
[53] Fix | Delete
</FilesMatch>
[54] Fix | Delete
</IfModule>
[55] Fix | Delete
[56] Fix | Delete
#nukeviet_config_end
[57] Fix | Delete
##################################################################################
[58] Fix | Delete
[59] Fix | Delete
##################################################################################
[60] Fix | Delete
#nukeviet_rewrite_start //Please do not change the contents of the following lines
[61] Fix | Delete
##################################################################################
[62] Fix | Delete
[63] Fix | Delete
#Options +FollowSymLinks
[64] Fix | Delete
[65] Fix | Delete
<IfModule mod_rewrite.c>
[66] Fix | Delete
RewriteEngine On
[67] Fix | Delete
#RewriteBase [[relativeurl]]/
[68] Fix | Delete
RewriteCond %{REQUEST_METHOD} !^(POST) [NC]
[69] Fix | Delete
RewriteRule ^api\.php(.*?)$ - [F]
[70] Fix | Delete
RewriteCond %{REQUEST_FILENAME} /robots.txt$ [NC]
[71] Fix | Delete
RewriteRule ^ robots.php?action=%{HTTP_HOST} [L]
[72] Fix | Delete
RewriteRule ^(.*?)sitemap\.xml$ index.php?nv=SitemapIndex [L]
[73] Fix | Delete
RewriteRule ^(.*?)sitemap\-([a-z]{2})\.xml$ index.php?language=$2&nv=SitemapIndex [L]
[74] Fix | Delete
RewriteRule ^(.*?)sitemap\-([a-z]{2})\.([a-zA-Z0-9-]+)\.xml$ index.php?language=$2&nv=$3&op=sitemap [L]
[75] Fix | Delete
RewriteRule ^(.*?)sitemap\-([a-z]{2})\.([a-zA-Z0-9-]+)\.([a-zA-Z0-9-]+)\.xml$ index.php?language=$2&nv=$3&op=sitemap/$4 [L]
[76] Fix | Delete
RewriteCond %{REQUEST_FILENAME} !-f
[77] Fix | Delete
RewriteCond %{REQUEST_FILENAME} !-d
[78] Fix | Delete
RewriteRule (.*)(\/|\.html)$ index.php
[79] Fix | Delete
RewriteRule (.*)tag\/([^?]+)$ index.php
[80] Fix | Delete
RewriteRule ^([a-zA-Z0-9-\/]+)\/([a-zA-Z0-9-]+)$ [[relativeurl]]/$1/$2/ [L,R=301]
[81] Fix | Delete
RewriteRule ^([a-zA-Z0-9-]+)$ [[relativeurl]]/$1/ [L,R=301]
[82] Fix | Delete
</IfModule>
[83] Fix | Delete
[84] Fix | Delete
#nukeviet_rewrite_end
[85] Fix | Delete
##################################################################################
[86] Fix | Delete
[87] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function