Htaccess Redirect Generator

WWW Settings
HTTP Settings
Trailing Slash Settings
Add: Redirects URLs not ending in / to ones with it.
Remove: Redirects URLs ending in / to ones without it.
Ignore: Does not redirect URLs with or without /.

On directories

On non-filepath URLs

On query strings

Redirect type

Use permanent 301, temporary 302 or temporary with methods 307 for trailing slash redirects:

Similar tools

HTTP Status Code Checker

Quickly check the HTTP status code of any URL with our online tool. Troubleshoot website errors and improve search engine rankings. Try it now!

Internet Speed Test

Discover how fast your internet connection really is with our Internet Speed Test tool. 🚀 Get accurate results and real-time data tracking to optimize your speed.

Reverse IP Lookup

Uncover hidden website information with our easy-to-use Reverse IP Lookup tool. Get instant access to IP addresses, hosting providers, and website owners.

DNS Lookup

Get instant DNS information for any domain with our DNS Lookup tool. Check IP address, nameservers, and other DNS records with ease. Perfect for troubleshooting and verifying DNS configuration.

What Is My IP Address

Get all information about your connection data like your public IP address and public IP location. Check IPv4/IPv6, ISP, Timezone and Region of your connection.

SSL Lookup

Verify the authenticity of a website's SSL certificate with the SSL Lookup tool. Get detailed information about the SSL certificate including its expiration date, issuer, and protocol version.


Check the connectivity and measure response time with our ping tool. Monitor network performance, troubleshoot issues and optimize response time for improved network efficiency.

Safe URL checker

Protect yourself online with our Safe URL Checker. Quickly scan any website for potential threats like malware, phishing, and viruses. Get accurate results in real time.

Google Index Checker

Google Index Checker tool lets you quickly check the status of your web pages in Google's search index. Keep track of your website's visibility and make informed SEO decisions with ease.

Google cache checker

Check the cache status of your website with our free Google Cache Checker tool. Quickly and easily determine if your website is stored in Google's cache and optimize for better search engine visibility.

URL redirect checker

Check your website's redirections with our URL Redirect Checker tool. Quickly identify and resolve issues with your website's redirects to ensure a positive user experience and search engine ranking.

Let us know

Please share your experience.

(33 Ratings)

htaccess redirect generator For SEO-friendly Redirects

Our Htaccess Redirect Generator tool simplifies the process of creating redirects for your website. With this easy-to-use tool, you can quickly generate htaccess code that will redirect your visitors from one page to another, or from one domain to another.

Simply enter the current URL and the URL you want to redirect to, and our tool will generate the necessary code for you to copy and paste into your .htaccess file. This tool is particularly useful for website owners who are restructuring their site or moving content to a new domain, as it allows you to easily redirect traffic to the appropriate pages without losing valuable SEO rankings.

Overall, our Htaccess Redirect Generator tool is a must-have for any website owner or developer looking to improve their website's user experience and maintain the integrity of their search engine rankings.