Ugly permalinks stopped redirecting to pretty URLs

Found the following in a plugin file using grep -Ri ‘redirect_canonical’ /path/to/wordpress/plugins: remove_filter(‘template_redirect’, ‘redirect_canonical’); That disables WordPress’ built-in canonical URL redirects. Disabling the component of the plugin that contained that line fixed the problem. Beware the WordPress Mobile Pack’s Mobile Switcher. Hopefully reaching out to the plugin developer will result in a fix that allows … Read more

Issues when moving from server to MAMP

The :8888 is the port your local Apache server is listening on and isn’t actually part of the url. To use your own custom domain name locally open up your host file sudo nano /etc/hosts and add this line to the bottom 127.0.0.1 custom-domain.dev Then add your domain to wp-config.php: define( ‘WP_HOME’, ‘http://custom-domain.dev’ ); define( … Read more

I’m think I’ve found a bug with JetPack 1.7 [closed]

Jetpack support kindly replied: This could be an issue with the After the Deadline module. When you update a post, WordPress makes a call to the service (service.afterthedeadline.com) to spellcheck your content, and it seems an error occurs during the connection. Could you try deactivating the Spelling and Grammar module Disabling it DID fix the … Read more

How can I set up a completely separate (not multisite) WordPress installation as a subdirectory of an existing WordPress blog?

I decided to move the child installation to the main site’s web root, and rename its subdirectory to intranet. Once I had done this, all I had left to do was place this line of code after the main site’s rules: RewriteRule ^intranet/ – [L] The – rewrites the URI to itself – thus overriding … Read more