• 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

How to load Codeigniter 4 lang file into an array variable

Using if(isset($_POST['submit'])) to not display echo when script is open is not working

Override default Auth routes in Laravel 7

PHP Form Not Inserting

Xdebug in Laravel is not working with VSCode

PHP: PDO + CSV export not downloading (headers issue?)

Facebook SDK error: Cross-site request forgery validation failed. Required param "state" missing from persistent data

How do I refresh a DIV content?

Hi, I am making a contact form thingy, and my php isn't working any reason why?

renameColumn migration fails for existing column with columns does not exist error

error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

Check if a string contain multiple specific words

How do I set the maximum php memory limit

PHP array, move keys and values to new array, but mix it up

Natural ORDER in Laravel Eloquent ORM

About Contact Privacy policy Terms and conditions