View video at slave site

Ricky B
Posts: 78
Joined: Sat Nov 24, 2012 12:39 am

View video at slave site

Post by Ricky B »

i got another question about traffic redirection

i want to trade with my own domain website they use the same database and i want to know if its possible to a user to see the video on another of my domain.

Ex: the user want to see the video :
http://mydomain1.com/gallery/calena-mindblowing-shemale-bride/6d610940c19fa5a131a769881a2bb3fa/index.html?31x13x49712

and when the user click on the link the user are redirected to the second domain :
http://mydomain2.com/gallery/calena-mindblowing-shemale-bride/6d610940c19fa5a131a769881a2bb3fa/index.html?31x13x49712
Last edited by Ricky B on Fri Apr 12, 2013 9:34 pm, edited 1 time in total.
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: View video at slave site

Post by admin »

Let's say

http://mydomain1.com/gallery/calena-min ... 1x13x49712

uses template 'content_page'

so make this template like

Code: Select all

<?php
header('Location: http://domain2/gallery/<!--GALLERY_SLUG-->/index.html'); 
I hope you've got the idea :)
Don't forget to run script update
Ricky B
Posts: 78
Joined: Sat Nov 24, 2012 12:39 am

Re: View video at slave site

Post by Ricky B »

i have try the code and its not really what i' m looking for so i will use this code in another project :), i will try to explain what i need...

its like the redirect to the niche group (http://smartcj.com/viewtopic.php?f=2&t=88119)
but what i'm looking for its when the user click to the video on the domain1 and the user are redirected to one of my other site, the domain2 will show him the video he want to view if it exist on the domain2

xhamsterx do it, a lot of other site with embed code do it
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: View video at slave site

Post by admin »

Doesn't this code do it?
Don't forget to run script update
Ricky B
Posts: 78
Joined: Sat Nov 24, 2012 12:39 am

Re: View video at slave site

Post by Ricky B »

the code you have give let the user see the video on only one external site... (slave to master site)
i want to permit the user to see the video on all my others site i got...

when the user is in the category of the mydomain1, the user click on the video the user will maybe redirected to my trader or the user will have the real content on the mydomain1. But when my site send the user to another of my site (trader mydomain2 or trader mydomain3) with the same database, the script will give him the content than he have clicked on the domain1
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: View video at slave site

Post by admin »

Don't forget to run script update
Ricky B
Posts: 78
Joined: Sat Nov 24, 2012 12:39 am

Re: View video at slave site

Post by Ricky B »

If i fill up this... what is happen?

Image
Ricky B
Posts: 78
Joined: Sat Nov 24, 2012 12:39 am

Re: View video at slave site

Post by Ricky B »

If i understand correctly it will redirect traffic Content_Page to my other site ... but what is happen if on my site i got like 80% flv.

I love to have more flv because i can put my ads on the video and you can't with embed video
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: View video at slave site

Post by admin »

you need Site type = tube
Don't forget to run script update
Ricky B
Posts: 78
Joined: Sat Nov 24, 2012 12:39 am

Re: View video at slave site

Post by Ricky B »

Yes its work its what i have done (TUBE) but what it do if i choose (SMARTCJ)
and my other question its the redirect will work also if its a embed flv?
Post Reply