how to handle bookmarked pages #7747
-
|
Hi. This is my first attempt at using a staticsite generator and with docusaurus. I got the sample site working, built it and deployed to my test domain online. All the links are working but when I bookmark a child page/link or even open the link in a new window, I keep getting a 403. I am using GoDaddy windows based hosting. Following is a sample URL which when accessed directly returns a 403. However if I navigate from the left nav, I am able to get to the page with no issues. Any help/guidance is appreciated. Thanks!! trying below in browser returns 403 trying below brings up the sample site |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
I think it has something to do with your server configuration. Usually, when you visit a URL say https://docusaurus.io, the server shows the index file in that directory i.e., https://docusaurus.io/index.html by default. In your case, the server is not doing that. You can see that if you append |
Beta Was this translation helpful? Give feedback.
I think it has something to do with your server configuration. Usually, when you visit a URL say https://docusaurus.io, the server shows the index file in that directory i.e., https://docusaurus.io/index.html by default. In your case, the server is not doing that. You can see that if you append
index.htmlto your URLs (e.g., http://www.techwithme.net/dinodocsite1/docs/tutorial-extras/translate-your-site/index.html), it's working. By any chance, did you change or the default configuration is set to look for another default index file (say,index.php)? There should be option in your hosting settings.