Pages URL is not working on the Apache server for subsites in a WP Multisite setup

Bug Summary

Pages URL is not working on the Apache server for subsites in a WP Multisite setup. If I change the Server to nginx, it starts working.

Steps to reproduce

I installed the WP Multisite setup using subdomains. Opened the Network admin and create few websites, installed a theme and plugins, especially WooCommerce. On the subsites, the Shop page url and other pages for WooCommerce show an error.

”Not Found

The requested URL was not found on this server.”

Environment Info

Describe your environment.

  • Macbook
  • (Apache, PHP(8.4), MySQL(8.0.35)
  • Version 9.2.9+6887

Supporting info

Hi @rajaamanullah72!

Did you also perform the sync subdomains step as mentioned here?

If you’re still having trouble can you share a full copy of your Local Log here? Retrieving Local’s Log File

Also when you get to the not found subdomain page are there any errors in the dev console?

Hey Nick,
Yes, it works for nginx, but I’m having issues with the Apache server. Does it make any sense to you?
When I created the site, I selected Apache as a server, and during tracing of the issue, I noticed it is working fine for niginx.

To confirm, you did follow the syncing subdomains step?

Could you also please share your local log?

Yes, I followed the steps. Home page is accessible but WooCommerce pages are not working like shop, cart and checkout page.

Are you able to share your full local log with us @rajaamanullah72?