Tagged: , ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • #1186354

    Hi, thanks for all the help you’ve provided recently.

    I’ve run into yet another problem. This time it has to do with links.

    It happens when I add a link to text in a text box. For example, I want to link to a page called Composition & Sound Design. I will click the link button in the text-editor and choose what page to link to and it will add a code like this:

    a href=”https://newbornsix.avnielsen.com/composition-sound-design/”

    which is perfect. However, when I save and close the page and then later go back to the page, the link has changed to this:

    a href=”../composition-sound-design/”

    This results in my links not working if I am in a post or portfolio-item page because when I click the link on those pages it will send me here:
    https://newbornsix.avnielsen.com/portfolio-item/composition-sound-design/ which is a page that doesn’t exist.

    I didn’t have this problem until today when all my links just started acting like this. The only thing I’ve done since yesterday is to install woocommerce, could this be causing my links to act up? I haven’t even set up the plugin yet.

    Hope you can help :)

    • This topic was modified 3 months, 2 weeks ago by  avnielsen.

    I will just add an update to this issue.

    I have provided two links in the private content. The code for each page is identical, they just have different texts and images.

    Yet, if you click on for example MIX & MASTERING on the first link i provided you will go to the right page, and if you click on the same MIX & MASTERING link on the second link i provided the link is interpreted wrong.

    I have checked everything on each page and they are completely identical, so I can not figure out what is going wrong.

    Really hope you can help me with this.



    Sorry for the late reply, and thanks for the login, I see that most of your items are portfolio items so the /portfolio-item/ is correct, I tried checking your pages for bad links but didn’t find one, but I did find that you have a portfolio category that is named the same as your /composition-sound-design/ page. This typically can lead to trouble, and it sounds like what you were experiencing.
    You also said that you installed woocommerce which may require to resave your permalinks.
    If you want to create the link you were having trouble with I will take another look.

    Best regards,


    Hi, thanks for your answer.

    I’m afraid I don’t understand what you mean by the /portfolio-item/ is correct?

    When I am on a portfolio-item page and I have a link that goes to a page that is not a portfolio-item, the link breaks because it puts the /portfolio-item/ into the URL. As I described above I have a link that is called for example :

    a href=”https://newbornsix.avnielsen.com/composition-sound-design/”

    If i put that link on a portfolio-item page it will it change to this:

    a href=”../composition-sound-design/” and send me here: https://newbornsix.avnielsen.com/portfolio-item/composition-sound-design/ which doesn’t exist.

    If i have the link on a normal page, the link works as it should, but if I have the same link on a portfolio page, the link breaks.

    I have made a custom menu bar, so the links in that are the same on all of the pages. The links in the mobile device menu and in the footer are not affected by this. It is only in the top menu bar on desktop browsers.

    I don’t get why it does this. It alters the link code that I manually typed. How can I prevent it from doing this?



    you can close this topic, I fixed it by using buttons instead of text-links. That resolved the issue.

    Thank you


    Hi Andreas,

    Thanks for the update, I’m glad that you found a solution. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,


    Hi Rikard,
    I updated one of my sites : Enfold 4.1.2 to 4.7.3 – PHP to 7.3.11 & WP to 5.3.2
    But my portfolio pages no longer appear.
    For example on the page :

    Each portfolio page is not found :
    For example : http://home-real.fr/portfolio-item/home-villa-156/
    Do you have an explanation & solution to solve this problem?
    It is also impossible to view the pages via the admin panel.
    Thank you !
    Best regards.


    Hi Saccollc,

    Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.

    Best regards,


    Hi Rikard,
    Thank you for your return.
    Here are the id in private.
    Best regards.



    thanks for that. What happens if you set your permalink to a different structure and save, then change them back? http://your-site.fr/wp-admin/options-permalink.php

    Best regards,


    Indeed everything works again.
    Thank you very much Rikard!
    Best regards.


    Hi Saccollc,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.