Added react-router and just a Home page and Page404 to the router. When I navigate to the declared homepage: https://rockchalkwushock.github.io/rcws-development/ I am first being directed to my Page404.
I thought that it was possibly because in the router I have 2 paths / & *:
export default () => (
<Router history={browserHistory} onUpdate={logPageView}>
<Route path='/' component={App}>
<IndexRoute component={Home} />
</Route>
<Route path='*' component={Page404} />
</Router>
);
Seeing that my homepage is pointing to /rcws-development/ I thought perhaps this was the issue; because when I use the redirect button on the Page404 I'm sent to https://rockchalkwushock.github.io/. So I changed my homepage: https://rockchalkwushock.github.io/ but no such luck. I then get Github's 404.
I followed the instructions from the README and went to the following repository after reading that gh-pages does not natively support front-end routing. However I still am first being directed to my Page404 upon visiting the website.
Any ideas why this is? Link to repo
Added
react-routerand just aHomepage andPage404to the router. When I navigate to the declaredhomepage: https://rockchalkwushock.github.io/rcws-development/I am first being directed to myPage404.I thought that it was possibly because in the router I have 2 paths
/&*:Seeing that my
homepageis pointing to/rcws-development/I thought perhaps this was the issue; because when I use the redirect button on thePage404I'm sent tohttps://rockchalkwushock.github.io/. So I changed myhomepage: https://rockchalkwushock.github.io/but no such luck. I then get Github's 404.I followed the instructions from the README and went to the following repository after reading that gh-pages does not natively support front-end routing. However I still am first being directed to my
Page404upon visiting the website.Any ideas why this is? Link to repo