If you want to remove .html or .php extension from the url, Or want to change .html or .php extension with any custom extension then this tutorial will help you lot to get solution. If you need SEO friendly URL for your web based application then it is important to remove special characters from the …
Category : htaccess
19 posts
First make sure that you have created a file with name .htaccess at your root directory To block certain ip address from accessing your website paste below rules on your .htaccess file. order allow,deny deny from 192.168.0.100 allow from all Where The first line “Order allow, deny” tells the web server the “Order” in which …
Please add below code in your .htaccess file. It works also in localhost and Live server. .htaccess file OR
Create .htaccess in root folder and write these line For production server it is recommended that you point your domain directly to the public folder
Recently I was configuring Laravel application in Amazon AWS EC2 instance which was having Ubuntu and Apache installed. The problem was htacess file was not working so Laravel routes were not working. Instead of parsing laravel routes it always shows error URL not found. The problem is by default in apache installed on ubuntu doesn’t …
SSI stands for server side includes, these are special HTML tags which you can include in your HTML documents to call CGI scripts or other HTML content. This is particularly useful, for example to include a navigation menu in your HTML documents, it allows you to use one document to display the navigation menu in …
Offline browsers are pieces of software which download your web page, following the links to your other web pages, downloading all the content and images. The purpose of this is innocent, so the visitor can log off the Internet and browse the site without a connection, but the demand on the server and bandwidth usage …
.htaccess’ is the filename in full, it is not a file extension. For instance, you would not create a file called, ‘file.htaccess’, it is simply called, ‘.htaccess’. This file will take effect when placed in any directory which is then in turn loaded via the Apache Web Server software. The file will take effect over …
What is .htaccess? .htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn ‘loaded via the Apache Web Server’, then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files …