Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
0answers
14 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
12 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 / ...
0
votes
0answers
13 views

Non Admins Getting Cached Posts

I'm having a strange issue with wordpress posts getting cached. If an admin is logged in they do not receive a cached post however a regular visit is cached. I do not have any caching plugins and the ...
-1
votes
0answers
16 views

MAMP File Permissions

I am using MAMP Pro 4 on Windows 10 to develop WordPress sites. When an image is imported into the media library, the original image is placed in the uploads folder without proper permissions. ...
0
votes
0answers
28 views

Apache using full RAM problem

I have a server with these specification: *CPU* Intel(R) Xeon(R) CPU D-1520 @ 2.20GHz Cores : 8 Cache : 6144KB *RAM* 2x 16384MB *Hard Disk* 2 x 300 GB 2 x 2000 GB *Software* Ubuntu 14.04 Linux 3.14 ...
0
votes
0answers
9 views

Saving settings fails with reverse SSL proxy

Whenever I save a setting in wp-admin, I get redirected to /af-wiki/af-wiki/wp-admin/options-general.php. Nonetheless, my alterations are stored properly. Saving pages, browsing, changing themes, .. ...
0
votes
1answer
33 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, ...
0
votes
1answer
28 views

fix 302 redirection error on https

I have a problem with my wordpress fresh installation. I'm using the .htaccess to redirect all my traffic on https, but every time I see a 302 error page. How I can fix this? here is the .htaccess ...
4
votes
1answer
216 views

cURL 28 error after switch from to brew php 7.2 on localhost

I've been running into trouble with all my localhost install of Wordpress reporting cURL error 28 (timeout) since (I believe!)I've switched my PHP version from 7.0 to 7.2 with brew on my local Mac OS ...
1
vote
2answers
36 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
1answer
34 views

VB.net and WordPress

I run a WordPress website that often has posts with some JavaScript, usually for various calculators. For example, I might use JavaScript to allow a visitor to convert inches to mm. That's a basic ...
0
votes
1answer
18 views

Huge time to first byte on live site

I have problems with loading my site. Time to first byte varies from 0,5 to even 10s. I can't find what may cause that lag in back-end processing. My site : www.mm.bartoszwasz.pl Test with GMetrix ...
0
votes
0answers
13 views

Subdirectory from different server

I will give you an example; first website: www.example.com --> it is .NET and IIS. second website: mywebsite.site.com --> it is PHP and Apache (or nginx or iis, nevermind) I want to use "second ...
0
votes
0answers
17 views

Opening WordPress on wordpress.example.com, while the webpage is at example.com

Is it possible to set up WordPress so that you log on on a subdomain while the webpage edited is the main domain? And if yes, how? I know about home and site URL, but all the examples to those were in ...
0
votes
1answer
26 views

403 Error when using save buttons

I just installed Wordpress on my home server. Everything was working fine until a hit a save button in a plugin and got a 403 error saying I didn’t have access to ap-admin/options.php. Strangely ...
0
votes
1answer
11 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
40 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
61 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
10 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
1answer
138 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
173 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
23 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
16 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
39 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
1k 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
82 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
54 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
13 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
192 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
35 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
1k 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
1answer
433 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 ...
2
votes
1answer
1k 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)...
1
vote
1answer
2k 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
54 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
245 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
35 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 ...
2
votes
1answer
506 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
21 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
1answer
69 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
633 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
888 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
1answer
55 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/...
1
vote
2answers
62 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
726 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 ...
1
vote
0answers
177 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
1answer
416 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
43 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
957 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
136 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 ...