This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CORS Headers (add this) | |
<ifModule mod_headers.c> | |
Header always set Access-Control-Allow-Origin: "*" | |
Header always set Access-Control-Allow-Methods "POST, GET, PUT, DELETE, OPTIONS" | |
Header always set Access-Control-Allow-Headers "X-Requested-With, content-type" | |
</ifModule> | |
# BEGIN WordPress (you should have this in your original WP .htaccess) | |
<IfModule mod_rewrite.c> | |
RewriteEngine On |
NewerOlder