by Amit | Mar 22, 2021 | apache, Apache mod-rewrite and htaccess related Articles, htaccess
In this article we will learn about mod-rewrite NEflag. What this flag is used for and why we should use it all these frequently asked questions are answered in this article. NE stands for NoEscape We use this flag in RewriteRule to tell the engine not to escape...
by Amit | Mar 21, 2021 | htaccess
With ErrorDocument directive it is also possible to show a custom error text instead of redirecting the request to error page. You can use your own error text message that will be displayed to broken requests on the server. Here is an example : ErrorDocument 404...
by Amit | Mar 21, 2021 | apache, Apache mod-rewrite and htaccess related Articles, htaccess, url-redirection
In this post you will find 5 mod-rewrite rules that you can just copy and paste to your htaccess file. htaccess copy paste rules with code examples. All the rules provided here are tested and works perfectly fine in an htaccess file. If you are one of those guys who...
by Amit | Mar 18, 2021 | Apache mod-rewrite and htaccess related Articles, htaccess, url-rewriting
END flag is used in RewriteRule to terminate the internal Rewriting process. When the rule matches the END tells server to shut down the internal Rewriting that happens only on htaccess context but not in server.config as this file is read only once by the server. END...
by Amit | Mar 17, 2021 | Apache mod-rewrite and htaccess related Articles, htaccess, url-redirection
If you are getting a 500 internal server error for using QSD flag in your RewriteRule then its quite certain that your Apache version doesn’t support it. QSD is available on Apache 2.4+ versions. If your version is bellow the required lavel and you want to...