w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
RewriteRule to allow one file in a directory and rewrite the rest

You can simply exclude posts.php with a RewriteCond

RewriteCond %{REQUEST_URI} !/posts.php
RewriteRule ^mydir/(.*) /mydir/store/$1 [L]




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.