by Amit | Apr 24, 2021 | Apache mod-rewrite and htaccess related Articles, htaccess, mod-rewrite
In this article I will give you a quick overview of mod-rewrite L and END flags. I will show you (with examples) how these two flags work and what’s the difference between L vs END . What is L flag and how it actually works in htaccess L is the most used flag in...
by Amit | Jan 20, 2020 | apache, Apache mod-rewrite and htaccess related Articles, htaccess, mod-rewrite
Hotlink protection using htaccess One of the most beneficial use of htaccess is to prevent hotlinking of images , videos and other documents on your website. You can use htaccess to prevent hotlinking of your media and other documents. What is hotlinking? It means to...
by Amit | Nov 20, 2019 | apache, Apache mod-rewrite and htaccess related Articles, htaccess, mod-rewrite
URL rewriting on Apache server is one of the most easiest and convenient way to shorten a long URL to make it short and search engine friendly. Apache server supports server.config and .htaccess files . Not all web hosting providers allow you to access the main...
by Amit | Oct 31, 2019 | apache, htaccess, mod-rewrite
What is RewriteRuleRewriteRule directive is used to rewite/redirect URLs on Apache server. To convert a longer URL path into shorter one we use RewriteRule directive which is part of Apache mod-rewite (Rewrite Module) . The following is the basic syntax of RewriteRule...
by Amit | Oct 26, 2019 | apache, htaccess, mod-rewrite
I often see users struggling with their RewriteRule to redirect fragment URLs. Fragment is something that the server doesn’t receive meaning that a URL containing #path can not be redirected using htaccess or any other server side redirection methods.Fragment...
by Amit | Oct 19, 2019 | apache, htaccess, mod-rewrite
Time based URL rewriting on Apache With mod-rewite you can rewite or redirect your URLs based on server date and time logic. You can redirect your visitors to a specific page or URL destination using this date/time logic. In this post, we will learn how to apply...