.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
Deny access based upon IP address, or an IP block, by placing the following code into your...
Below is a useful code block for blocking a lot of the known bad bots and site rippers currently...
Here are some useful mod_rewrite RewriteRule redirect examples that you can use in your .htaccess...
Yes, mod_rewrite is enabled on your server. For more information on what mod_rewrite is and how...
Insert the following code to your .htaccess file to increase the speed of your WordPress website...