Corrupted .htaccess File
-
I have taken over a site that was compramised because of a plugin that was installed one thing that was changed was the .htaccess file that became corrupted. They don’t haved a usable .htaccess file to replace.
The site is getting 404 errors on the site currently:
localhost/:623 GET http://localhost/test/wp-content/plugins/honeypot/includes/js/wpa.js?ver=2.1.3 net::ERR_ABORTED 403 (Forbidden)
localhost/:627 GET http://localhost/test/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js?ver=2.7.0-wc.7.6.0 net::ERR_ABORTED 403 (Forbidden)
localhost/:633 GET http://localhost/test/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js?ver=7.6.0 net::ERR_ABORTED 403 (Forbidden)
localhost/:634 GET http://localhost/test/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js?ver=2.1.4-wc.7.6.0 net::ERR_ABORTED 403 (Forbidden)
localhost/:640 GET http://localhost/test/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js?ver=7.6.0 net::ERR_ABORTED 403 (Forbidden)
localhost/:646 GET http://localhost/test/wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js?ver=7.6.0 net::ERR_ABORTED 403 (Forbidden)
localhost/:690 GET http://localhost/test/wp-content/themes/JointsWP/assets/dzsparallaxer/dzsparallaxer.js?ver=6.2 net::ERR_ABORTED 404 (Not Found)
localhost/:691 GET http://localhost/test/wp-content/themes/JointsWP/assets/scripts/js/custom.js?ver=6.2 net::ERR_ABORTED 404 (Not Found)I am guessing it is because all that is in the .htaccess file is this :
“BEGIN WordPress
The directives (lines) between “BEGIN WordPress” and “END WordPress” are
dynamically generated, and should only be modified via WordPress filters.
Any changes to the directives between these markers will be overwritten.
RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase /hip/ RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /hip/index.php [L]
END WordPress”
How can I fix the .htaccess file to allow access to all these files?
The topic ‘Corrupted .htaccess File’ is closed to new replies.