Hosted Videos

mactron
Posts: 77
Joined: Fri Jan 25, 2013 12:30 am

Hosted Videos

Post by mactron »

How I can change URL structure for hosted videos from "gallery" to "videos" ?
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Hosted Videos

Post by admin »

Edit rewrites and your templates.
Don't forget to run script update
mactron
Posts: 77
Joined: Fri Jan 25, 2013 12:30 am

Re: Hosted Videos

Post by mactron »

Could you explain which part of htaccess code please?
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Hosted Videos

Post by admin »

A part with /gallery i suppose.
Don't forget to run script update
mactron
Posts: 77
Joined: Fri Jan 25, 2013 12:30 am

Re: Hosted Videos

Post by mactron »

I need to change code only for hosted videos and not for all links..
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Hosted Videos

Post by admin »

I'm not sure that I got you right .. anyway, you can make any links as you want - all you have to do is change rewrites and template. I can provide you with any links w\o rewrites if you need it for writing your own. But I think default rewrites are pretty self-explaining.
Don't forget to run script update
mactron
Posts: 77
Joined: Fri Jan 25, 2013 12:30 am

Re: Hosted Videos

Post by mactron »

I have tube links which are redirected from my site to redtube from "gallery" in the URL... Now I will put embed videos on my site from xhamster, but URL structure is the same.. - "gallery".. So I need to keep "gallery" for outgoing video links and then to change URL structure from "gallery" to "videos" for hosted videos... In this case I will have two parts of site/links: 1. outgoing videos and 2. emebed videos..
admin
Site Admin
Posts: 37994
Joined: Wed Sep 10, 2008 11:43 am

Re: Hosted Videos

Post by admin »

Well, if template you can generate different links based on SPONSOR_ID for example.

And add more rewrites for /video links.
Don't forget to run script update
mactron
Posts: 77
Joined: Fri Jan 25, 2013 12:30 am

Re: Hosted Videos

Post by mactron »

Sorry, dont understand ...Whats sponsor ID, what I have to write in htaccess
mactron
Posts: 77
Joined: Fri Jan 25, 2013 12:30 am

Re: Hosted Videos

Post by mactron »

Please check PM... Could you write me what I have to change in htaccess.. Sorry im not developer....
Post Reply