Page 1 of 1

Working On Hosts File

Posted: Wed Apr 05, 2017 8:06 pm
by tubeman
Hi,
Is it ok to setup a domain on an IP and install scj and work on site integration and imports by updating local hosts file, and only after site is ready then make DNS live?

Regards,

Re: Working On Hosts File

Posted: Thu Apr 06, 2017 6:24 am
by admin
Hi,

yes, sure.

Re: Working On Hosts File

Posted: Sat Apr 08, 2017 8:04 pm
by tubeman
Hi,
Importing data while working on a site on hosts file, the data import(grabbing) is very slow.Same data I import on another site which is live is very fast. Any idea why this could be happening? Both sites are on v2.1.

Regards,

Re: Working On Hosts File

Posted: Sun Apr 09, 2017 7:51 am
by admin
You can check gallery_grabber - it shows what takes time, may be it's slow remote host

Re: Working On Hosts File

Posted: Wed Apr 12, 2017 9:22 am
by tubeman
Hi,
How do I put canonical links on all my pages instead of just on video page?

Regards,

Re: Working On Hosts File

Posted: Wed Apr 12, 2017 9:37 am
by admin
Exactly the same way as for video pages

Re: Working On Hosts File

Posted: Wed Apr 12, 2017 9:50 am
by tubeman
Whats the exact tag I need to put in header to get it on all pages?

Re: Working On Hosts File

Posted: Wed Apr 12, 2017 10:15 am
by admin
There's no one tag caz it depends on your links\templates

You can use <?=$_SERVER['REQUEST_URI']? if that suits your needs

Re: Working On Hosts File

Posted: Wed Apr 12, 2017 10:54 am
by tubeman
Thanks. Is there a way to hide common.php ? From what I understand it must be copied to root along with index.php. Also is it required to copy include.php ?

Re: Working On Hosts File

Posted: Wed Apr 12, 2017 8:44 pm
by admin
include.php - no
common - the same as any other file