Reference Server for pushing Safari Notifications via Apple Push Notification Service For use with Safari Push Plugin for Wordpress (https://github.com/surrealroad/wp-safari-push)
23
stars
9
forks
source link
I'm trying to change the index.php to something else #6
I changed the index.php to push.php and changed the .htaccess from:
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
to:
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ push.php/$1 [L]
it worked perfect..
but now the 404 error page is not working, it redirect the visitors to push.php instead of 404 error page.
Is there any way to fix that with .htaccess?