.htaccess

What is .htaccess? – Definition

The .htaccess file is the Apache webserver configuration file. For SEO, it provides the following possibilities:

  • redirect settings,
  • controlling access to website resources,
  • page cache settings.

htaccess file definition

How to Create the .htaccess File and Use It?

Directives included in this file apply to the directory in which the file is located and to subdirectories that do not have their own configuration file. This file can be created with a standard text editor (e.g. Notepad, Notepad++) or an editor installed on the server. It should be saved using UTF-8 encoding and uploaded to the server via FTP.

The .htaccess file allows you to configure many server parameters (a full list of functions can be found in official server tutorials).

Was this definition helpful?
(0)
Author
Delante is an online marketing agency specialized in generating website traffic from search engines and paid ads (SEO / SEM). Over 80% of our clients are from rapidly growing e-commerce industry.

RECENTLY ON OUR BLOG

Noscript Tags - What Are They and How Do They Affect SEO?

Noscript Tags - What Are They and How Do They Affect SEO?

Nowadays, it’s hard to imagine a website without JavaScript that makes it noticeably more attractive. Although it doesn’t happen on a daily basis, the browser preferred by users visiting your website may not support JS or the functionality may be disabled. In this case, it’s crucial to provide visitors with an alternative website version with noscript tags. What are they and how do they affect SEO?

Read more