Send traffic from website to another without Iframe

Hello,

I would like to know how I could send traffic from website to another without using Iframe.

I already used I frame, it was working but it was showing the site URL in the browser loading bar and it was sending always to the same page.

So I made a small JavaScript that take a random URL from the RSS feed and add it in the iframe URL that fixed the traffic being sent to the same page but still can see the URL of the website the browser loading bar.

I think it is not possible to hide the website URL with this solution (Iframe) that is why I am here.

Asking for another more efficient solution.

Thanks you.

Hi dolomats welcome to the forum

Forgive me if I’m missing something, but it sounds like you want help to do something unethical.

If you want to send traffic to another site, isn’t the simplest way to just have a link to it that others can click on?

And as far as “hiding” the URL, that is not possible because browsers do a good job at preventing such security issues
A browsers address bar is meant to show the URL of the page it is at.
JavaScript can not hijack what the address bar displays to show something that it is not.

1 Like

ok Thank you

Perhaps what you are trying to do is something that is done thousands of times every day. If you sincerely want to do something that is reasonable then someone should have asked for clarification.

If this is to be done within one domain then a very common solution is to do it in the server using PHP or ASP.NET.

If it is truly across domains then it can be done using something called a web service, as in Web Services Demystified. They are also called many other things.

If you have a reasonable requirement then please try to describe it better, there might be other possibilities too.

Well what i want to do is just send traffic from a domaine to another they r also in a different server, i was using iframe but with iframe u can see the link inside the source code and in the loading page think that i dont want.

Thanks

That’s reasonable enough, but we still need to understand why you want to hide the URL of the site you are sending the traffic to. If it’s a reputable site which will be of interest or help to your visitors, then surely there’s no problem in showing them where the link leads?

If you can explain more clearly why you need to do this, we might be able to offer a better method, but at the moment it sounds (possibly quite erroneously) as if you are trying to do something underhand.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.