XFileSharing Pro - Changing the naming convention of embed

Message
Author
Internet Consumer
Posts: 148
Joined: May 28, 2013 1:51 am

Changing the naming convention of embed

#1 Postby Internet Consumer » Jun 08, 2013 5:43 am

Hello,

How do i change the naming convention of the player embed code to something else

Ex: http://site.com/embed-mak5p3a3njsc-640x500.html

To

Ex: http://site.com/file-mak5p3a3njsc-640x500.html

or

Ex: http://www.site.com/3hocp8odh1rf?&width=640&height=500

Please help. Some one from support or anyone that has done this before. I feel like you can do the changes in .htaccess but am not 100%

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

Re: Changing the naming convention of embed

#2 Postby ankurs » Jun 08, 2013 5:55 am


make below changes in .htaccess

"RewriteRule ^embed-"
to
"RewriteRule ^file-"

Not sure about the 2nd one.

Internet Consumer
Posts: 148
Joined: May 28, 2013 1:51 am

Re: Changing the naming convention of embed

#3 Postby Internet Consumer » Jun 08, 2013 8:22 am

ankurs wrote:

make below changes in .htaccess

"RewriteRule ^embed-"
to
"RewriteRule ^file-"

Not sure about the 2nd one.


Thanks

Ill figure out the other one since i know know you can change it on .htaccess

After you make the changes dose or will it affect the others that already have the default naming convention?

Thanks again :)

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

Re: Changing the naming convention of embed

#4 Postby ankurs » Jun 08, 2013 11:11 am

Internet Consumer wrote:After you make the changes dose or will it affect the others that already have the default naming convention?

it does, you can keep the existing lines if you want old links to work

just add new ones for the new format you want


Return to “XFileSharing Pro”