Referrer or Parameter, best way to create a Landingpage
This is an open discussion with 5 replies, filed under General.
Search
Can't you handle the redirection in your .htaccess
?
I think parameter redirection would probably suit you best; I would either use the full domain name; or else have something which matches up so you can filter your data-source such as the full domain for example.
Just as an aside I'd say that's even less secure than http referer. It takes at least a little effort to spoof a referrer header, but params can just be copy-pasted? Am I missing something? Are you that concerned about fake referrals?
Something some/most websites tend to do is this: setup a redirect landingpage which has the website you come from as a parameter (example.com/landingpage/getsymphony.com/
) which sets getsymphony.com
in the session, and redirects to example.com
.
You can then access the source everywhere in your application, without having to pass the parameter around in your URL all the time - keeping your URL's clean.
Hi guys, thanks for reply. I will try develop this parameter way.
@nils, I will have many domains redirecting to my website. I don't make idea how use .htaccess
for it and if best way.
@gunglien, Yes I think too becaus if always I need my root check from etc and compare with a full domains registred, when have many access will be slow. So the parameter is correct for it, like a blog post.
@s_e Yes, params is better and secure. I need only set a custom url for each domain redirection.
@creativedutchmen great, I need only have the landingpage to have a good offer and a easy call-to-action, if user click in other navigation link, normal. Thanks.
Create an account or sign in to comment.
Hi, guys.
I need create a landingpage for this website: http://primedominios.com
So, the idea is when user try access a domain, like: http://adegaweb.com.br now is redirecting to http://primedominios.com so, I need get the referrer this user are from and pass it as parameter to render a custom landingpage. So I need have something like a
handle adegawebcombr
to get price etc.I read on PHP manual that
HTTP_REFERER
is not secure, depending about browser etc.Another way is use a parameter in redirection, like
primedominios.com/from/adegawebcombr
but I don't have idea how I compare this and get the price and other infos without load the full DS with all domains. It's common?Anybody have a better idea or tip to do it?
Thanks and sorry if my confused english.