Htaccess Redirect Code Generator Tool

Small SEO Optimizatation Tools

Htaccess Redirect Generator

1. Select redirect type

2. Enter your domain name

Do not include www. Domain name only - e.g.

3. Get your code

4. Copy the code to your .htaccess file

About Htaccess Redirect Generator

Htaccess generator tool is super easy to use, all you have to to do is to enter the right web page in old URL path and the new URL path web pages for a htaccess redirect 301. I found out the easiest way to get this done is to generate an Excel file with at most double columns. Place the old pages in the first column and the new pages in the next column. Then just copy and paste the cells into the form below and generate your htaccess redirect 301 code.


How to use Htaccess redirect generating tool?

You merely need to enter the path for every single page rather than the complete URL. e.g. about-us.htm. Just using paths means the rules made are domain name independent. If you enter the full URL the code made will also take into consideration the domain. This way you could have the rule only connect with an individual domain or have the redirecting switch to another domain. Htaccees generator is a completely free tool that help generates solid ht-access files and .htaccess redirect syntax parameters for a web server such as apache, is etc. you don't have to know about mod_rewrite before you utilize this free tool. All you have to to do is to recognize the htaccess command you will need and use the proper execution above to create it. Generation of .httaccess custom 404 page , 401, 402, 403, 501, error pages are htaccess and easy redirects and password syntax parameters generation is simple. The htaccess file is a tiny text document that generally sits at the top of your server in the same location as your index .php or .htm pages. This offers you the capability to connect to Apache and control directories or domains n your web server with a domain-to-domain and directory-to-directory basis.


Where to put the generated code? 

Htaccess files are put in the main of your web server or possibly any directory in the server that you want to provide particular control directives. For example, where you would like to control the flow of visitors in a server you want to safeguard directories and redirect the traffic visiting those pages. This site will create you the rewrite rule syntax parameter to use in the .ht-access file to redirect these potential customers in several ways. Remember that this is a robust system file, if the syntax anyway is incorrect in, it might render your site unusable. Backup your old always .htaccess.


Is htaccess redirection necessary for SEO?

Yes! it's very necessary for SEO purpose. Creating these RewriteRules can be frustrating and error prone manually. This tool will create the guidelines for you.


How does It work?

Enter your old page to new pages then click on the generate button. Copy the resulting code into the .htaccess file then click or refresh ur web page to start to see the web page is redirecting needlessly to say and if it's not redirecting needlessly to check the page u entered. Htaccess tools provided on this website is cost-free use at your own discretion, if you change this content of your ht-access file and notice a 500 error, remove the last code added to correct the situation just. Making use of this tool you can also generate codes to block bad bot IP or a user is that is harming your site.

Htaccess generator tool may be used to generate code for Turning file caching, image caching, site compression is super easy.


How to use Small SEO Tools Htaccess redirect code generator tool?

Small SEO Tools redirect code generator tool is a most popular and free to use tool which allows you to generate code for managing redirection. There are four simple steps to generate htaccess redirect code for your website.


Step #1: Select redirect type

 a) Redirect from www to non-www  
 b) Redirect from non-www to www  


Step #2: Enter you domain name or your website homepage address.



Step #3: Get your code

  Click on Get Ht-access Code


Step #4: Copy Code to your .htaccess file

Copy your generated code in .htaccess file under "RewriteEngine On".

Popular SEO Tools