Skip to main content
Keep Your Business Open During COVID-19Learn More
Call us
Phone numbers and hours
Request a Call

Avoid the wait. Make a request and we will call you back

Request a Call
Help Center

Explore our online help resources

BlogHelp

GoDaddy Help

Disable your .htaccess file

The .htaccess file is a control file for cPanel and Managed WordPress hosting accounts. It's often used by applications, like WordPress, to help manage and control the site. This file can become corrupted or cause bad redirects and might need to be disabled as part of your troubleshooting.

Warning: Always make a backup of your site before troubleshooting or making any changes.
  1. Connect to your hosting account with FTP.
  2. Once connected, change to the root directory for your WordPress site, which is folder containing your site.
  3. Locate the .htaccess file and rename it to .htaccess.disabled. Renaming the .htaccess prevents it from affecting your site.

Related steps

  • If the file is not corrupted, you can rename the file back to .htaccess to enable it again.
  • If the .htaccess file caused an error on your site and needs to remain disabled, you can automatically create a new one by resetting your permalinks.

More info