Apache rewrite rule works on localhost but not on server
snippet in htaccess

Apache rewrite rule works on localhost but not on server

user5986

RewriteEngine On
RewriteRule ^p/(.*) /index.php?p=$1 [PT]