Skip to main content
Call us
Phone numbers and hours
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

Community Related

9Niqat's Avatar
mod_security

Be the first to reply

Last posted over 3 years ago.

Ameya_1994's Avatar
.htaccess file issue

Be the first to reply

Last posted about 3 years ago.

JamesStL's Avatar
htaccess file issues

1 Replies

Last posted over 2 years ago.

colonus's Avatar
remove .php .html extension Ultimate Hosting linux

1 Replies

Last posted about 2 years ago.

Ordway's Avatar
creating an .htaccess file

9 Replies

Last posted over 3 years ago.

Don't see what you are looking for? Search the Community