You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently trying to resolve a Facebook over-moderation issue, where many valid FaceBook posts that contain links to LoopDocs are being marked as SPAM when they are not.
One option we want to investigate to resolve this issue is to use a different DNS domain in links to LoopDocs with a custom domain like loopdocs.org instead of loopkit.github.io in upcoming FaceBook posts.
flowchart TD
A("https#58;//**loopkit.github.io**/loopdocs/browser/bb-overview/") --> B
B("https#58;//**loopdocs.org**/loopdocs/browser/bb-overview/")
Loading
Let's see how we can put this in place.
Action Plan
Here is what to do and how.
What?
We will use the loopdocs.org custom domain instead of the default loopkit.github.io on GitHub Pages.
💡 Custom domains often avoid domain-wide spam penalties.
Once configured, accessing the content via
https://loopdocs.org/something
will make a permanent redirect (301) to
https:/www.loopdocs.org/something
flowchart TD
A -- Permanent Redirect (301) --> B
B -. CNAME .-> C
C -.-> D
A("loopdocs.org/something")
B("**www**.loopdocs.org/something")
C("loopdocs.**github.io**/something")
D@{ shape: processes, label: "GitHub Servers IPs" }
Loading
Once this configuration has been set up, we will suggest using links with loopdocs.org orwww.loopdocs.org (instead of loopdocs.github.io) in FaceBook posts to see if this fixes the issue.
The 3 URL forms will coexist, which means that all existing links (using loopdocs.github.io) in old FB posts will continue to work as before. This is a non-breaking change.
Here we go.
Now, let's answer the "How?" question.
(1) Click your profile icon at the top right of the GitHub page
(2) Click Organizations
(3) Click the Settings button next to the LoopKit organization
(4) Click Pages
(5) Click the "Add a Domain" button
(6) Enter loopdocs.org
(7) Click the "Add Domain" button to confirm
Add a TXT record to the loopdocs.org DNS configuration
Cf. the screenshot below.
Record Type
Name
Value
TTL
TXT
_github-pages-challenge-LoopKit
Paste the value copied at step (9)
3600
Use the name and value as shown on the display.
IMPORTANT: use the copy buttons to prevent typos.
(8) hostname: _github-pages-challenge-LoopKit
(9) value: copy the given value
(11) Wait until your DNS configuration changes. This could take up to 24 hours to propagate. You can use the below command line in a terminal to check:
Create the gh-pages branch on this GitHub repository:
If it does not exist yet here is how to create it (once) for the GitHub UI to pick it up in the branch chooser 🐓🥚 :-).
Assuming that in your local loopdocs repository, the:
upstream git remote denotes the LoopKit/loopdocs
origin git remote denotes your clone of the repository YOUR_USERNAME_HERE/loopdocs
Use git remote -v to check if this is the case.
First, make sure to have committed or stashed your current modifications.
When you’re ready please send me an email @getrileylink.org with the (txt) name/value record to add and I’ll also update the A, AAAA and CNAME records as specified.
Issue
We are currently trying to resolve a Facebook over-moderation issue, where many valid FaceBook posts that contain links to LoopDocs are being marked as SPAM when they are not.
Read this Slack thread thread for more details.
One option we want to investigate to resolve this issue is to use a different DNS domain in links to LoopDocs with a custom domain like
loopdocs.org
instead ofloopkit.github.io
in upcoming FaceBook posts.Let's see how we can put this in place.
Action Plan
Here is what to do and how.
What?
We will use the
loopdocs.org
custom domain instead of the defaultloopkit.github.io
on GitHub Pages.💡 Custom domains often avoid domain-wide spam penalties.
Once configured, accessing the content via
will make a permanent redirect (301) to
Once this configuration has been set up, we will suggest using links with
loopdocs.org
orwww.loopdocs.org
(instead ofloopdocs.github.io
) in FaceBook posts to see if this fixes the issue.The 3 URL forms will coexist, which means that all existing links (using
loopdocs.github.io
) in old FB posts will continue to work as before. This is a non-breaking change.Here we go.
Now, let's answer the "How?" question.
How?
ℹ️ Source: GitHub
Configuring
loopdocs.org
as a custom sub-domain on GitHub Pages consists in:mkdocs.yml
Let's explain each step.
Verifying the Custom Domain
ℹ️ Source: GitHub
(1) Click your profile icon at the top right of the GitHub page
(2) Click
Organizations
(3) Click the
Settings
button next to theLoopKit
organization(4) Click
Pages
(5) Click the "
Add a Domain
" button(6) Enter
loopdocs.org
(7) Click the "
Add Domain
" button to confirmAdd a
TXT
record to theloopdocs.org
DNS configurationCf. the screenshot below.
Use the name and value as shown on the display.
IMPORTANT: use the copy buttons to prevent typos.
(8) hostname:
_github-pages-challenge-LoopKit
(9) value: copy the given value
(11) Wait until your DNS configuration changes. This could take up to 24 hours to propagate. You can use the below command line in a terminal to check:
If you see a line like the one below, then the changes have been propagated.
(12) Click the
Verify
button once done and the DNS modification has been propagatedConfiguring the Custom Domain on GitHub Pages
Add
A
records to theloopdocs.org
DNS configurationThis will make `loopdocs.org' point to the IP V4 addresses of the GitHub servers.
If your DNS provider does not allow
@
useloopdocs.org.
instead.IMPORTANT: There is a dot (
.
) at the end.Add
AAAA
DNS records to theloopdocs.org
DNS configurationThis will make `loopdocs.org' point to the IP V6 addresses of the GitHub servers.
ℹ️ Source: GitHub
Add a
CNAME
record to theloopdocs.org
DNS configurationwith the name
www
and the valueLoopKit.github.io.
.IMPORTANT: There is a dot (
.
) at the end of the value.Open the loopdocs GitHub repository: https://github.com/LoopKit/loopdocs
The DNS change above may take one hour to be propagated.
Create the
gh-pages
branch on this GitHub repository:If it does not exist yet here is how to create it (once) for the GitHub UI to pick it up in the branch chooser 🐓🥚 :-).
Assuming that in your local
loopdocs
repository, the:upstream
git remote denotes theLoopKit/loopdocs
origin
git remote denotes your clone of the repositoryYOUR_USERNAME_HERE/loopdocs
Use git remote -v to check if this is the case.
First, make sure to have committed or stashed your current modifications.
git checkout --orphan gh-pages git reset --hard git commit --allow-empty -m "fresh and empty gh-pages branch" git push upstream gh-pages
Securing the Custom Domain
ℹ️ Source: GitHub
Updating
mkdocs.yml
site_url
tohttps://www.loopdocs.org/loopdocs/
in themkdocs.yml
configuration file.EDIT:
mkdocs.yml
sectionThe text was updated successfully, but these errors were encountered: