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

A 301 redirect is an HTTP response code that provides an option to redirect one URL to another. A 301 redirect, also called a permanent redirect, is a redirect to the URL that will remain for an indefinite time.
 
What is an htaccess redirect?
 
A Htaccess redirect is a redirection of a URL to another that is applied via the server file titled.htaccess. In addition, the.htaccess file can be used to set up all kinds of redirects, such as temporary (302) and permanent (301) redirects.
 
When should you include an htaccess 301 redirect?
 
Adding 301 redirects to your.htaccess file is recommended when you wish to permanently redirect a URL to another. In the majority of cases, this would mean eliminating the page, i.e., "page-1," and adding a permanent redirect 301 to another page titled "page-2." This will cause users who go to page 1 to be directed to page 2, instead of being directed to your 404 error page that is not found.



Logo

About Us

SEO is now easy with IMG555.COM. So get excited and get your tasks done in minutes.150+ free online tools to support. Try our SEO, domain tools, backlink tools, keyword tools, image editing tools, website management tools, online calculators, unit converters for free.

Our goal is to make Search Engine Optimisation (SEO) easy. We provide simple, professional-quality SEO analysis for websites. By making our tools intuitive and easy to understand, we've helped thousands of small business owners, webmasters and SEO professionals improve their online presence.