Questions tagged [apache]
Apache is server software often used to host WordPress on. Questions about Apache itself are off topic.
266
questions
1
vote
1answer
20 views
Rule to redirect non logged in User to Custom Registration/login Page in .htaccess file
I am trying to redirect not logged in users from the "/purchaseads/purchase.php" to custom registration/login url "/purchaseads/registrationurl"on wordpress website. Unfortunately ...
0
votes
0answers
9 views
WordPress in AWS Lightsail - restrict public IP
I have WordPress instance in AWS Lightsail with static public IP. I also created DNS record with domain to redirect to that IP.
How can I hide/restrict public IP? Meaning I can now go to just that IP ...
0
votes
1answer
2k views
wp-content - permissions for files/folders created by apache
My wp-content folder has owner User and group www-data. The permissions are 775 for folders and 664 for files, so the server can write inside the folder.
But when the server creates folder and files ...
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%{...
0
votes
1answer
608 views
PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173
I running an instance of Wordpress on my web server but I'm getting this error in the logs
PHP Warning: chmod(): Operation not permitted in
/home/webserver/html/wp-admin/includes/class-wp-filesystem-...
0
votes
1answer
2k views
Localhost WordPress Uploading of Images Issue
I'm a bit stuck here. My Mac (running Mavericks) died on me last week, and I spent the weekend getting a new computer and restoring the backup of my old (thank God for backups people. If you haven't ...
1
vote
0answers
14 views
Multisite gives Error if i want to enter Dashboard or Site
I´m struggling for 3 days now. I want to create a Wordpress Multisite System with subdirectories. As Server im using Apache.
My wordpress is installed at /var/www/html/wordpress
In order to do so i ...
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 ...
0
votes
0answers
16 views
How to make wordpress page site.com/content as location for main site.com that is worked on nuxt.js+node?
There are 2 containers with sites:
on nuxt.js
on wordpress
They work in the same environment, that is, they are visible to each other.
It is necessary in the 3rd container with Nginx to display the ...
2
votes
1answer
915 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 ...
1
vote
1answer
45 views
Restrict uploaded files into a custom folder to logged in users by htaccess: looking for Nginx - not only Apache - solution
Talking about this well known solution:
Github
Original discussion
I'm looking for a straightforward way working also on a Nginx installed WP and not only on Apache ones.
Is there any other code-based ...
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 ...
1
vote
1answer
655 views
How do I host Wordpress on a hidden domain through a reverse proxy?
I have a reverse proxy for http://www.xxxx.com/guides/ pointing to Wordpress on another domain. I want to edit and administer it via the other domain, but I don't want the contents to be publicly ...
0
votes
1answer
346 views
Windows Setup: Error establishing a database connection
I have MySQL 8.0.12, PHP v7.3.2 64Bit and Apache 2.4.38 64Bit installed. In theory I have everything that is needed to run WordPress locally.
Through MySQL Workbench, I have tried the Host, Port, ...
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 ...
0
votes
1answer
759 views
Timthumb isn't displaying any images. "A TimThumb error has occured
I have a Wordpress web site which is hosted on a distributed infrastructure. I have a web server(apache) and a cache server (varnish). When I load the site directly from web server everything is OK, ...
1
vote
2answers
971 views
Site loads very slowly (4-5 minute load time)
I'm hosting a WP site on a VPN so I'm doing all of the server management. A while back, I simply renamed my WP folder so that it would be inaccessible. Now I need it to be accessible again and so I ...
0
votes
1answer
528 views
Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN
I followed many tutorial about leveraging browser caching nevertheless I couldn't configure it succesfully, in fact GTmetric (PageSpeed and YSlow) notified me many static file that don't have a cache ...
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-...
0
votes
0answers
19 views
PHP Warning: file_get_contents(http://ip.googlescript.com… in Akismet3
I'm noticing this strange output in my Apache error logs for one of my WordPress websites.
PHP Warning: file_get_contents(http://ip.googlescript.com/66.205.156.117?api_key=xxxxxxx&group=lib-...
0
votes
1answer
754 views
Caching plugins + mod_pagespeed = overkill?
After actively blogging for a couple of years, I stopped completely. Now, I have restarted blogging and am back on WordPress. Earlier, I was on a shared hosting and couldn't do much. Hence I used W3TC....
1
vote
1answer
1k views
Can only access homepage and admin panel
I am really struggling to move Wordpress from an external host to my localhost (xampp). After two days trying to do this I am now at the stage where I can access the homepage and admin panel, but ...
0
votes
0answers
12 views
Wordpress Multisite loads wrong subdomain dashboard
Background:
I have a VPS where i launched multiple websites.
I then had a requirement to create a new website that will utilize the Wordpress Multisite functionality
I created my wordpress website ...
1
vote
1answer
60 views
WordPress Permalinks still not working despite all necessary settings
I apologize for the seemingly duplicate issue posting but I can't seem to find someone who has come across my specific issue and resolved it. This post got close but I did everything they did.
here's ...
1
vote
1answer
33 views
Why is the domain name missing from the logout redirect?
My development computer recently had to be rebuilt so I am now trying to migrate a WordPress site from the hosting company to my development PC. So far I have done this:
Installed XAMPP.
Download ...
0
votes
2answers
412 views
Wordpress Memory limit not increasing
I have set 1024M in php.ini file:
memory_limit = 1024M
I have set it in .htaccess file:
<IfModule mod_php7.c>
php_value memory_limit 1024M
</IfModule>
I have set it in wp-config....
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 ...
0
votes
0answers
50 views
WordPress URL requests have suspicious query strings attached in logs
I have a simple Wordpress site. Unknown query string is appended to few requests by Bing and Google bots daily. In site's Apache access log, there are few entries every day like below:
157.55.39.119 -...
0
votes
0answers
9 views
Apache Rewrite specific subdomains
We have a website that has been listed on Google with the original holding domains (stage, prod, etc)
We need to return a 410 to google and other bots for specific subdomains, but also rewrite other ...
2
votes
0answers
52 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 ...
1
vote
5answers
8k views
Wordpress redirecting to 127.0.0.1 when accessing the site from a remote device
I've installed a Wordpress site on my local Apache Ubuntu 18.04 server with a fixed IP 192.168.100.150.
The website is working fine locally (localhost/wordpress), but when I try to open the site from ...
0
votes
1answer
42 views
Page not found if mod_cache_disk is active
I set in Apache the mod_cache_disk module, but I'm getting 404 page not found error on every page and posts. I'm using WordPress Multisite on Debian 10 server with PHP FPM 7.4.
I set this below in ...
0
votes
0answers
26 views
the content of the uploads folder gets deleted periodically, how to figure out what causes it?
The entire content of my uploads folder gets deleted periodically. every few days, I'm not sure when exactly. How can I debug what causes this?
My set up is complex:
around 10 plugins, some custom. ...
0
votes
0answers
15 views
how to write a function to show lists of running processes or while loop functions in php
Please i have a while loop function that am using to insert data into my database periodically, for some reasons i found out that while loop is more easy to use than cronjob, while loop runs without ...
0
votes
0answers
50 views
How can I fix a User permission issue on a WordPress website hosted on an apache VPS server?
I’m trying to install and set up some speed optimization plugins on a WordPress and I got some errors such as
1. Autoptimize: “Autoptimize cannot write to the cache directory”.
2. WP Asset Clean Up: ...
0
votes
0answers
15 views
Wordpress Session Scaling
I have about 30k to 40k sessions per day on wordpress website,
I have caching enabled, wp-optimize plugin
I have php-fpm enabled my pool options is below:
max-request = 200
process idle timout = 30
...
0
votes
0answers
68 views
Can I Apache 2.4, MySQL, 5.7, and PHP 7.4 to install WordPress from scratch on Ubuntu 18.04?
I'm planning to build a VPS from scratch to host a WordPress site, instead of using a built template VPS, because I'm having problems with the current setup, and I think the site doesn't like the ...
0
votes
0answers
98 views
The editor has encountered an unexpected error. Shortcut key to duplicate Ctrl+Shift+D breaks gutenberg
whenever I try to use the shortcut key to duplicate Ctrl+Shift+D , wordpress gutenberg editor just errors out “The editor has encountered an unexpected error”
Please help, its very hard to write ...
0
votes
0answers
24 views
Unable to access ec2 instance with wordpress installed on it
I have an EC2 instance(ec7-1-33-24-12.compute-1.amazonaws.com) and connected to my domain name(mydomain.com). I was getting a security error on top of the browser hence I tried to install SSL from ...
0
votes
1answer
31 views
Error establishing a database connection - Wordpress setup, everything else is working
Setting up a LAMP stack with Wordpress on a home machine and port forwarding so I can host it on the Internet. Everything seems to have gone ok so far, except when I browse to the IP I see the error ...
0
votes
0answers
7 views
How to access website after migrating domain to production?
I set up a virtual machine, say machine A, running bitnami and wordpress and configured the SSL certificates for a domain. I then upgraded my code to NodeJS and got a new virtual machine, say machine ...
0
votes
0answers
43 views
How to configure reverse proxy for wordpress website?
I have installed Wordpress in the app server and trying to use a reverse proxy for forwarding user requests from the webserver(192.168.0.2) to the app server(192.168.0.3). While Forwarding, Dynamic ...
0
votes
0answers
213 views
301 Redirect Loop www to non-www - Nginx + Apache2
thanks for any help. I am not a server guy but I am dealing with a server at the moment. I have a site that is in a redirect loop from www to non-www. I am using a DigitalOcean Droplet with Ubuntu and ...
0
votes
0answers
14 views
Xampp Dashboard Appears
I have installed a remote wordpress website at xampp, its admin is working fine but when I got website link, xampp dashboard appears all time.
Also tried to change permalink to plain and htaccess ...
2
votes
1answer
770 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, ...
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 ...
1
vote
1answer
24 views
Cannot complete migration on LAMP
I have a WordPress site with LAMP. Since I moved to a new apartment the site does not display well anymore, and I cannot access its dashboard through http://my-wp-site.com/wp-admin.
Note 1: I set up ...
0
votes
2answers
41 views
Permissions working but not working
Not sure what I changed in my Wordpress some days ago but today I was not able to update/install any plugin. I followed https://community.bitnami.com/t/wordpress-permissions-unable-to-create-directory/...
3
votes
1answer
327 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?...
0
votes
1answer
1k views
I can access subdirectory, but not files within it
I want to first point out that I have tried to solutions listed in this post and in every case it either hasn't worked or hasn't been appropriate for what I'm trying to do. I have tried several ...