/    Sign up×
Community /Pin to ProfileBookmark

Hi all here, need help about redirect from source

Hi all here, first I want to greetings all members here.
I need to know if exist javascript way and if yes how to

Example:

I have site [url]www.mysite.com/page.html[/url]
If I share this link on facebook, than who click from facebook can visit, but from other sources like google or like copy adress or from other sources can not. To make link and page visible only from one source.
Thank You for helping.

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@xelawhoApr 08.2016 — You could do it in javascript but it would make more sense in an htaccess file:

http://tltech.com/info/referrer-htaccess/
Copy linkTweet thisAlerts:
@erreterrauthorApr 08.2016 — but i want it with javascript if it is possible

Hi all here, first I want to greetings all members here.

I need to know if exist javascript way and if yes how to

Example:

I have site www.mysite.com/page.html

If I share this link on facebook, than who click from facebook can visit, but from other sources like google or like copy adress or from other sources can not. To make link and page visible only from one source and all other sources to redirect in another link.

Thank You for helping.
Copy linkTweet thisAlerts:
@xelawhoApr 09.2016 — but i want it with javascript if it is possible[/QUOTE]

just out of curiosity... being that javascript can be turned off in the browser which renders redirect scripts completely ineffective, is there some reason why you want to do this in javascript?
Copy linkTweet thisAlerts:
@erreterrauthorApr 10.2016 — just out of curiosity... being that javascript can be turned off in the browser which renders redirect scripts completely ineffective, is there some reason why you want to do this in javascript?[/QUOTE]

Because i do not know how to with htaccess.

If it possible tell me someone please.

Thanks
×

Success!

Help @erreterr spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...