Questions tagged [apache]

Apache is server software often used to host WordPress on. Questions about Apache itself are off topic.

Filter by
Sorted by
Tagged with
17
votes
1answer
1k views

How does WordPress create URLs that Apache knows about?

When you create a page in WordPress, it's just an entry in a database table; there's no actual file at that location. However I can create a file at that location myself and it will steal the page ...
14
votes
4answers
5k views

How does one suppress a 404 status code in a WordPress page?

I've got a WordPress site that includes pages pulled from a different database. The problem is that these other pages return a 404 status code. (The WordPress posts/pages are fine.) The 404'ed pages ...
10
votes
2answers
20k views

Wordpress redirecting connections on port 8080 to 80

I have a wordpress blog which is served by apache2(on port 80) and nginx(on port 8080) on Ubuntu 12.04. Now whenever a client connects via port 80 all is hunky dory, but when a client connects to 8080 ...
10
votes
4answers
5k views

Optimize apache for WP use

Greetings, I have a WP site with over than 150k pageviews /day. It's running on a Intel Core i5 CPU 760 @ 2.80GHz, with Centos and 4 GB of RAM. The problem is WP consumes too much RAM and after a ...
9
votes
2answers
5k views

Multisite Network Port Num Issues?

I am following This tutorial to Create a Network of WordPress Sites . After adding /* Multisite */ define( 'WP_ALLOW_MULTISITE', true ); to my wp-config.php file and when I start to configure ...
6
votes
2answers
12k views

Wordpress Theme's 404.php not found, server defaults to Apache's own 404 page

if I just type something to provoke a 404 Error on my Wordpress installation, Wordpress doesn't load its own 404.php file, but the Apache server's own 404 error message gets displayed. What is wrong ...
6
votes
1answer
2k views

cURL 28 error after switch from to brew php 7.2 on localhost

I've been running into trouble with all my localhost install of Wordpress reporting cURL error 28 (timeout) since (I believe!)I've switched my PHP version from 7.0 to 7.2 with brew on my local Mac OS ...
6
votes
2answers
1k views

Multisite htaccess on localhost with WP as an SVN external?

I've mimicked Otto's setup here: http://ottopress.com/2011/creating-a-wordpress-site-using-svn/ and my brief example is below. That tutorial is specific to a single site install, and specifies a ...
6
votes
3answers
3k views

Use subdomain for certain urls

I have the following rules in my .htaccess file on a WordPress (single installation): # REWRITE FORUMS DOMAIN TO FOLDER RewriteCond %{HTTP_HOST} ^forums\.example\.com$ RewriteRule !^forums/? forums%{...
5
votes
1answer
8k views

How do I get the right permissions for WordPress running Apache on Debian

I'm trying to set up a WordPress site on a LAMP stack on Debian 6.0. From the WordPress documentation (and my experience on shared hosts) the correct permissions should be as follows All files ...
5
votes
1answer
6k views

Wordpress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80

I currently have Windows 7 , 64 bit on which I am running an IIS on localhost:80 and I installed XAMPP on localhost:8080. I have 15 individual wordpress sites but now i need a subdomain multisite ...
4
votes
4answers
796 views

How can I improve site/page performance of WordPress websites?

To improve site/page performance, I added the following code to accept headers: <php flush(); ?> It works, but perhaps not as well as it could. Any advice? I also tried to leverage browser ...
4
votes
1answer
1k views

How can I make Wordpress work with a Symfony app?

Basically, I have a website built that has two components. One component is the the WordPress part, under "/". And the second component is a Symfony app under "/foo". How can I make Word-press ignore ...
4
votes
1answer
8k views

Using Wordpress with Apache behind an nginx reverse proxy

I hope you can help me solving my issue. I am running ngninx on a dedicated Server as a reverse proxy. My WordPress Application is on another VM, which is running apache2 as a Websever. Everything is ...
4
votes
1answer
481 views

WP CLI info showing correct PHP binary but wrong version of PHP

When a run a command such as wp plugin update I get the message: "Your server is running PHP version 5.4.13 but WordPress 5.2.2 requires at least 5.6.20" I don't even have PHP 5.4 installed in my ...
4
votes
0answers
850 views

Implement ssl to a WP docker container [closed]

I was able to setup a WordPress containerised app using the docker-compose.yml file below and it is working fine: wp1: image: wordpress links: - db:mysql ports: - 9001:80 environment: ...
4
votes
1answer
184 views

WordPress Multisite - Multiple subfolders for blogs

I created a network in blog.animals.com, the network is running fine. I can set up blogs like blog.animals.com/chimpanse. This is also working. I like to have multiple (2) subdirectories for each blog,...
4
votes
2answers
217 views

Why is group ownership with rwx permissions not enough?

Running PHP 5.4 and Apache2 on Debian 7, with apache configured to use user www-data. I'm trying to figure out why Wordpress cannot modify files in its directory when it has group ownership with full ...
3
votes
2answers
3k views

What happens when wp_cron is deactivated in Wordpress?

In a Wordpress 3.5.1 the apache log generates the following error related to wp-cron.php: [18/Jun/2013:10:53:21 +0200] "POST /wp-cron.php?doing_wp_cron=1371545601.7393701076507568359375 HTTP/1.0" ...
3
votes
1answer
332 views

Does the debug.log do log rotation?

This is more like of an inquiry. So I enabled my WP_DEBUG_LOG to true. It does work though, debug.log is in my wp-content's directory. But does it also do log rotation like different file for each day?...
3
votes
2answers
10k views

authentication issue with rest api - rest_cannot_create

I am using the rest api in Wordpress. For authentication I use the Basic authentication plugin (JSON Basic Authentication) I use this request (from both postman and nodejs): POST /wp-json/wp/v2/...
3
votes
1answer
11k views

Wordpress in sub directory wp-admin problem

I have WordPress 3.3.1 installed in a sub directory on my site just to use as a staging test site. It seems the root sites .htaccess is creating problems for Wordpress wp-admin page. I've set the ...
3
votes
3answers
656 views

Apache/Linux configuration changes to make automatic upgrade more straightforward

I've been reading some posts that seem to touch on this (or possibly address it, but it's going over my head). Unix is not my strong suit by a long shot. I have inherited a Fedora server that is a ...
3
votes
2answers
27 views

Wordpress site redirects to different wordpress domain on the same server after reuploading db backup

5 WordPress sites (that is all of them) on our server (Apache, Ubuntu) were infected by some malicious code injecting javascript. I have deleted all the wp databases that were full of the injections ...
3
votes
1answer
4k views

Rewrite /?rest_route=/ link to /wp-json/ without changing default permalink structure in apache

How to rewrite url of wordpress rest api from http://example.com/?rest_route=/wp/v2/ to http://example.com/wp-json/wp/v2/ without changing (default) permalink structure? Need this for apache (htaccess)...
3
votes
3answers
5k views

404 error on homepage when using Nginx proxying to Apache

I generally use Nginx to serve static content on my server, with Apache handling PHP content using PHP-FPM. However, I'm not able to get a Wordpress blog homepage to display and I've tried all the ...
3
votes
1answer
1k views

Using separate Apache log files for multisite

A while back I left Blogger and downloaded my blogs to my system. I hosted them there with each individual blog as a VirtualHost for a while. Later, I imported them into WordPress and am hosting them ...
3
votes
2answers
4k views

Error 101 after upgrading Wordpress

We have just updated to WordPress 3.1.3 by following the WP manual install tutorial. Note: This is a Network-enabled (multi-site) install. After uploading the new files, we now get the following ...
3
votes
1answer
4k views

Wordpress multisite causing Error 101 (net::ERR_CONNECTION_RESET): Unknown error [duplicate]

Possible Duplicate: WordPress upgrade now receiving Error 101 (net::ERR_CONNECTION_RESET): Unknown error We have just installed WordPress 3.0.1 and everything worked fine. However, as soon as we ...
2
votes
1answer
3k views

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 ...
2
votes
2answers
1k views

What are some good Apache settings to use with wordpress?

My server has 756m of RAM. Every few days I get [error] server reached MaxClients setting, consider raising the MaxClients setting
2
votes
3answers
891 views

Exclude a path from WordPress using .htaccess redirects (Apache)

I'd like to exclude a path that matches a rule from booting WordPress. The normal way I'd approach this is using the last flag [L] in a rule before all the others. To keep things simple in this ...
2
votes
1answer
921 views

REST API URL parameters not working with apache server

The title pretty much says it all, if I try eg. /wp-json/wp/v2/posts?id=1, I get all the posts as response. URL parameters are not working as they should. According to the REST API Handbook, the ...
2
votes
4answers
6k views

Unable to modify(update) posts - Page not found

For couple of days I am experiencing issues with modifying some of my posts. When I try to modify the content of post, I get 404 error, redirecting me that page is not found. Doing Google research, ...
2
votes
4answers
144 views

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 ...
2
votes
1answer
8k views

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://example.com/wp-...
2
votes
1answer
2k views

How to run multiple Async HTTP requests in Wordpress?

In my plugin, I want to call 10 or more HTTP requests asynchronously in WordPress so that I need not wait for the response of anyone. Is there any way in Wordpress that supports this and also ...
2
votes
1answer
222 views

.htaccess 301 vs. 302 Enforcing HTTPS

For WordPress, I have seen two different techniques to edit the .htaccess file for routing to HTTPS. What are the pros and cons of these: Option #1 RewriteEngine On RewriteCond %{SERVER_PORT} 80 ...
2
votes
2answers
6k views

Should I enable FastCGI on WordPress?

I am looking at my server settings and these are as follows: WebDav : active FastCGI : inactive SSL support : active Perl as Apache module : CGI-Programm PHP module : CGI-...
2
votes
2answers
9k views

WordPress incorrectly redirects to local IP address?

I have my wordpress server set up using php, mysql, and apache on my raspberry pi. I also have a dynamic dns hostname and configured my router's port forwardiing settings. When trying to access my ...
2
votes
1answer
772 views

apache cpu over 70% on localhost

i'm running a number of WP sites on my localhost WAMP on w8. I started to work on a new site, using Sass and Zurb Foundation using this template: http://jointswp.com/. the problem: During my work, ...
2
votes
1answer
279 views

Is it possible to move wordpress out of webroot?

Is there a way to put the wordpress out of webroot dir, and just leave a entry index.php to the webroot?
2
votes
1answer
2k views

Alias domain to Multi-site installation in Apache

This is regarding to set an Alias domain to Multi-site installation. We want to create a short domain as alias to my main website(Multi-Site enabled).I have tried it using a most common options like.....
2
votes
0answers
53 views

Subdirectory multisite installation with several domain names?

I work as a sysadmin at a large academic department. We have an apache httpd, with a WP subdirectory multisite installation, fronted by an apache reverse proxy. In this setup we want to allow our ...
2
votes
1answer
933 views

Redirect from different port to subdomain - htaccess

I created a Digital Ocean instance to install WordPress website 5 days ago. I already have my own domain, and created DNS Subdomain blog.example.com. The server runs both nginx and apache so my Apache ...
2
votes
3answers
24k views

index.php not loading in main folder of wordpress

I just installed [first time] WordPress 4.3.1, but I was facing the problem with it so I downgraded and installed 4.2.5 and facing same problem. Problem: index.php is not loading, I clicked on link ...
2
votes
0answers
21k views

wp-admin/index.php gives a "500 Internal Server Error [closed]

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 ...
1
vote
7answers
14k views

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 ...
1
vote
2answers
249 views

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 ...
1
vote
1answer
4k views

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 ...

1
2 3 4 5 6