-
for example, how do i create https://qwerty.com/help when all i have right now is https://qwerty.com I want to avoid using subdomains (https://help.qwerty.com) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @python8u. This is quite simple. You can achieve this in two ways. 1.) Simply create a folder inside of the repository that you use for you root domain. Example below. As you can see, inside my root domain repository, I have another folder named “contact” and if you go to https://yangciou.github.io/contact or https://yangciou.com/contact , it’ll use the code inside that “contact” folder. 2.) Another approach to this is simply by creating a new repository, named whatever you want the path to be(qwerty.com/path). After you create a repository with the path’s desired name, you have to go to “Settings” then to find “GitHub Pages” then select the “Source” as what you selected as source in your root domain repository. Then, after pressing “Save,” it should work! Example: I want https://qwerty.com/test, then I would create a repository named “test” and activate GitHub Pages under settings using the instructions above. |
Beta Was this translation helpful? Give feedback.
Hi @python8u.
This is quite simple. You can achieve this in two ways.
1.) Simply create a folder inside of the repository that you use for you root domain. Example below.
As you can see, inside my root domain repository, I have another folder named “contact” and if you go to https://yangciou.github.io/contact or https://yangciou.com/contact , it’ll use the code inside that “contact” folder.
2.) Another approach to this is simply by creating a new repository, named whatever you want the path to be(qwerty.com/path). After you create a repository with the path’s desired name, you have to go to “Settings” then to find “GitHub Pages”…