AJAX not working after rewrite using htaccess
my ajax script is not working after applying rewrite rule. The ajax script
is in page http://raymondmiranda.com/image-gallery
my htaccess code is:
RewriteEngine On
# Unless directory, remove trailing slash
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/$ /$1 [R=301,L]
# Redirect external .php requests to extensionless url
RewriteCond %{THE_REQUEST} ^(.+)\.php([#?][^\ ]*)?\ HTTP/
RewriteRule ^(.+)\.php$ /$1 [R=301,L]
# Resolve .php file for extensionless php urls
RewriteRule ^([^/.]+)$ $1.php [L]
#Default Page
DirectoryIndex home.php
No comments:
Post a Comment