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
2answers
407 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
vote
0answers
138 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....
0
votes
2answers
76 views

White Screen of Death for unknown reason but fixes after rebooting the server

The problem we are experiencing is very new to us. We did not experience this ever before with our website or with our web server (in last 8 years). Just recently for last 2 week we have this issue ...
1
vote
0answers
144 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
31 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 ...
0
votes
0answers
284 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
30 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
1answer
344 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
1k 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 ...
6
votes
1answer
2k 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
446 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
355 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
30 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
22 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
61 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
14 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
63 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 ...
1
vote
2answers
538 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
1answer
528 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
894 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 ...
1
vote
0answers
52 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
5answers
8k 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
202 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
1answer
454 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
116 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.
1
vote
1answer
1k 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 ...
3
votes
1answer
4k 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)...
3
votes
2answers
10k 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
162 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
483 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
156 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
916 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
33 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
243 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
3k 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 ...
2
votes
1answer
2k 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
113 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
86 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
1k 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
319 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
485 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
116 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
2k 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
179 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
1answer
124 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
151 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
220 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
39 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 ...