.Htaccess Rewrite Generator
.Htaccees generator is a free tool used to generates htaccess files and htaccess redirect syntax parameters for a webserver such as apache, is etc. you don't need to have knowledge of mod_rewrite
before you can use this free tool. All you need to do is to identify the htaccess command you need and use the form above to generate it. Generation of .httaccess custom
404 page , 401, 402, 403, 501, error pages are easy and htaccess redirects and password syntax parameters generation is a snap.
Htaccess File
The .htaccess file is a small text document that generally sits at the root of your server in the same location as your index.php or index.htm pages. It gives you the ability to interact with Apache and control directores or domains n your web server on an domain-to-domain and directory-to-directory basis.
htaccess files are placed at the root of your web server or in any drectory in the server which you want to give a special control drectives. For instance where you'd like to control the flow of visitors in a server you want to protect directories and redirect the traffic visiting those pages. This page will generate you the rewriterule syntax parameter to use in the .htaccess file to redirect your visitors in different ways. Note that this is a powerful system file, if the syntax is incorrect in anyway, it could render your site unusable. Always backup your old .htaccess.
Manually creating these RewriteRules can be time consuming and error prone. This tool will generate the rules for you.
Enter your old page to new pages then click the generate button. Copy the resulting code into your .htaccess file then click or refresh ur webpage to see the webpage is redirecting as expected and if it is not redirecting as expected check the page u entered.
Htaccess Redirect generator
Htaccess redirect generator tool is very easy to use, all you need to do is to enter the correct webpage in old url path and the new url path webpages for a htaccess redirect 301.
I find the simplest way to do this is to create an Excel file with two columns. Place the old pages in the first column and the new pages in the second column. Then just copy and paste the cells into the form below and generate your htaccess redirect 301 code.
You only need to enter the path for each page and not the whole URL. e.g. about-us.htm. Just using paths means the rules generated are domain name independent. If you enter the full URL then the code generated will also take the domain into account. This way you can have the rule only apply to a single domain or have the redirect switch to a different domain
Htaccess tool
Htaccess tools provided on this site is free of charge
use at your own discretion, if you change the content of your htaccess file and notice a 500 error, just remove the last code added to correct the
problem. Using this tool you can also generate codes to block bad bot ip or a user ip that is harming your site.
Htaccess generator tool can be used to generate code for Turning file caching, image caching, site compression is very easy.
htaccess generator tool explanations
This is a simple explanation of all the tools used here
ip Blocking
Ip blocking rewrite rule is used to block spammers ip and bad robots.
301 htaccess redirect
The 301 redirect rule is used to redirect old page to new page, old website to new website, old domain to new domain, https to http and old directory to new directory.
Custom error pages
Custom error page rewrite rule is used to redirects and send a user to a custom error page when there is an error on the server or a page not found on user request. This can be in the form of 404 error page, 401 and 500 errors etc.
Htaccess password or htpasswd
Htaccess htpasswd rewrite rule is used to block users from accessing a file or directory by requesting for password, when one want to access such pages or directories on a webserver.
Hotlink protection
Hot link rules are used from stopping other webmasters from stealing your bandwidth by putting your site images on their sites.
Htaccess
Prevent directory listing
Directory listing can be prevented by using this tool to block users from seeing the content of a directory.
Htaccess is a great powerful tool on apache webserver.It help you to automate a complex job with litle programming. For instance you can serve millions of pages using i single php page, and redirect all request to your server to that single php page and it will generate webpages automatically. Htaccess generator is great tool for every webmaster.
|