.htaccess 301 Redirect Generator
A simple .htaccess 301 redirect generator to be used to create SEO friendly permanent redirects.
For more advanced rules you can visit our .htaccess RewriteRule Examples.
Redirect old domain to new domain
Create, or edit if already exists, .htaccess file in the root directory (web / httpdocs / www) of web hosting account and add in the code below:
Redirect to www
Create a file called .htaccess in the doc root (web / httpdocs / www folder) of mydomain.com and put in the code below
Redirect old directory to new directory
Redirect old URL to new URL
Method 1 - Redirect your main domain to a subfolder on that domain: RewriteEngine On# Change...
Use the following .htaccess code to redirect non-www URLs to www over http and https. Create, or...
Brute Force Attacks against WordPress have always been very common.Here is how to temporarily...
Advanced .htaccess rules that will overall secure and increase the speed of your Joomla...
Use the following .htaccess code to force a particular directory to load in HTTPS/SSL mode. #...