Jump to content

URL-related query


ankurkhanna

Recommended Posts

Hey guys,

 

I'm Ankur and a new member here. I just started off with php recently, still grabbing the basics and I'd like to ask about 1 thing for now -

 

I want to create a script in a way where... let's assume that there is a webpage with an external link pointing to .. say.. google.com

 

Now, as soon as someone clicks on this link, I want the link to become something like

 

www.abc.com?redirect=google.com?utm_source=abc

 

As you can see, even though there is a simple link posted - google.com, it gets engulfed by some other domain, followed by UTM parameters.

 

I'd love to create a script like this. How do I get started?

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.