• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Can't exclude directories from .htaccess mobile redirect?

php.htaccess


PHP Snippet 1:

RewriteCond %{REQUEST_URI} !^/?(directory1|directory2)($|/)

Related Snippets

wp_remote_get() not passing authentication

Mobile browsers are adding .html to filename on download

Sync Records With Default Values in Pivot Tables, Call to undefined method syncWithPivotDefaults()

How to check user Permissions using Custom Middleware in Laravel

MySQL order by field in Eloquent

PHP: convert all UTF-8 characters to HTML entities

curl returning 301 error after migrating to https

How to create a cookie to store the timestamp of when a page is first loaded with php

Insert And Retrieve Data in MySQL with $.post Noob Question

Create a new line whenever an array value reaches more than 10 characters

PHP Fatal error: Class not found - PHPUnit

How do I refresh a DIV content?

Combine array with same value and add other [duplicate]

Form Validation and Submission to database

Transform array, set each array element with parent key php

About Contact Privacy policy Terms and conditions