Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apache]

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

0
votes
1answer
10 views

How install wordpress in another wordpress folder?

I have a wordpress site(example.com) and I want to run another wordpress on the server. example.com's files are at /var/www/html/example.com directory on the server. I created a anotherSite Folder in /...
0
votes
0answers
32 views

URL Rewrite 404

I've got the following ReWrite rule: add_rewrite_rule("details\/([a-zA-Z0-9_]+)\/.*", "detail/?id=$matches[1]", "top"); Which seems to be adding in the following to my .htaccess, which now looks ...
0
votes
2answers
49 views

How do I test to ensure that my wp-config file is protected?

Since order allow,deny is deprecated in 2.4 I wanted to rewrite the rules in my .htaccess file to use the new rules. Previously I was using: <files wp-config.php> order allow,deny deny ...
0
votes
0answers
9 views

How does uploading work in Wordpress?

I have installed Wordpress on a Fedora box with php, php-mysqlnd, mariadb-server and httpd. Copying pictures from the clipboard to the post editor worked. Uploading pictures did not. I added writing ...
0
votes
0answers
6 views

Wordpress on Redhat 7 server with awstats does not counting any wordpress pages

We have a combination of Wordpress and regular-non-wordpress pages on our Redhat 7 & apache server. We have awstats installed With Redhat 7 & apache. What setting or problem would prevent ...
0
votes
1answer
57 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 ...
1
vote
1answer
53 views

Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]

I've been using Local by Flywheel for my local dev environment but recently it started acting weird so I decided, that since I'd finally learned a decent amount of CLI, maybe I should try just using ...
0
votes
0answers
15 views

MAMP localhost access issue

I had http://localhost:8888 set up as the siteurl and home for my local wordpress install. It was working fine. Suddenly now there is some inconsistencies that have come up. wp-admin works fine: http:...
0
votes
0answers
9 views

SSL messes up rewrite for homepage, all others work fine

I installed a Let's Encrypt cert, then did a database S&R (with serializing/unserializing support) for http://mydomain to https://mydomain . The certificate works and I get a valid HTTPS ...
1
vote
0answers
32 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
2answers
395 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 ...
1
vote
1answer
46 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/....
0
votes
0answers
37 views

The requested URL was not found after new DB import

I had a WP site running smoothly on apache. I decided to replace the Db with an updated one (same version of WordPress), and now I get the error The requested URL ... cannot be found on all pages ...
0
votes
0answers
9 views

Folder/File Permissions set to apache:apache, user can not longer has RWX permission in SFTP

i am sure this has been talked about a lot and i have googled this extensively find only half solutions to my problem. I am currently running apache(2) on Ubuntu 18.xx, with a number of different ...
1
vote
1answer
86 views

301-redirect directives for blogger to wordpress migration

Hi I am trying to move my blog from Blogger to WordPress and I want to keep a simple and clean URL structure like http://www.example.com/post-name/ In blogger, I have the following URL structure: ...
0
votes
1answer
29 views

Why my multisite is this slow? (stats inside)

I'm building a network for my business and I faced interesting issues during testing the network. FYI, I'm using very light self-made theme on my network sites and only one plugin. For testing ...
0
votes
0answers
711 views

WAMP SERVER Command Prompt SET PATH=%PATH%

My WAMP SERVER will not connect to website in wamp server after I went to command prompt and typed in PATH=%PATH% is there any way to revert this??? I'm an idiot I admit it.
0
votes
0answers
288 views

Permalinks not working Apache + CentOS 7

I have a running CentOS 7 with Apache 2 mariadb stack with vhosts and Let's Encrypt. I've installed WordPress 4.9.6 on a virtual host using debian style (sites-available -> sites-enabled). My problem ...
1
vote
1answer
397 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)...
0
votes
1answer
804 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/...
0
votes
1answer
41 views

WordPress refuses to read the .htaccess file and gives a 404 for sub-pages

I have a DigitalOcean server with Apache2 installed, which runs virtual hosts. I have set up the site in a sub-folder var/www/html/[site-name]. The URL being something like 192.168.1.8/[site-name]/. ...
0
votes
1answer
143 views

Move site root directory on debian

I installed WordPress on Debian using this article from the Debian Wiki. My wp.conf looks like Alias /wp/wp-content /var/lib/wordpress/wp-content Alias /wp /usr/share/wordpress <Directory /usr/...
0
votes
1answer
30 views

post permalinks with dot in url don't resolve to correct page template

I have custom post type posts with the . character in the post_name field (thus the permalink) and it does not resolve to the correct page template. In this case instead of going to single-cptslug.php ...
0
votes
0answers
13 views

Where I should point my Database host?

I have Apache24 server with PHP, MYsql, and PHPmyadmin. This server inside my local network, any device from inside can access it without any problem from inside. My problem is the website not ...
2
votes
1answer
452 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 ...
0
votes
1answer
18 views

WordPress on VirtualBox - no pretty permalinks

Right, this has me stumped. I cannot get the pretty permalinks to work. They go to 404. The permalinks are updating, I can see the URL change to each setting as I save them by going to a post, but ...
0
votes
0answers
13 views

Changing AllowOverride to All in the default-server.conf provoke 403

I was having a problem with the Wordpress custom permalinks and I read all I had to do to solve it was to edit, in the default-server.conf, the AllowOverride directive from /srv/www/htdocs (where mi ...
0
votes
1answer
45 views

Access sub-domain when root public_html is protected with .htaccess password

I have a problem with access to my webstore. So I have a domain example.com and I have a script installed on the public_html folder and it is protected with password since I am accessing the script ...
0
votes
3answers
325 views

Wordpress page not accessible through WAN [closed]

I've set up a webserver (Apache2) on my Raspberry Pi 3. The latest versions of PHP, MariaDB and Wordpress are running on it. I can access the site on my LAN on different devices, however, I do not ...
1
vote
1answer
602 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 ...
0
votes
0answers
452 views

Using python requests module to login on an Wordpress based website

I'm trying to login to a Wordpress based website using python's request module and beautifulsoup4. It seems like the code fails to sucessfully login. Also, there is no csrf token on the website. How ...
0
votes
0answers
86 views

Which Apache modules in a Plesk VPS server can I disable for wordpress? [duplicate]

I know not all the apache modules are required for a WP installation. Besides so, as less modules, as les software installes, les problmes of hackes and other compatibilities issues and speed maybe. ...
0
votes
0answers
26 views

HTTP 504 after adding user or site on multisite

Not sure I'm googling the wrong terms, but unable to solve a problem on a WP Multisite instance. It happens in all environments (dev, stg, prod), but every time I add a new user or add a new (sub-)...
0
votes
1answer
39 views

Broken 302 redirection for product subcategory (Woocommerce, Apache)

I have problem with 302 redirections for subcategory pages. The site combine new URL with old. For example old url was: domain.pl/product-category/she/leggins/ and I want to redirec it to domain.pl/...
0
votes
0answers
1k views

NGINX reverse proxy configuration for WordPress running on apache http

I have tried with the above configuration in my environment with plain http connection for apache/wordpress, it is not working for me. My configuration details are as below. nginx: proxy_pass http://...
1
vote
2answers
53 views

login wp impossible

well i can access the sites: www.foo.com and www.bar.com but i cannot access the login - the sites are blank. foo.com/wp-login.php bar.com/wp-login.php i have the following logs. [Mon Jan 01 16:...
1
vote
0answers
579 views

How to disable server signature on wordpress? [closed]

i am trying to turn off server signature on wordpress. in htaccess file add following line: ServerSignature Off But when i check http://security.firewallmonitor.org it says it is not turned off. I ...
0
votes
0answers
21 views

Upgraded Ubuntu - PHP/Apache not working

So I have a dev site and a production site running LAMP (Ubuntu 14.04/PHP5) serving Wordpress. I decided that it was about time to attempt an upgrade to PHP7 and Ubuntu 16.04 on the dev site. The ...
1
vote
0answers
133 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 ...
0
votes
0answers
10 views

Adding Wordpress in a subdirectory withing a Miva Merchant Store

First of all sorry if this isn't the place to post this question but didn't think of anywhere else. Been looking everywhere for some info on this. I'm in the process of adding a wordpress blog into a ...
0
votes
1answer
282 views

Having an HTTP error 500 after migrating a website

Guys I'm having an HTTP error 500 after trying to migrate another site to an Ubuntu 16.04LTs virtual server. My other websites are working in these server but this one gives and error when I'm trying ...
0
votes
0answers
30 views

404 Errors on Every Page (Including Homepage) After Migrating From IIS to Apache

I recently migrated a client site from an IIS environment to a LAMP stack. The back end of the site works fine. I can log in and make any changes I like. The front end, however only displays 404 ...
-1
votes
1answer
704 views

session_start(): Cannot find save handler 'mm' - session startup failed in /sites

got issues with the following PHP Warning: session_start(): Cannot find save handler 'mm' - session startup failed in /sites Cannot find save handler 'mm': save handler: see : well i do not know ...
0
votes
0answers
110 views

Front-end pages messed up due to HTTPS

I have a WP blog at https://example.com/blog. I'm able to access the wp-admin pages but the front-end pages are messed up (https://example.com/blog/page/2/). I have /blog set as an alias in my Apache ...
0
votes
0answers
62 views

iframe SSL redirect issue with separate daemon

I have a strange problem I am trying to solve. I'm using an iframe plugin to pull in stuff from a separate web daemon (but same server). It works perfectly fine without TLS/SSL, but SSL always forces ...
0
votes
1answer
49 views

How to move wordpress website from hosting account to localhost

I'm getting 404 error while accessing relative paths on Wordpress website copied from hosting and deployed locally as Apache vhost. Local website is basically git clone of the existing remote ...
0
votes
1answer
40 views

How does WP work in conjunction with a web server?

I have background in programming (I am an electrical engineer and have become familiar with numerous languages over the years); however, I only starting working with wordpress and backend web ...
2
votes
1answer
72 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 ...
0
votes
1answer
27 views

Custom Permlinks work, regular page permalinks don't

I have some custom permalinks for my custom post types, that look like so: /products/category/subcategory/product-name I wrote a generate_rewrite_rules function for the permalinks related to that ...
0
votes
1answer
34 views

Wp-admin uses different php.ini than the theme files

A strange issue with my webhost (which doesn't seem to have an idea either). I tried to increase the upload limit for the wp installation by changing values in the php.ini. If I check which php.ini -...