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
0
votes
1answer
378 views

Strange special character/Latin characters

We have developed many blogs on wordpress which is hosted on Rackspace server(Red Hat). Last Sunday we worked on user and set 'myuser' to run as PHP. So if we execute echo shell_exec('whoami'); then ...
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 ...
2
votes
4answers
5k 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, ...
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
1answer
894 views

Apache /Ubuntu server not running WordPress installation, outputting PHP code like HTML

I'm trying to get WordPress running off of a plain Digital Ocean Ubuntu droplet. I'm running Apache, and it serves basic index.html files fine, from my /var/www/html directory. When I unzip the latest ...
0
votes
1answer
177 views

I got ERR_TOO_MANY_REDIRECTS on subdomain

I have script to deploy auto my wordpress on apache2 automatically whenever developer commit code to any branch with subdomain is branchname but I’m receiving ERR_TOO_MANY_REDIRECTS. My site is https:/...
0
votes
1answer
21 views

I want to write something that restarts the httpd service when my apache server dies

I am the reluctant "sysadmin" of a medium-sized cooking blog that runs on a t2.small EC2 instance, and utilizes WordPress on the LAMP stack. Despite being a fairly embarrasingly bad "sysadmin" it ...
4
votes
0answers
752 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: ...
0
votes
1answer
105 views

Hang Up Followed By Can’t select database

so I have a few WordPress sites installed on my LAMP Ubuntu server. The past couple of days things have been extremely slow.. I am able to login to the wp-admin of my websites but from there any ...
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 ...
0
votes
1answer
891 views

Accepting special characters in querystring

Currently, the request ends with Forbidden error when having a querystring parameter value that looks like an SQL command (for instance if it contains ' and and): domain.com/path/to/page?foo=a%27%...
-1
votes
1answer
40 views

how to put shortcode to the top of the page - theme 2014

experts running a wp 4.6,1 -. with a specail theme - called 2014 extended! question; can i put this to the top of the page: [su_tabs] [su_tab title="Technische Literatur" anchor="First"][amazon ...
0
votes
0answers
136 views

How to block wordpress admin by htaccess

I was trying to block the access from public to my /wp-admin. I can achieve it by doing the following htaccess but the problem is I need to add an exception for sub-url which is /wp-admin/admin-ajax....
2
votes
4answers
137 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 ...
0
votes
4answers
555 views

What's the proper way to setup WP-CLI on Ubuntu so that I don't have to use the flag --allow-root?

I have an Ubuntu server, typical LAMP stack with default www-data as the user / group under which Apache serves files. When updating with WP-CLI I always have to type --allow-root flag. How do I ...
2
votes
1answer
7k 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-...
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 ...
0
votes
1answer
368 views

Moved Wordpress to other folder (Windows) WAMP = 403 Forbidden

I am using a local install of Wordpress for offline development on a Windows 10 machine, with WAMP on the server side. This morning I have moved the folder containing the wordpress from c:\users\...
1
vote
1answer
60 views

WordPress continually requests pages from itself

in my Apache log files, I find (some informations have been obfuscated) : aa.bb.cc.dd - - [31/May/2016:16:58:24 +0200] "GET /tag/tag1/ HTTP/1.0" 200 9947 "-" "WordPress/4.5.2; www.example.com" aa.bb....
0
votes
2answers
6k views

Which Apache-modules must I enable?

I'm running a VPS with Ubuntu 14.04.4 x64 and Apache 2.4.7, and would like to set-up a WordPress site on it. Which apache-modules must I have enabled - and which should I enable (eg. for cool WP-...
0
votes
1answer
292 views

Rewrite /keyword1+keyword2.html to search page | .htaccess

I am facing trouble redirecting the keywords to search page in a wordpress 4.4 setup. What I am trying achieve is to rewrite/redirect www.site.com/**search+keyword.html*** to www.site.com/**?s=...
0
votes
1answer
247 views

Virtual HostX and MAMP not working with Wordpress

Virtual HostX and MAMP does not render the Wordpress files. Virtual HostX and MAMP are both set to port 80. However, the MAMP's Apache is not running. And MAMP's web server is set to htdocs folder ...
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 (...
-2
votes
1answer
176 views

True or False: Is an Apache error or PHP error the same as a WordPress error?

I am using CentOS 6; Apache 2.2.2; MySQL 5.6; PHP 5.5.31; WordPress 3.8.13 . I do not have root access to this server because it is shared. I do have FTP and SSH (with some limits to functionality). ...
4
votes
1answer
7k 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 ...
-1
votes
1answer
529 views

oEmbed work on localhost but not on distant server

I've a trouble with oEmbed integration for YouTube on hosting server. I've a Wordpress site that is exactly the same on my localhost (MAMP 3.0.7.3 on MacOSX with PHP Version 5.6.2) and my distant ...
-1
votes
1answer
9k views

How to avoid timeout waiting for output from CGI script?

I have Apache Error coming from /wp-cron.php. I didn't modify that file. How can I avoid the timeout?
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,...
-1
votes
1answer
7k views

End of script output before headers - multiple apache error_log errors

Not sure if these two problems are related but let me start with the title problem. Before you downvote for server related Q - if I put this on SE they will say it's wordpress specific due to the ...
0
votes
1answer
4k views

Apache HTTP Server stops working for only a certain local website

I work with a few local websites, but some time ago one of them started causing these errors when I try to use it. I couldn't find time for it and left it, so I can't tell what change started causing ...
9
votes
2answers
4k 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
2answers
877 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
27 views

Installing other applications alongside WordPress multisite and configuring dns routing

I have configured a subdomain on my server and in DNS at my registrar as I have done many times. I don't want this particular subdomain to use my multisite WordPress install but all requests are being ...
1
vote
1answer
5k views

404 with post name permalinks

So, I have a pretty common problem - I recently upgraded to Ubuntu Trusty Tahr from Precise, and I had to upgrade apache as a result. Now, my wordpress site is accessible, but I am unable to access ...
2
votes
3answers
19k 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 ...
0
votes
2answers
1k views

Migrating WordPress from Windows Server 2008 R2 (IIS v7.5) to CentOS

The agency I work for have purchased a new server, bringing our total up to 4. The 3 servers we had previously are all running Windows Server 2008 R2, whereas this new one is running CentOS, ...
1
vote
2answers
332 views

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 ...
0
votes
1answer
85 views

Plugins & backup not working correctly on new Digital Ocean server

So I just fired up a new Digital Ocean droplet running Ubuntu 15.10x64 and I'm setting up a Wordpress environment. I am setting it up from scratch without a Wordpress image. I followed a lot of the ...
0
votes
0answers
262 views

Multisite /files/ URLs broken after server move

The file urls of all sub sites in my multisite install have stopped working after moving to a new server. The move was a straight site clone from WHM to WHM, so nothing has changed really. The new ...
1
vote
1answer
559 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
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 ...
0
votes
1answer
304 views

SVG files and wordpress

I have a website and I would like to use SVG files so that certain images are dynamic but when i upload them it displays as an unknown file and when I set them as a featured image for a post the ...
1
vote
1answer
861 views

.htaccess Security Header Rules

I have a self-hosted Wordpress installation on a Linux system and there are a lot of modifications such as blacklisting and path rewrites and so on that is done within the .htaccess file that all work ...
0
votes
0answers
173 views

What to do after a wrong RewriteRule?

I have A Wordpress MU and following this answer I changed my root .htaccess placing this before the Wordpress loop RewriteRule / /subfolder [R=301,L] trying to have a different homepage. It didn't ...
0
votes
1answer
41 views

Apache Redirect based on WordPress permissions

On our company website, we have two different types of download permissions: One for legacy, one for current. Is there a way for me to code a redirect through Apache that will query MySQL for the ...
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 ...
1
vote
0answers
388 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' ...
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%{...
1
vote
1answer
378 views

Evaluations of two wordpress security plans against php code injection attack

Senario: I've posted one wordpress php code injection senario on SO before, url:https://stackoverflow.com/questions/26826082/what-is-the-highly-efficient-way-to-remove-a-block-of-string-pattern-in-...
0
votes
1answer
400 views

HTTP requests start hanging after I try activating all plugins, and only stop when I manually disable the plugins via DB

Basically, I've got a new dedicated server, and I'm testing the migration over to that server. The site (WordPress-based) seems to work fine, but I noticed that sometimes, I can put the server in a ...