Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Github question from a noob!

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #207278
    StephBertha
    Participant

    Hi there,

    I never used Github before, but my client came to me with this question:

    “Can you create a separate site to where we can preview changes, view the site, but where Google won’t pick it up in search engines?”

    Is this something I would use Github for?

    #207281
    Shikkediel
    Participant

    At the chance of going astray a bit, I would just use a robots.txt on a regular site for that. Or a htaccess file that only allows certain ips if it has to be stricter.

    #207291
    Tom
    Participant

    Github Pages only works for websites that don’t need any server-side scripting also Github Pages still get indexed as far as I know. Shikkediels suggestions is in my opinion the better solution.

    #207341
    Shikkediel
    Participant

    Beverleyh is right of course but if you want to spare those $10 a year, you could even create a subdomain on an existing host. Something like preview.mysite.com. But that depends a bit on your server access (I know NameCheap DNS will let you create like a hundred forwards).

    #207349
    Senff
    Participant

    I would suggest to put the site behind some password protection (on a separate subdomain). Search engines won’t get past that.

    To answer the original question: Github is basically only where you store your code, not where you host your site. So no, you wouldn’t use Github for something like that.

    #207365
    StephBertha
    Participant

    Thank you so much! This really helps me understand the use of Github and how to get around this. Much appreciated :)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.