How do I make link within text not open a new tab?

Each of the underlined words hyperlinks out to a different url. Right now, when clicked they open up a new tab. How do I get these individual links within the same text box to keep you on the same page?
Screen Shot 2022-03-09 at 10.37.00 AM

Hi @jvejvoda, and welcome back to the forum!

By default, links added to the rich text editor are set to open in a new tab, but you can easily get around that by using the “edit as HTML” option. You can see a working example of this here: Fiddle: Open links in same tab

To set the link to open in the same tab, remove the lines rel='noopener noreferrer" target="_blank" from the HTML.

Screen Shot 2022-03-09 at 11.41.37 AM

Thank you!
Logan from Account Support

Hi @logan I tried doing that but then on our site when clicking the link nothing opened at all. Here’s a screenshot of the code, I removed the rel='noopener noreferrer" target="_blank" from that first link and kept it in the second one. Did I do anything wrong here?

Thanks for showing that, @jvejvoda! Would you be comfortable with sharing the entry for this page so we can take a look? The code appears to be correct, so not seeing that it would be a syntax issue.


@logan Yep no problem, here is the link: Drag and drop page builder and CMS

The first link is working in Preview on my end on Chrome. Give it a try on another device or browser to confirm, if you can!

I just tried it again on two different browsers, also had a friend try, and it still didn’t work. This is the page that is being targeted
When I click the “thickened water” link it updates the url in the url bar but it doesn’t actually take me to that new page. It should go to>Drinks%20&%20Shakes

Are you using the Preview Link or something else to test this?

@logan No I haven’t been using the preview link, I’ve just been publishing it live to our site and testing it there. I talked to our engineering team and it might be a problem with the url itself and not builder.

Okay, sounds good! Feel free to reply here to reach out with any findings :raised_hands: