Trailing slash in url give "page not found"

jmn - September 27, 2006 - 17:05
Project:Go - url redirects
Version:4.7.x-1.x-dev
Component:Code
Category:support request
Priority:minor
Assigned:Unassigned
Status:closed
Description

If the GO statement looks like this, I'll get a database entry, but when I click the link it ends up with a "page not found" and the click counter is not incremented.

<go href="http://idebanken.se/mattias/" target="new">http://idebanken.se/mattias/</go>

When I remove the trailing slash ("/") everything works great!
<go href="http://idebanken.se/mattias" target="new">http://idebanken.se/mattias/</go>

#1

l8a - January 25, 2008 - 16:23

I noticed the same.
But I think this is because "global redirect" module does strip all leading slashes away. Do you have installed that?
If - I would suggest you check each item, before it got inserted into the gotwo db, if it contain a leading slash, and if - remove it.
Maybe this could be added as an configuration option in future, would be nice.

#2

hass - August 17, 2009 - 23:03
Category:bug report» support request
Status:active» fixed

Sounds not like an issue of the GoTwo module. If the URL gives you an 404 you need to find out why the server gives you an 404

#3

System Message - August 31, 2009 - 23:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.