Htaccess Redirect Generator


1. Select redirect type





2. Enter your domain name


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

3. Get your code


4. Copy the code to your .htaccess file



About Htaccess Redirect Generator

{p} {t}What is {h}Htaccess Redirect Generator{/h}? {/t} {b}

Putting all of the commands that webmasters might need inside the .htaccess document at the internet server calls for them to recognize html code. yes, the instructions for the .htaccess record to execute can be created using a textual content editor however cannot be placed as a tool.

To perform a redirect from non-www to www or from www to non-www there’s a .htaccess tool to be had on smallseotools.com. in case you need the device to generate the code to encompass to your website’s .htaccess record, navigate to smallseotools.com out of your search browser. at the web site scroll all the way down to the .htaccess redirect generator tool icon and click on on it. It has  options;

  • Redirect from www to non-www
  • Redirect from non-www to www

The default choice is the primary option. input your domain call and press ‘get your code’ button. There’s a captcha so as to require verification. once you have got performed that the code generated can be displayed within the effects container. Now you could reproduction the code from right hereand paste it for your .htaccess file.

After efficiently updating the .htaccess file it's going to carry out the redirect characteristic. Now the internet site traffic can be redirected to another website online seamlessly,

{/b} {/p}

{p} {t}How to Create {h}.htaccess{/h} file ? {/t} {b}

you may create the .htaccess record using an amazing text editor like TextPad, UltraEdit and Microsoft WordPad. You can't use Microsoft NotePad. you can enable password safety, redirect to a custom mistakes page if a consumer fails to login, or redirect to a custom page if an blunders is encountered with the aid of a user. An .htaccess file can include a single or multiple traces depending upon the features you want to include in it. you will want to use an FTP (document switch Protocol) software to add the file. additionally you should to upload the document in “ASCII” mode. a few FTP programs use “BINARY” as the default to upload files. If that’s the case you need to change it to “ASCII”. add the report to the directory you need it to reside in. whilst you examine the files in your internet site’s directory you won't see it as your internet server’s software program is probably hiding it. {/b} {/p}