Questions tagged [apache]

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

101 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
216 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
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%{...
3
votes
1answer
141 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,...
3
votes
2answers
210 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 ...
2
votes
1answer
711 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 ...
1
vote
1answer
22 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 ...
1
vote
0answers
26 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 ...
1
vote
1answer
37 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
1answer
280 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
0answers
15 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 ...
1
vote
0answers
142 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
0answers
71 views

Page preview is shown, updating page gives 404 error

I can add new pages and preview them, but once I upload them I get a 404 "Not found" error. I thought it's a problem with my permalinks, so I followed some tutorials to fix this like http://www....
1
vote
0answers
66 views

Wordpress returning 404 for multisite pages

I'm trying to configure a WP Multisite to run locally, all is fine on the server, but getting this to run locally is turning into quite a pain. The issue I'm currently seeing is that some of the sites ...
1
vote
0answers
262 views

reverse proxy nginx php-fpm apache settings for wordpress

I verified my stack works I can get a phpinfo() dump in a test file and I can get static files to load like css files. I can not however get wordpress to work. Here's the issue: Wordpress redirects ...
1
vote
0answers
26 views

Apache Site Aliases & WordPress Multisite

I'm attempting to allow users to access the same multisite content on a sub-site by using both www.example.com as well as www.example.org. Upon initial setup, I simply redirected all allowed hosts / ...
1
vote
2answers
102 views

How to redirect specific URL to Subdomain

I am trying to write a .htaccess rule to redirect the URL to a subdomain. Example: example.com/pagecategory/page-single → pagecategory.example.com/page-single I've added wildcard subdomain on my ...
1
vote
0answers
49 views

Server configuration for WordPress - Do I need install PHP-SSH extensions for Wordpress on Fedora28?

Migrated from Stackoverflow & Unix & Linux: Recently I tried to setup a Wordpress server on Fedora28 based droplet on Digital Ocean. A followed some tutorials and the result was the same: ...
1
vote
1answer
156 views

how to combine wordpress htaccess on my root domain + php on subfolder

I apologise for a seemingly duplicate question, but none of the dozens I've looked at actually had the same problem. I have the following directory structure: /.htaccess /index.php /subfolder/....
1
vote
0answers
292 views

Posting and image insertion problems after EasyApache4 and PHP 7 upgrade

I have around 40 Wordpress sites on a Centos 6.9 Apache2.4 dedicated server and I recently upgraded it to EasyApache 4 and then in WHM multiphp_manager/config I changed all the sites to PHP7. I ran ...
1
vote
1answer
50 views

Redirect old domain with query paramaters

Apologies if this is the wrong place, but I have a WordPress site and I need to bulk redirect an old domain with various query paramaters to a new URL... The old domain is: www.mysite.com/newspage....
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 ...
1
vote
0answers
60 views

How to configure sub-domain for images on Debian Apache VPS?

in shorts: I want this https://surpriseazwebservices.com/serve-images-from-sub-domain-in-wordpress/ BUT, I have VPS with Debian runing Apache and WP. I follow all steps from tutorial and not working ...
1
vote
0answers
38 views

Server stressed by /feed

I'm debugging a website that my friend has hosted on a VPS that should be perfectly capable of handling a Wordpress installation that gets ~2m monthly visitors. During the last few months, his uptime ...
1
vote
1answer
290 views

Unable to get /%postname%/ permalinks working, 404 on all links

I have only pages, no posts as links. It's just a mock site at the moment. I used a particular theme, set it to "Post name" permalink, and the links worked fine. But then I changed to another theme (...
1
vote
2answers
875 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 ...
1
vote
1answer
557 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 ...
1
vote
0answers
387 views

Wordpress can't see symlinked theme in Ubuntu

I know there are security issues with symlinks but this is for development purposes on my local machine only. I am trying to set up my wordpress development server. My workflow results in a 'build' ...
1
vote
1answer
214 views

Permissions in a Local Dev Environment (OS X)

I wanted to enable WordPress auto-updates to work without FTP, so I added: define('FS_METHOD', 'direct'); to my wp-config.php. So in order to grant write privileges to WordPress's auto-updater, I ran ...
1
vote
0answers
31 views

Does WP suppresses .htaccess if permalinks are disabled?

I would like to use a .htaccess file, but still use the default link structure of WP. I didn't turn on permalinks, but did create my own .htaccess file. To my surprise, the file is being completely ...
1
vote
1answer
326 views

Detect CURLOPT_SSL_VERIFYPEER programatically?

I have setup a somewhat intricate MailChimp plugin using their latest PHP class wrapper. One of the settings towards the top of the class wrapper is : /** * CURLOPT_SSL_VERIFYPEER setting *...
1
vote
0answers
84 views

WordPress site front page fails to load in IE

Disclaimer: I'm a front-end guy dabbling in back-end work. I have WordPress serving up a company Intranet site on a CentOS VM in a multiple vhost setup (LAMP). It resides at http://intranet.domain....
0
votes
0answers
25 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
29 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
11 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 ...
0
votes
1answer
13 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 ...
0
votes
1answer
76 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, ...
0
votes
0answers
28 views

usage problem of php-cgi on heavy-stress

i had really series problem with my vps. my websites goes down on heavy-stress time. the vps goes really slow and i get database error connection. here is the screenshot with top command: i tired ...
0
votes
0answers
29 views

Content-Security-Policy Header with JetPack

I am currently setting up a web server for WordPress. Ubuntu 18 with Apache2 behind Cloudflare. The WebSite is connected to WordPress JetPack. Everything is up and running, but I am stuck at ...
0
votes
0answers
22 views

Hosting Wordpress in Docker IMage

I'm trying to host Wordpress in a docker image and everything works fine locally, but when I deploy it to AWS I keep getting this random error: '/var/www/html/index.php' not found or unable to stat ...
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?
0
votes
0answers
10 views

adding a second WordPress install to an existing server/URL to migrate over

My goal is to set up a new site that consolidates many previously disparate entities under a unified look and feel. The process involves creating a brand new multisite and gradually transitioning old ...
0
votes
0answers
46 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 ...
0
votes
0answers
36 views

VirtualHost redirects, Bitnami WP Multisite, AWS EC2, Ubuntu 16.04, Apache 2.4.39

Bitnami WordPress Multisite on AWS EC2 instance, Ubuntu 16.04, Apache 2.4.39 Want to use the Redirect directive inside VirtualHost sections in /opt/bitnami/apache2/conf/extra/httpd-vhosts.conf to ...
0
votes
0answers
28 views

Multisite Wordpress Redirect

I have Wordpress running on a server running Apache 2.4 (wordpress). Wordpress is running on port 8080. We have a proxy back to Wordpress going from port 80 (proxy:80) to 8080 (wordpress:8080) on a ...
0
votes
0answers
24 views

get original request_url (before redirect)

I have a wordpress page and want to add basic auth to the page, except for the wordpress rest api! The main problem seems to be the redirect that happens in the standard .htaccess of wordpress. ...
0
votes
0answers
44 views

Nginx Reverse Proxy to Apache, wp-content permissions issue

I'm using Centos Web Panel with Nginx reverse proxy to apache to run my WP installs. I've installed Rocket Nginx for my config and it works great for the most part, however, i'm not able to upload ...
0
votes
1answer
19 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
17 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 ...
0
votes
1answer
31 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
0answers
31 views

Apache2 Ubuntu Defualt Screen shows instead of front page Wordpress

I am trying to make a website using Wordpress with LAMP. Every time I try to publish and view my front page, I get the screen linked to below instead of what I've been working on. Other pages display ...