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
1
vote
1answer
18 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
13 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 ...
1
vote
1answer
31 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 ...
0
votes
0answers
116 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
0answers
16 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
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
56 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
32 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
0answers
43 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
51 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 ...
0
votes
1answer
23 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
24 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
14 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
40 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
14 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
54 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
80 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
29 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
39 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
172 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
13 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 ...
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
40 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
293 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
16 views

How to edit content in WordPress and the Polylang – plugin? – with demosite

hello dear user, hello dear developer, the question; How to edit content in WordPress and the Polylang - plugin? first of all: i love PolyLang for its powerful features and the versatile options ...
1
vote
0answers
66 views

Change pagination url format

I have a URL like this: example.com/blog/page/5 I want to change it to: example.com/blog/page-5 I tried using a RewriteRule like this: RewriteRule ^blog/page-([0-9]+) /blog/page/$1 but this ...
0
votes
1answer
163 views

Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress

I am on Ubuntu 18.04. I just updated my server from PHP7.2 to PHP7.3 using this guide After that, I changed my Apache from Prefork to Event using this guide Now, when going to my Wordpress website, ...
1
vote
1answer
66 views

Directing subdomain to main domain and keeping the subdomain format with .htaccess

I am using bluehost and a single site wordpress site. I want when someone types in bob.example.com to show the Wordpress site at example.com, but still use the subdomain address (bob.example.com). I ...
1
vote
2answers
773 views

.htaccess file missing from Wordpress install directory

This is occuring on my local machine, Lubuntu 18.04 with apache2 and Php 7.2.15. Steps tried: Enable hidden files No .htaccess file seen: https://nimb.ws/4YJfDT Switch permalink structure to ...
0
votes
0answers
44 views

Problem with a wordpress admin system. and website

When i use wordpress i got random connection problem, and website is off for around 5 to 10 min. Wen i check error logs i got somethink like this: Any help?
4
votes
1answer
447 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 ...
0
votes
2answers
3k views

Call to undefined function mysql_connect() After upgrading PHP 7.1 to 7.3

I host my own WP site on a Debian/Raspbian buster server. I upgraded PHP 7.1 to 7.3 and the site broke. I can't understand why it broke because mysql_connect() is deprecated for 7.x (though wp-db....
0
votes
1answer
568 views

Permalinks are not working in Wordpress in digitalocean

I deployed My Wordpress Blog in one of my subdomains in Digital Ocean. I am running apache2 as my webserver. When I am trying to change my permalink settings to settings other than plain(Only plain ...
0
votes
0answers
47 views

Changing permalink stops me from creating webpages

I've just created a new WordPress site. When changing the permalink structure I cannot create or edit pages. I do have mod_rewrite enabled but alas still get errors. How can I fix this? I've had this ...
2
votes
1answer
788 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 ...
0
votes
1answer
143 views

How do I do a redirect to WordPress permalink with post id via htaccess?

Years ago I saw Jeff Starr of Perishable Press set up shortlinks for a book of his where URLs such as example.com/u/123 redirected to example.com?p=123. I thought that was a handy way to set up no-...
2
votes
3answers
670 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 ...
0
votes
1answer
46 views

Multiple wordpress installations with same plugin folder (Apache Virtualhost)

I'm trying to use a single plugins folder for multiple websites to standardize my websites.Do you know any way to use Symlinks in WordPress? In a single shared folder send the plugins to various ...
0
votes
0answers
19 views

localhost/wordpress(or other application), how does it work?

Just a quick question I can't seem to find the answer to. Maybe I just can't formulate the right question or the right keywords. How does xampp identify which web application to open if the url is ...
1
vote
1answer
825 views

Installing WordPress in a Sub-Folder (not in root) on Localhost

I've given WordPress it's own directory in mysite/wordpress to try out some security things. Using a WAMP on Localhost, I changed httpd.conf to: DocumentRoot "${INSTALL_DIR}/www/mysite <...
0
votes
1answer
283 views

Serving WordPress in it's own directory on localhost on WAMP

I have followed Giving WordPress it's own directory for directions on how to accomplish this on www.mysite.com (once it goes live) but I'm looking for localhost directions to serve my site to ...
1
vote
0answers
16 views

Point root folder to blog.domain.com and subdirectory to domain.com possible?

I have wordpress blog in root folder. and static website in a subfolder. in apache config: root folder points to blog.mysite.com and subfolder points to mysite.com. For both urls blog.domain.com and ...
0
votes
1answer
39 views

Removed index.php now all pages with Internal Server Error

I'm coding a theme from an HTML template. Initially, I just removed the index.php with the .htaccess as the answer shows. Now I have "Internal Server Error" even on the homepage, that was working ...
0
votes
2answers
56 views

Setting up Wordpress Locally on WAMP for a new site (with one already)

Here are the steps I took in downloading and setting up WordPress on a WAMP (Windows, Apache2, MySQL, PHP): 1.) Download WAMP Server, here: WAMP Server Installation 2.) Download WordPress on ...
1
vote
0answers
289 views

WordPress admin dashboard missing icons

When I log into the wp-admin dashboard all the icons are missing. Most of them are replaced with a empty square or just a blank spot. Background: I've duplicated my WordPress website on two servers -...
1
vote
2answers
57 views

WordPress - Promoting A Dev Build In A Subdirectory To Production / Root Directory

I recently took over a WordPress site with the following directory structure inside of /public_html: wp_config.php /wp-admin /wp-content /wp-includes ... ... ... /development The root (production) ...
0
votes
2answers
369 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....

1
2 3 4 5 6