How to delete .htaccess file recursive based on size or content
find -type f -name “.htaccess” -delete Delete All .htaccess files from all directory and folders
Continue ReadingDedicated SEO Servers Solution
find -type f -name “.htaccess” -delete Delete All .htaccess files from all directory and folders
Continue ReadingYou can force an HTTPS connection on your website by adding these rules in your website’s .htaccess file: 1 2 3 RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://yourdomain.com/$1 [R=301,L] If your website is in a subfolder, use this code instead: 1 2 3 4 RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} folder RewriteRule ^(.*)$ […]
Continue ReadingTo access .htaccess file you should have access to your server either through ssh terminal command or any FTP client such as FileZilla. So, login to your server through ssh terminal command or FileZilla and locate the .htaccess file. The .htaccess file should be in the public_html folder or your website name folder. Create a […]
Continue ReadingA 500 Internal Server Error can be caused by many things, including but not limited to invalid permissions, invalid ownership, bad lines in your php.ini or .htaccess file, invalid requests in the script, and others not mentioned here. Typically this is not a problem with the server itself, and can be most often resolved by modifying […]
Continue Reading