New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dataverse URL - Page Not Found (404 Error) w/ Trailing Forward Slash #3130
Comments
Related #4196 |
This is an honest 1, for once.
(this is in |
I don't think we should encourage people to use invalid urls. A trailing back slash kind of makes sense on the end of a url; a single mismatched parenthesis? - not really. |
Added mapping for dataverse url with trailing slash. This now allows for the user to navigate to both There was some concern about duplicate content, but that was alleviated by @landreev who claimed his work in Here is what the Google Webmaster Central Blog said on Wednesday, April 21, 2010 in the To slash or not to slash post.
|
Correct - I don't think duplicate indexed content is a problem in our case. Google bot will only index "/dataverse/foo" and "/dataverse/foo/" separately, if it has some way to discover both urls. I don't think it should be possible to ever get to "/dataverse/foo/" by crawling the site. Plus, our current approach is to specifically discourage the bots from crawling the site (i.e., from following the search and facets links); and instead we want to make them go straight to the pages we advertise via the sitemap. The sitemap never uses the "/dataverse/name/" notation - only "/dataverse/name". |
(the only times I saw google bot try to access "/dataverse/name/" was when I specifically sent it there, via their search console) |
Added mapping for dataverse url with trailing slash [ref #3130]
Came across this minor navigation issue recently. When there is a trailing forward slash at the end of a dataverse URL, you get a 404/Page Not Found error.
Good:
https://dataverse.harvard.edu/dataverse/mra
Bad:
https://dataverse.harvard.edu/dataverse/mra/
Other sites that I've tested this one, forwards you from one to the other. I found a related post on the Pretty Faces support forum with a potential solution.
The text was updated successfully, but these errors were encountered: