For some reason, we have one page that is suddenly requiring a trailing slash or it fails:
With a trailing slash, it loads fine:
The equally strange problem is we discovered the issue due to the Search Results (the second one, circled in green, has a trailing slash and works):
What in the world?
From the localhost_access_log:
192.168.0.31 - - [12/Mar/2019:10:49:35 -0500] “GET /xwiki/bin/view/Main/Employee%20Terminate%20Procedure HTTP/1.1” 302 -
My guess is that you did 2 renames
I still don’t understand how all other pages (that I tested) work with or without a trailing backslash, but this page does not. A redirect will cause that?
There’s no problem with trailing slash…
As I said, the error is the redirect. Check the text of the error, you’ll see… EDIT: you even highlighted it in yellow: ERR_TOO_MANY_REDIRECTS.
Just to be clear, check the redirect on the page and paste a screenshot here. Or just fix it.
Are you saying that these are 2 different pages, one with the slash and without it? Otherwise, I still don’t understand.
check the redirect on the page
How do I do that if the page will not load?
(I just realized I keep typing backslash and not slash, doh)
Yes, they are different!
One has a reference of A
and the other a reference of A.WebHome
(EDIT: the trailing /
is equivalent of /WebHome
).
Where do you see that? Am I blind?
Also, looked at my redirects (https://www.xwiki.org/xwiki/bin/view/FAQ/How%20do%20I%20remove%20a%20redirect ) and this page is not listed there.
laurin1:
Where do you see that?
Just edit by manually crafting the URL and replace “view” by “edit” and then use the object editor to edit it.
Wait a second. Weird, if I search redirects by title using “terminate”, no results, but if I search location by “terminate”, I get one result.
But why does the redirected page still show up in search results? More importantly, will removing the redirect fix that as well?
Never mind, it did. Thanks.
Cool.
Would be interesting to have the use case that lead to this creation of the wrong redirect but I have the feeling this is a known issue. Couldn’t find it though.
Related issues: