You'll then need to copy the generated rules into the .htaccess file of the subdomain that you want to be redirected.
Available .htaccess Code Generators
- Non WWW to WWW
- WWW to Non WWW
- 301 Redirect File or Directory
- Caching Javascript, CSS, and Images
- Custom Error Pages (400, 404, 500, etc)
- Uppercase To Lowercase URLs
- Block Bots
- Prevent viewing of .htaccess file
- Prevent Directory Listing
- Remove File Extensions from URLs
- Non-Slash vs. Slash URLs
- Subdomain to Subdirectory Redirect
- HTTPs vs HTTP URLs
- Change Default Directory Page
- Block or Allow an IP
- Prevent Hotlinking
- Password Protect File
Frequently asked Questions
Seamless UX during Subdomain Redirection
Simplify Website Structure with Subdomain to Subdirectory Redirect
Having lots of different sections on your website under different web addresses can make things really messy and confusing for visitors. But our special tool has a neat feature that can fix that and organize your site better. This feature is called "Subdomain to Subdirectory Redirect."
Right now, you might have sections of your site living at different web addresses called subdomains. Like "photos.yoursite.com" and "blog.yoursite.com" and so on. That's messy!
With our redirect feature, you can move all those sections so they live together at your main website address instead of spread out.
Our tool makes it super easy to set up these redirects. You don't have to be a tech expert. Just tell our tool which subdomains you want to redirect, and it will automatically create the special code to make it happen. Then when someone tries to visit an old subdomain address, like "photos.yoursite.com", our code will instantly redirect them to the new and improved location at "yoursite.com/photos" instead.
Having a nicely organized site with all your sections living together in one place isn't just better for your visitors though, search engines like Google actually prefer it that way too! They can understand and recommend your site better when it's all cleanly organized under one roof.
So using our redirect tool is a total win-win. Your human visitors get a way simpler experience finding what they need. Google and other search engines can properly read and promote your whole site too. Everybody wins!
The best part is you just need to point and click a few times in our tool. We'll automatically do all the redirect code setting up for you behind the scenes. No special skills are required! Just a few clicks for an awesome newly organized website.