Do it in PHP
Strip contents in htaccess