Sign in to follow this  
qwertymodo

Page redirection inconsistency wrt trailing forward slashes

Recommended Posts

The various pages on this site seem to be quite inconsistent in their handling of trailing forward slashes in the URL. It seems to be consistent for each section of the site, but the sections are inconsistent with each other. For instance, forgetting the slash on a remix page results in a 404 error, but artist profile pages result in a 404 when it's PRESENT. Also, some sections support redirection if all you know is the id of the target, and not the name, such as http://ocremix.org/game/1 (works with or without the slash at the end...), whereas other sections don't redirect but just load the correct page, such as http://ocremix.org/album/1 (doesn't work with a slash) which loads the same as http://ocremix.org/album/1/final-fantasy-vii-voices-of-the-lifestream (also doesn't work with a slash). This is currently making my life a bit miserable trying to get my Android app for the site working...

Here's a full list:

Album Pages

http://ocremix.org/album/1/final-fantasy-vii-voices-of-the-lifestream Works

http://ocremix.org/album/1/final-fantasy-vii-voices-of-the-lifestream/ 404 Error

http://ocremix.org/album/1 Works

http://ocremix.org/album/1/ 404 Error

Artist and Artist Group Pages

http://ocremix.org/artist/1/yuzo-koshiro Works

http://ocremix.org/artist/1/yuzo-koshiro/ 404 Error

http://ocremix.org/artist/1 404 Error

http://ocremix.org/artist/1/ Redirects to http://ocremix.org/artist/1/yuzo-koshiro

Game Pages

http://ocremix.org/game/1/mega-man-nes Works

http://ocremix.org/game/1/mega-man-nes/ 404 Error

http://ocremix.org/game/1 Redirects to http://ocremix.org/game/1/mega-man-nes

http://ocremix.org/game/1/ Redirects to http://ocremix.org/game/1/mega-man-nes

Organization Pages

http://ocremix.org/org/1/sega Works

http://ocremix.org/org/1/sega/ 404 Error

http://ocremix.org/org/1 Redirects to http://ocremix.org/org/1/sega

http://ocremix.org/org/1/ 404 Error

Remix Pages

http://ocremix.org/remix/OCR00001 404 Error

http://ocremix.org/remix/OCR00001/ Works

Source Song Pages

http://ocremix.org/song/1 Works

http://ocremix.org/song/1/ 404 Error

System Pages

http://ocremix.org/system/arc 404 Error

http://ocremix.org/system/arc/ Works

Edited by qwertymodo

Share this post


Link to post
Share on other sites

Thanks a lot for being so thorough here. Going above and beyond in laying it out definitely helps. :-) Can't promise a quick fix, but djp is looking at getting this working consistently.

EDIT (3/24): As of last night, this is now fixed. Thanks again for laying the issues out so well.

Edited by Liontamer

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this