Should you htaccess or server.config file on apache server?

May 17, 2019 0 Comments

Should you use htaccess or server.config file? This is a common question among many apache mod-rewrite users especially among newbies as they are curious about it. If you search this topic on google you will get hundreds of top results where experts advice you not to use htaccess. One true answer to the question can …

5 commonly used Flages in apache RewriteRule with explanations

May 15, 2019 0 Comments

Five commonly used Flags in Apache mod rewrite Flags play a important role in RewriteRule directive by changing its behavior. Although flags are optional in RewriteRule but we can’t rewrite an URL the way we want to do without using Flags. In this post I am going to share 5 rules that you often see …

Is restarting apache server required for htaccess rules?

May 15, 2019 0 Comments

Do I need to restart apache server to use RewriteRules in htaccess? New users often ask whether they should restart apache server after making changes in htaccess rules. I see a similar question being asked more and more often on question and answer sites like Stackoverflow. So I decided to write my own post that …

Site looks messy after using RewriteRule?

May 5, 2019 0 Comments

Sometimes when we use RewriteRule directive to shorten our urls we get into a starnge trouble. Our site looks messy as it loads without css , Javascript , images and other relative resources. This is the question I often see users posting on StackOverflow. A few years ago I answered a similar question on StackOverflow …