πŸ† 1tools For Business 🎁 Exclusive Deals Dark Mode - 1tools.co

Htaccess Redirect Generator

instantly Generate htaccess 301 redirect code to redirect non www version of url to www version of webpage OR vise versa.



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




🚨 Essential Tools Every Business Needs In 2023 🚨


Best Overall
Fiverr

Biggest marketplace for online services, +10M services available

Best For YouTube Creators
TubeBuddy

Grow Your YouTube Audience faster, Trusted by over 10M creators

Best For Web Hosting
GreenGeeks

Best Web Hosting Services for 2023. Fast, Secure and Eco-friendly Hosting

Best For Email Marketing
GetResponse

Simplified tool to send emails, create pages, and automate your marketing.

Best For Selling Products
Payhip

Sell digital downloads and courses. No technical skills required.

Best For Starting Business
Systeme.io

Everything to market, sell and deliver your products online.

Best For SEO Rankings
Mangools

Best SEO toolset for bloggers, marketers or SEO agencies.

Best For Website Builder
Site123

Best website builder to build multilingual, SEO-friendly websites.

Best For AI Writer
Writesonic

Best AI writer that creates content for your blogs, ads and emails,.

Best For Social Media
Crowdfire

Best Social Media Management tool for agencies and individuals



ABOUT .HTACCESS

On web servers running the Apache Web Server software the .htaccess configuration file can be placed. .htaccess is an abbreviation for Hyper Text access. When this file is placed the Apache Web Server will detect and execute the commands in this file. This file can be used to:

  • Alter configuration of Apache Web Server
  • Enable/disable functionality and features
  • Handle redirects
  • Protect passwords
  • Deny access toy visitors by IP address
  • Redirect visitors

There are other additional functions that the .htaccess file can be coded to perform. The name of the file cannot be changed or an extension added to it. In case you change the name or save it with an extension and upload it; it will not be recognized. If you have used a Content Management System like Drupal, Joomla or WordPress you might have encountered this file. You might also have edited it. Some web servers do not allow you to edit it. But you can create your own file and upload it to specific directories.


.htaccess redirect generator

Placing all the commands that webmasters might want in the .htaccess file on the web server requires them to know html code. Yes, the commands for the .htaccess file to execute can be created using a text editor but 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 available on toolslite.com. if you want the tool to generate the code to include in your website’s .htaccess file, navigate to toolslite.com from your search browser. On the site scroll down to the .htaccess redirect generator tool icon and click on it. It has two options;

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

The default selection is the first option. Enter your domain name and press β€˜get your code’ button. There’s a captcha that will require verification. Once you have done that the code generated will be displayed in the Results box. Now you can copy the code from here and paste it in your .htaccess file.

After successfully updating the .htaccess file it will perform the redirect function. Now the website visitors will be redirected to another site seamlessly,




πŸš€ Boost your productivity and optimize your workflow with a collection of top-notch online tools and web resources.
πŸ’Ύ Don't forget to bookmark this site (Ctrl + D) for quick access. If you have any feedback, feel free to connect with me on Linkedin.
🚨 Use tools responsibly. Site not liable for misuse (theft, fraud, unauthorized activities). Stay ethical.


πŸ•™ Page loaded in 0.01 seconds



ru de fr ar pt es it zh