1. Home
  2. Technical
  3. 301 redirect with .htaccess file

301 redirect with .htaccess file

To redirect web-traffic the following lines of code are entered with text editor (Notepad, WordPad etc.) and then saved as .htaccess file. These must be uploaded to HTDOCS folder on the server.

These lines can also be added to existing .htaccess file on your server.
To redirect web-traffic the following lines of code are entered with text editor (Notepad, WordPad etc.) and then saved as .htaccess file, which must be uploaded to htdocs folder on the server.
Result: web traffic for domain domain.eu is redirected to https://www.zone.fi/en/.

Updated on 2. Sep 2024

Was this article helpful?

Related Articles