mazooo
Forum Replies Created
-
Forum: Hacks
In reply to: More dynamic solution for WP_USE_THEMES falseSo, I am using the admin site as a backend for an iApp. The iApp does requests on an extract script, which gets some data from the fantastic wp data model and returns it to the iApp in JSON.
Forum: Hacks
In reply to: More dynamic solution for WP_USE_THEMES false@jaapmarcus:
Good idea but not the solution, since /index.php would redefine to true in an out-of-the-box installation. And we do not want to change code which will be lost at the next update.@mark:
Yes, I already mentioned earlier, I use only the admin site. Do you really need to know why I need only the admin site? ??
Using define(‘WP_USE_THEMES’, false) in /index.php works fine, I will have to set it to false in every Update though.Forum: Hacks
In reply to: More dynamic solution for WP_USE_THEMES falseSorry for the (too) short explanation. Imagine, you would use wordpress only as a content management system (for whatever reason). Say, you use the URL example.com/wp-admin/. In order to make sure, that there is nothing rendered at example.com/, I used the option
define('WP_USE_THEMES', false);
This works perfectly fine. It’s just not the perfect solution, because I need to be careful after every wordpress upgrade.
Forum: Plugins
In reply to: tweet this just stalls and hangs the wordpress system?looking quickly through the code, i guess i know what the issue is. The function tt_read_file(url) is running into a timeout, if “url” isn’t responding. I changed the url Service in tweet this Settings to bit.ly because the default one obviously struggled with the function tt_read_file.
cheers!Forum: Fixing WordPress
In reply to: RSS Widget ErrorI solved this issue by making sure my server is able to resolve the given address, for example:
wget https://test.mydomain.com/blogs/mu-blog/feed/
If the address is unresolvable by the server, it most of the time means, that the server is somewhere behind firewalls and has an internal ip-address.
Solution:
in /etc/hosts, make sure you put something like this:
127.0.0.1 test.mydomain.com
Good luck.
Marcel