• Resolved Asser Munch

    (@asser-munch)


    Hi there.

    Thanks for a great plugin, and thanks for solving my last problem ??

    Now there’s another… I think.

    Please bear with me if this is just some secret WP- or Woocommerce-setting I can change, and let me know where.

    I tested the product email (completed order), and at first glance it looks just fine. But… When I include a link to a post (on the webshop site) for more info, WordPress creates the local page id for the link. I suppose while rendering normal posts and pages for browsers, these are translated into full links. But apparently not when including this type of post in emails.
    This results in an id-coded link in the email, that leads to an error message.
    External links to other websites works as you would expect.

    I tried forcing the absolute address in the link in text coding mode, but WP keep changing it back to the id-link. I tried removing the ‘https:’ so the link starts with //, and this seemed to work for one of the links to a page, not others to posts… (could it make the difference here if it’s a post or a page?)

    I’m rather confused here, but let me know if you have an idea for a fix, that I can do myself, or if you know what the problem is.

    Thanks a lot!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author alexmustin

    (@alexmustin)

    Hi asser,

    Thanks for submitting your question!

    I’m a little confused… can you provide screenshots of what data you’re entering, and what it looks like in the email?

    That will help me determine the issue.

    Thanks!

    Plugin Author alexmustin

    (@alexmustin)

    Hey @asser-munch, let me know if you still need help on this or if you have figured it out.

    Thanks!

    Thread Starter Asser Munch

    (@asser-munch)

    SORRY for not replying. It turns out my email has been down for days…

    I haven’t solved this.

    The link in the custom email post as it looks after updating:
    https://snag.gy/YyXqA0.jpg

    Looks fine in the email:
    https://snag.gy/k3QAp8.jpg

    But most internal links looks something like https:///?p=2185
    … leading to an error page:
    https://snag.gy/7nEaOZ.jpg

    I’m confused as well, as it does not change ALL internal links…

    I hope this can help, and I hope the screenshot-service works…

    Thanks.

    Plugin Author alexmustin

    (@alexmustin)

    Hi @asser-munch,

    You are supposed to enter the full URL here (including the: https:// ) — not relative paths.

    Do the links work properly when you enter the full URL?

    Thread Starter Asser Munch

    (@asser-munch)

    Hi, yes, and I do. But WP seems to code them back into relative paths and use post or page ids.
    I use the full path which is accepted:
    https://snag.gy/Yhas1P.jpg

    But after save/update it is:
    https://snag.gy/vAZaBs.jpg

    I have not found a way to prevent this re-coding. Is it not expected WP-behaviour? I could be stupid on this…!?

    Plugin Author alexmustin

    (@alexmustin)

    Hi @asser-munch,

    Have you tried switching to the ‘Text’ tab and manually entering the full URL into the HTML code?

    I have a feeling the Link insert tool you are using is changing the links, so you will have to override what it is doing…

    Thread Starter Asser Munch

    (@asser-munch)

    Oh yes, been there too:
    https://snag.gy/ka1KHE.jpg

    I swear! Between the two screen shots, I just updated, and it has changed:
    https://snag.gy/1b8OYp.jpg

    I have another WP blog (fewer plugins), that does the same. So I just took it for standard behaviour.

    Plugin Author alexmustin

    (@alexmustin)

    I’m going to close this support topic, because it is not related to the plugin but is an issue with your install of WordPress.

    I would recommend disabling plugins until you find what is causing this. You should be able to enter a custom link into the ‘Text’ tab of the Page Editor, without it getting replaced or modified.

    Thread Starter Asser Munch

    (@asser-munch)

    Thanks, you are absolutely right! It’s the WPML sticky link plugin, that I wasn’t too aware of.
    I’ll try to open a support thread with them to hear if it is possible to except the custom email post type.

    Thanks a lot!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Internal link remains a page id-link’ is closed to new replies.