Where is htaccess located in Drupal 7?


The file's called .htaccess and it's in the root of the Drupal installation. A lot of operating systems hide files that start with a ., so that might be way you can't find it.

If it's simply missing, just download a fresh copy of Drupal and copy the default .htaccess file from there.

Tags: Installation

Similar questions

Where Drush 9 aliases file should be located in Drupal 8?
I have tried some ways to create an alias for my local Drupal project, I'm referring to : https://www.drupal.org/node/1401522 https://www.drupal.org/project/drush/issues/831272 https://www.drupal.org/project/drush/issues/786766 I can connect by running this command : Output : But when I try to use a drush alias it doesn't work. Here my alias file :...
Where is the logic located which determines the tpl file for the front page?
We are using Drupal 6. When accessing http://www.mysite.com/, the tpl file which is displayed is named page-front_page.tpl.php. I cannot figure out where the logic is which decides that page-front_page.tpl.php will be used for the front page. I created a second file, named page-front.tpl.php, and this will display instead of page-front_page.tpl.php...
Where are the watchdog logs located or how do I view the errors created?
How do I view the watchdog logs that are created? Is there an interface to view them with, or are the logs stored somewhere on the filesystem?
Include a PHP file located in the home directory in a module
How can I include a PHP file located in my Drupal's home directory from a module?
How to get the URL of a file located in the theme folder?
Is there a way to get the URL of an image located in the theme folder? Or just get the URL of the theme folder?
how to change "username" text located in registration form
how i can change "username" text, located in registration form.. i need to change it to "Organization Name" and everywhere of my website "username" text should replace with "Organization Name". How to do it? Thanks

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.