edit p-add and add .htaccess