940cbdbde921b1b01bc102855d1b90fb

How Should I Link to Internal Pages on Strattic?

TLDR - use the WordPress staging URL.

When creating internal links you should use the WordPress staging URL of your site https://example.site.strattic.io/about-us/ or relative links like /about-us/.

This URL will be rewritten to your live or preview URL when you do a Strattic publish.

Here are two examples of how URLs will change after they’ve been published:

  • When publishing to preview, https://example.site.strattic.io/about-us/ will get re-written as https://example.preview.strattic.io/about-us/ on the preview site.

  • When publishing to live, if you havenโ€™t yet connected your custom domain https://example.site.strattic.io/about-us/ would get re-written as https://example.live.strattic.io/about-us/ on the live site. Or, If you have connected your custom domain, it would get re-written as https://www.yourdomain.com/about-us/ on the live site.

Note:

If you’re using Yoast SEO to analyze internal links in your content, the links must use the WordPress staging URL rather than the live or preview URLs.


Stratticย is an end-to-end managed WordPress static publishing and hosting platform.
Try it free for 14 days, no credit card required.

Did this answer your question?