oEmbed work on localhost but not on distant server

It’s a missing configuration on the apache hosts file which cause troubles on serveur ‘self call’. For exemple, if serveur is using domain.com, I’ve a timeout when I typing curl domain.com with shh. Adding 127.0.0.1 domain.com in /etc/hosts file and it’s work !

Having an HTTP error 500 after migrating a website

The error almost answers your question. Rename the folder for the plugin inlinks and the site should be restored. You may have to clear your browser’s cache. Once that is done you can work out the PHP error which is likely the result of using PHP versions on your dev and live server that are … Read more

WordPress Memory limit not increasing

Try to create .user.ini file in root and put below code upload_max_filesize = 500M post_max_size = 256M memory_limit = 500M max_execution_time = 300 max_input_vars = 500M Try and let me know if any query. Hope it will help!

How to set up suhosin.ini for unlimited menus

I found the answer, so I’m posting it to help others out: In this file (depending on your server setup): /etc/php5/apache2/conf.d Change suhosin.ini on the following lines (remove the semicolons if applicable): suhosin.post.max_vars = 5000 suhosin.request.max_vars = 5000 The default 1000 will not work – 5000 seems to work well for my needs (so far!)

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