• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio 
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio  
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Standing up a new server in a load balancing pool. All links to posts broken.

Standing up a new server in a load balancing pool. All links to posts broken.

  • Unknown's avatar
    agrikk · Member · Dec 26, 2023 at 10:36 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I have a problem where links to posts from the front page of my WP site are broken and I need help fixing this issue.

    I have a WP site hosted on AWS that consists of two Ubuntu EC2 servers (running Apache2 / PHP 7.4) behind a load balancer that are using shared NFS storage for .php files, S3 for image stores and elasticache for memcached caching. I am migrating the Ubuntu servers to newer graviton servers and PHP 8.1

    The problem is that I deleted the template that creates the Ubuntu Apache servers so I’m having to build a new server instance from scratch and I’ve apparently missed a configuration step somewhere because when I mount the NFS share to the new server and browse to it, links are broken. PHP works, caching works. Everything seems to work, except the links on the front page are broken.

    I assume it’s a redirect or a rewrite that are broken, but all of the WP installation files, as well as the ,htaccess files are shared between the three webservers. I don’t know where else to look.

    Help, please!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    agrikk · Member · Dec 26, 2023 at 10:47 pm
    • Copy link Copy link

    I figured it out- I’d forgotten to enable mod_rewrite on the new server:

    sudo a2enmod rewrite
  • The topic ‘Standing up a new server in a load balancing pool. All links to posts broken.’ is closed to new replies.

Tags

  • account
  • images
  • Jetpack

About this topic

  • In: Support
  • 1 participant
  • 1 reply
  • Last activity 2 years
  • Latest reply from agrikk

Have a question?

Get in touch
Back to Top

Couldn't find what you needed?

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions