Can we redirect node/NODE-ID/view to it's aliased path?

Comments

mstrelan created an issue.

BeatnikDude’s picture

I see this issue as well, links in the form /node/NID#/view are not properly redirected.

I could not see clearly where the disconnect is and added the following at line #110 in the globalredirect.module for a quick fix:

// if current path is node/NID#/view change to node/NID#
if (preg_match( "/(node\/)([0-9]+)(\/view)\z/", $current_path)) {
	$current_path = substr($current_path, 0, -5);
}