by Amit | Feb 23, 2022 | Apache mod-rewrite and htaccess related Articles
This article explains how to remove trailing slash from URLs using htaccess file. If you want to do the opposite , then see How to enforce a trailing slash . A trailing slash in any URL is a slash character that appears at the end of the URL. The following URL has a...
by Amit | Feb 13, 2022 | Apache mod-rewrite and htaccess related Articles
Deny access to a specific IP address with htaccess With htaccess it is possible to block a specific IP address so that it can not access your website. You can block a specific part of your site or whole site for that spacific IP. Blocking access to a client IP is...
by Amit | Feb 12, 2022 | Apache mod-rewrite and htaccess related Articles
This article is for mod_rewrite beginners who want to learn how to remove a segment from URLs. If you are new to htaccess and URL rewriting you can follow our Basic htaccess tutorial which is designed especially for beginners. In this article, we will learn how to...
by Amit | Feb 9, 2022 | Apache mod-rewrite and htaccess related Articles
If you are using htaccess to rewrite URLs or to remove file extension ,then you might sometimes face this issue as your HTML form stops sending POST data. The problem occurs because the rule you are using to remove file extension from URLs does two types of URL...
by Amit | Jan 18, 2022 | Apache mod-rewrite and htaccess related Articles
In this article I will show you how to write a RewriteRule for htaccess to redirect a website to another website with homepage exception. I will show you a RewriteRule that does a 301 redirect from your website to another external site. The redirection will get...