Using Vercel+Nextjs redirect/mask URL only for facebook

Wormedia

Newbie
Joined
Apr 26, 2015
Messages
44
Reaction score
6
Hi guys,I came across a post on facebook where someone posted a url content to its fanpage, the url displayed under the featured image was in this format:'https://example.vercel.app'on Mobile: when i click on it at first facebook shows (https://example.vercel.app) url in the header, then redirects to the actual domain name, like https://example.com/post/idive been searching google but maybe i dont know how to even search for what this guy has done, if someone could help me, i appreciate it so much. thank youhere's a video for better understanding
 
I have the same question. Waiting for someone give us the answer how to setup cloaking like this.
 
Usually redirect campaigns will make the account easy to be locked
 
Probably this can help:

Code:
https://nextjs.org/docs/api-reference/next.config.js/rewrites
 
Hi guys,I came across a post on facebook where someone posted a url content to its fanpage, the url displayed under the featured image was in this format:'example.vercel.app'on Mobile: when i click on it at first facebook shows (example.vercel.app) url in the header, then redirects to the actual domain name, like example.com/post/idive been searching google but maybe i dont know how to even search for what this guy has done, if someone could help me, i appreciate it so much. thank youhere's a video for better understanding
It's a simple cloaking or redirect method for a progremmer it can be solved in some ways example checking header or redirect from server side
 
it's a link cloak, it can redirect the link to your link when the campaign is active.
 
I need help
Post in hire a freelancer if you don’t want to get scammed.


OP, I think what you are looking for is Next Middleware. If you still need help, try posting the video back. Will be glad to help (free ofcourse).
 
Post in hire a freelancer if you don’t want to get scammed.


OP, I think what you are looking for is Next Middleware. If you still need help, try posting the video back. Will be glad to help (free ofcourse).
How should I contact you
 
Back
Top