Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 11 of 29

Re: index.html not working

This is not related to GitHub pages.

Wordpress is not assosiated with GitHub pages or GitHub in any way, except for being open source.

Highlighted
Copilot Lvl 3
Message 12 of 29

Re: index.html not working

Your question is highly confusing. Did you mean your website is opening index.html page on loading? or did you mean it is not loading index.html page. I will try to answer but you need to provide more information. If you type the link and index.html is opening than it is working correct because it will always open index file as homepage unless you have specified something else. secondly make sure you have uploaded all the files in correct folder because it is usual that when a user is inexperienced ftp could be confusing. So check it and add more details if possible.

Highlighted
Copilot Lvl 3
Message 13 of 29

Re: index.html not working


@Povezlotut wrote:

Good afternoon! Well managed with HTML-document, please help with the plugin Web craft ic is clearly a problem, when I updated WordPress to 5.3 it became buggy and show on the site abru kadabru had to disable it, can tell me where to register in HTML? Here's how the site works when the plugin is enabled:

ошибка в плагине.jpg

and so the site works when disabled: k-chemu-snitza.ru

Hope that many isprovlyat in HTML nah so as I only am learning.


 

suffering from same problem how do i restructured the setups ?

Highlighted
Copilot Lvl 3
Message 14 of 29

Re: index.html not working


@BhenChod1221 wrote:

@Povezlotut wrote:

Good afternoon! Well managed with HTML-document, please help with the plugin Web craft ic is clearly a problem, when I updated WordPress to 5.3 it became buggy and show on the site abru kadabru had to disable it, can tell me where to register in HTML? Here's how the site works when the plugin is enabled:

ошибка в плагине.jpg

and so the site works when disabled: k-chemu-snitza.ru

Hope that many isprovlyat in HTML nah so as I only am learning.


 

suffering from same problem how do i restructured the setups ?


 

Plugin Web craft ic is clearly a problem

Highlighted
Copilot Lvl 3
Message 15 of 29

Re: index.html not working


@BhenChod1221 wrote:

@Povezlotut wrote:

Good afternoon! Well managed with HTML-document, please help with the plugin Web craft ic is clearly a problem, when I updated WordPress to 5.3 it became buggy and show on the site abru kadabru had to disable it, can tell me where to register in HTML? Here's how the site works when the plugin is enabled:

ошибка в плагине.jpg

and so the site works when disabled: k-chemu-snitza.ru

Hope that many isprovlyat in HTML nah so as I only am learning.


 

suffering from same problem how do i restructured the setups ?


 

 If you access your site via github.com, you want the content of readme.md displayed, so people know, what this project is about. If people access your website via github.io, you want the content of index.html displayed. I was under the impression, that the right way to do this, is to exclude README.md from your website by including in your _config.yml:

Highlighted
Ground Controller Lvl 1
Message 16 of 29

Re: index.html not working

I have added front matter part to the readme.md and it fixed the problem.
---
permalink: /index.html
---

After this it shows index.html. I have found this solution also helps for custom 404 pages. https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/

Ground Controller Lvl 1
Message 17 of 29

Re: index.html not working

I have the impression this is a workaround but not a solution. If you access your site via github.com, you want the content of readme.md displayed, so people know, what this project is about. If people access your website via github.io, you want the content of index.html displayed. I was under the impression, that the right way to do this, is to exclude README.md from your website by including in your _config.yml:

exclude:

    - README.md

Now the problems seems to be, that this is not always working as it should.

Highlighted
Ground Controller Lvl 1
Message 18 of 29

Re: index.html not working

thanks this worked great!

Highlighted
Ground Controller Lvl 1
Message 19 of 29

Re: index.html not working

Thanks for the tip with the permalink.  It worked right away.

Highlighted
Ground Controller Lvl 1
Message 20 of 29

Re: index.html not working

FWIW, for those (other) newbs out there, I found that if you have an existing repo, what they don't mention in the GH Pages tutorial, is you just need to to go to settings in the repo, then scroll down to the Github Pages section, and then set the (master) branch (this is disabled by default), and save it.

This should create a page you can then goto in the browser. 

 EDIT: theme is optional - I left it off. 

 

See photos for visual guide. 

 

 

settings github.JPGset branch.JPG