Code Baker

Make Thinks Easy For You

  • Home
  • PHP
  • jQuery
  • MySQL
  • HTML
  • Contact Us
  • Interview Question
    • PHP Interview

.htaccess

PHP 

How to prevent directory listing

Create .htacess file in root directory of project. mkdir .htaccess open the .htaccess file and add below line Options -Indexes

February 16, 2020 Harinder Singh
Read more
Article 

HTTP to HTTPS direction with .htaccess

Open your .htaccess file or create new one. Copy the below code and placed on starting of files RewriteEngine On

January 5, 2019 Harinder Singh
Read more
PHP 

Increase file upload size in php

By default file upload size id 2MB in php.ini file but you can increase it in php.ini file or .htaccess

December 11, 2018 Harinder Singh
Read more
PHP 

How to set 404 redirection in .htaccess file

The HTTP 404 isNot Found and 404 error message is a Hypertext Transfer Protocol (HTTP) standard response code, when you access a page 

October 7, 2018 Harinder Singh
Read more
PHP 

htaccess remove .php, .html and trailing slash

# externally redirect /dir/file.php to /dir/file and remove index RewriteCond %{THE_REQUEST} \s/+(.*?/)?(?:index)?(.*?)\.(?:html?|php)/?[\s?] [NC] RewriteRule ^ /%1%2 [R=301,L,NE] # remove trailing

June 24, 2018 Harinder Singh
Read more
PHP 

301 redirect with htaccess

Status 301 means that the resource (page) is moved permanently to a new location. The client/browser should not attempt to

February 26, 2018 Harinder Singh
Read more
PHP 

302 redirect with htaccess

Status 302 means that the resource is temporarily located somewhere else, and the client/browser should continue requesting the original url.

February 26, 2018 Harinder Singh
Read more
PHP 

How to add WWW to URL in php

If your site can be accessed as both http://www.domain.com/ as well as http://domain.com/ and are having trouble with things such

August 26, 2017October 7, 2017 Harinder Singh
Read more
PHP 

Remove index.php by .htaccess – CodeIgniter

In this tutorial we are going to learn how to remove index.php from URL using .htaccess file in CodeIgniter. .htaccess

August 26, 2017October 7, 2017 Harinder Singh
Read more

Recent Posts

  • npm ERR! Invalid dependency type requested: alias
  • Regular Expression to validate the Time Format in Javascript
  • Prevent submitting form by pressing the Enter key Vuejs
  • How to convert an Object to an Array in JavaScript
  • Export transactions require a customer name and address – Stripe Error

Categories

  • Article
  • CSS
  • Facebook
  • Firebase
  • git
  • HTML
  • Javascript
  • jQuery
  • Laravel
  • Linux
  • Mongo DB
  • MySQL
  • Nodejs
  • PHP
  • PHP Interview Question
  • Ubuntu
  • Vue Js
  • Webconfig

Tags

.htaccess click Code Baker codebaker Command cookie CSS Curl CURL PHP Date Datetime Delete cookie Demo example Facebook Facebook App Facebook Graph API Facebook token git Gmail Google Google reCAPTCHA HTML IP address Issue Javascript jQuery jQuery Events Laravel Linux Commands magic function magic methods mysql nodejs npm on click PHP php interview question plugin print Regex SSL Stripe Ubuntu VueJs

Tags

.htaccess click Code Baker codebaker Command cookie CSS Curl CURL PHP Date Datetime Delete cookie Demo example Facebook Facebook App Facebook Graph API Facebook token git Gmail Google Google reCAPTCHA HTML IP address Issue Javascript jQuery jQuery Events Laravel Linux Commands magic function magic methods mysql nodejs npm on click PHP php interview question plugin print Regex SSL Stripe Ubuntu VueJs

Most Viewed Posts

  • npm ERR! Invalid dependency type requested: alias
  • Setting initial/default value of a Vuetify checkbox
  • Dynamic Route added to CSS and JS paths on page refresh Webpack with Vuejs
  • How to convert an Object to an Array in JavaScript
  • Export transactions require a customer name and address – Stripe Error

Site Tree

  • Contact Us
  • PHP Interview Questions

Recent Comments

  • Jake on jQuery click function not working
Copyright © 2022 Code Baker. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.