#tantekben_thatmustbeme: re: "my code doesn't return it as a redirect, it returns the same content as i treat them as the same URL" - I agree with gRegor` - you should redirect rather than serving duplicate content - which gets penalized by search engines