Page Builder Template and Custom Pages on same sub-domain

Hello !

I have a client who has custom built pages by the Yext Professional Services team from a couple of years ago for their branch locations. They are in the process of building out a new template for their home loan office (a single location) using page builder. This location is currently live with the custom template. However, when they finish the new template they would like to switch for just this location to this new template and have it published to the same sub-domain of their existing location pages.

Could someone provide guidance on the best way to achieve this!

Thanks you.

Hi @rlinden ! Welcome to the community!

This is a great question. We’d recommend you follow these steps:

  1. Publish your Page Builder Pages: Follow the steps listed here. Once you complete this, the Production URLs will be populated in the Landing Page Url field.

  2. Export your Landing Page URLs and Pages URLs from the relevant entities in the platform: These will give you the columns to construct a CSV with the old URL (Pages URL) in one column, and new URL in another (Landing Page URL).

  3. Add a redirects.[domain].csv file to your Custom Development repo on the site: This is how we are able to set the redirects from the old urls to the new ones.

The format of the file will look like this:

oldUrl, newUrl
oldUrl2, newUrl2
  1. Update the Custom Development Configuration to Exclude Location Pages: In your config.[domain].json file, you’ll want to remove the features that are now being controlled by the Page Builder templates.

  2. Publish these changes: Publish the updates to production! This will remove the old pages and set up the redirects correctly to the new ones.

It’s important that you set up the redirects as soon as possible after the Page Builder pages are up, so that there are not duplicate URLs for the locations showing in search results.

Hope this helps! Let me know with any further questions.

1 Like