Internal links on Blog Templates

Hi,

My customers can get a ready to go website through my Pro Sites and Blog Templates installation.

The template form which their new site is generated contains many pages. The links in the menu system work fine but the issue is that internal linking does not as the URL continues point to the page in the blog template.

What is the correct solution for this situation?

Thanks,
Justin

    Predrag Dubajic

    Hey Justin,

    Hope you're doing well today

    Are you referring to links inside your page/post content?

    Templates can't actually change those as this is added as any other text.
    What you can do is use relative linking, so instead of using full link remove the domain part and leave it as that.
    For example, if you have something like this in template:
    <a href="http://www.domain.com/my-custom-link/">My Link</a>
    Change it to this:
    <a href="/my-custom-link/">My Link</a>

    Hope this helps

    Best regards,
    Predrag