How to make my site open in TOR browser propose to open mydomain.onion version?

How to make my site open in TOR browser propose to open mydomain.onion version?

Just like going to twitter proposes to go to https://twitter3e4tixl4xyajtrzo62zg5vztmjuricljdp2c5kshju4avyoid.onion/ in Tor browser.

Hi and welcome to the forum

Please read these two topics:

5 Likes

That’s not the point.
I have a site on infinityfree e.g. website.com
I want that when someone opens my website.com on tor browser a popup will pop up that redirects to my website in .onion version which is on another hosting.

Normal website open on Tor

E.g. reddit when you open in the tor browser you can stay on reddit , com, but you can also switch to reddit in the .onion version when you click “.onion avaible”

I heard somewhere that you need to write something in .htaccess

Onion version:
Onion version

6 Likes

but if you own a domain, you can use Cloudflare and even detect there if someone is coming from TOR and then make a rule that will automatically switch them to .onion, etc.

7 Likes

Thanks already my site redirects to the onion version.
Only had to change https to http.

1 Like

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