Articles of apache

WordPress V2 REST-API: Endpoints 404?

I just installed and activated the latest version of the WP REST API plugin. However, when I attempt to access a REST endpoint, I end up with the Apache 404 page. $ curl -i ‘’ HTTP/1.1 404 Not Found Date: Wed, 20 Jul 2016 01:23:25 GMT Server: Apache/2.4.18 (Unix) PHP/5.6.23 Content-Length: 219 Content-Type: text/html; charset=iso-8859-1 […]

Rewrite URL to remap WordPress Permalink

I’m moving my WordPress site to a new host, and in the process I want to make a one time change to the Permalinks. I want to rewrite the URLs from /2015/11/sample-post/ to /sample-post/ but how can I accomplish that?

Best practices for making a WordPress site “movable”?

I’m planning to buy a domain and install a WordPress site on it at a web-hosting company. But first I’ll need to iron-out some bugs… I got a working LAMP-stack at my home-computer, so I’m thinking about first installing my site locally – off the Internet. I’ll be mostly tweaking and making “test-posts” to check […]

WordPress on Ubuntu 12.10: permalinks problem

I am running a backup of my website on Ubuntu 12.10 (apache+mysql). I can see properly admin and home page, but permalinks are not working (so urls like this are failing: localhost/page/…/). What I did till now is: 1) Created file .htaccess via settings->permalinks with the content: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase […]

Memory errors with media upload, WordPress can't use more than 96M (while there's 512 available!)

I’m aware that this is a known problem but I was unable to address it using information found in WPAnswers and WordPress support forums. In my Worpdress single site installation the media uploader is always throwing an error at me out of memory (allocated 99614720) (tried to allocate 3760 bytes) the amount of allocated memory […]

Does WP Have a Function To Generate .htaccess RewriteCond?

I know that I can edit .htaccess manually and add a RewriteCond statement inside, but I need to build a plugin that does this the proper way by using WP rewrites which then get pushed into .htaccess with flush_rewrite_rules(). I need RewriteCond in this case. Does WP have some obscure function that lets me push […]

Universal problem: first request after ~25 second inactivity always slower (~1 second) than subsequent requests (~1/10sec)

It’s something I noticed ever since I started working with WordPress. It’s a universal issue, in the sense that it doesn’t matter if the WP installation is on my shared hosting account (haven’t tried different providers though), or a local LAMP setup. Brand-new, clean WordPress, with 1 post, 1 page, and defaukt theme – or […]

How can I find the cause of theme crashing Apache in Xampplite?

I’m testing a version of my theme in WordPress 3.0 and it crashes Apache each time I try to preview it. Where can I look to trace the cause of the crash? WP_DEBUG is of no use in this case, since it never gets to that point. Can I trace errors in XAMPPLITE somewhere?

Why won't WordPress on localhost find updates?

I’ve got WordPress running on WAMP. For some reason, when I check for updates to the core and to my plugins, it tells me that everything is up to date, even though I know that I am one version behind on the core and on three plugins. Why am I not picking up these updates? […]

wp-admin/index.php gives a “500 Internal Server Error

experts, UPDATE: hello dear experts UPDATE. many many thanks for the great ideas and tipps. overwhelming – really your are overwhelming!!! i have done as adviced and this method made it clear. i created a folder which i called plugins-deactivated… into this folder i copied / or let me say moved all the modules a […]