Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/guiPack/guiPack.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/guiPack/guiForm/guiForm.php on line 100

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/guiPack/guiImageEditor/guiImageEditor.php on line 793

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_modulemanager.php on line 54

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_sendmail.php on line 91

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 15

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 18

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 65

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 69

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 75

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 82

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 84

Deprecated: Assigning the return value of new by reference is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_site_c.php on line 95

Deprecated: Function set_magic_quotes_runtime() is deprecated in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/init.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/guiPack/guiPack.php:21) in /data/sites/web/jonaendananl/subsites/htaccess-redirect.com/includes/class_login.php on line 68
.htaccess redirect (301, 404) or rewrite url for apache webservers

Using a .htaccess file to redirect or rewrite your URLs

On this website we will try to learn you everything there is to know about the .htaccess file (and ofcourse the .htpasswd file) and how to use these files. 

  • Make Search Engine Friendly URL's
  • Redirect old pages to new ones in a correct way
  • Force pages to https and vice versa
  • Secure a webpage with an username and password

Please help us to make this the ultimate htaccess information portal. On the Examples page you will find many code snippets which can help you improve your website. You can comment on each example and help our visitors. If you have any extra information, code snippets, examples or tips. Please feel free to use our contactform.