Categories
Software Web Design

How one slash slashes your website: WordPress .htaccess file preventing access to password-protected directories

Very helpful article from hostgator here http://support.hostgator.com/articles/specialized-help/technical/wordpress/wordpress-preventing-you-from-password-protecting-a-directory shows up a problem which can drive many people crazy if they’ve got WordPress installed at root alongside other CGI password-protected folders. In short, there’s a missing / here: RewriteRule . /index.php [L] which would be better being RewriteRule ./ /index.php [L]

Categories
Web Design

Vimeo oembed fix for WordPress (again!)

Either Vimeo or WordPress has changed something, but oembeds weren’t working for me with Vimeo. Some helpful people had produced patches in the form of plugins but they didn’t work either. However, they very nearly did. Here’s my corrected version of the plugin. /* Plugin Name: Vimeo oembed hotfix Plugin URI: Description: Enable https vimeo […]