Web Hosting - Redirection and authentication
Control access and redirections for your site using the .htaccess file of your OVHcloud Web Hosting plan.
Redirection and authentication with the .htaccess file
The .htaccess file lets you control access to your website and redirect or rewrite its URLs, directly on your OVHcloud Web Hosting plan. This page brings together the guides to protect access (password, IP address blocking), rewrite URLs and make the most of the other capabilities of the .htaccess file.
Guides
Protect access with a password→
Protect a directory or your administration interface with .htaccess and .htpasswd.
Block IP addresses→
Block access to your site for certain IP addresses.
Rewrite URLs (mod_rewrite)→
Rewrite your site's access URLs using mod_rewrite.
Advanced .htaccess usage→
Discover the other operations you can perform with a .htaccess file.
Use .htaccess with WordPress→
Use a .htaccess file to protect and configure your WordPress site.
Go further
Any questions? Access OVHcloud Support
Find answers to your questions in our Help Centre.