by Amit | Mar 26, 2021 | Apache mod-rewrite and htaccess related Articles, htaccess, url-rewrewriting
In this post I will show you how to write a rule to redirect your domain to an external domain without changing the URL in browser address bar . Redirect domain without changing the URL . You need to enable proxy module on your apache web server in order to...
by Amit Verma | Dec 6, 2020 | Apache mod-rewrite and htaccess related Articles, htaccess, url-rewrewriting
RewriteBase directive sets a base path for all relative links in RewriteRules. In this article I will tell you how RewriteBase works and when we should and when we shouldn’t use it in our htaccess file. How RewriteBase works in htaccess This directive appends a...
by Amit Verma | Apr 2, 2020 | Apache mod-rewrite and htaccess related Articles, htaccess, url-rewrewriting
Both R and R=301 flags are used to redirect URLs using RewriteRule directive. Some new mod-rewrite users often get confused with whether they should use R or R=301 in their RewriteRule. In this post I will explain both flags and when to use these flags in your Rule. R...