Tag: .htaccess

Enabling Cross-Origin Resource Sharing CORS for Apache

When trying to share resources across different domains (host-a.com vs. host-b.com) you will come across the concept of Cross-Origin Resource Sharing (CORS). In order to be able to share resources across different domains you will most likely need to enable to CORS manually on your server. For instance, when a script on host-a.com tries to […]

Custom WordPress Permalinks Are Causing 403 or 404 Errors

When settings custom permalink structures in your WordPress settings make sure to either make .htaccess writeable by your webserver so that when saving your custom structure via the backend WordPress will automatically update your .htaccess too or manually edit your .htaccess file with the minimal required mod_rewrite rules as shown below, right after setting your […]