I hope I can explain what I mean... I was trying to create a site which only has users as content for now. It's built with nodeprofile, advanced_profile as well as some cck fields and taxonomy terms added to the content type "profile". The problem is, when a search is done or I want to display all posts in a certain taxonomy term, then the links go to the profile node, not the fancy user profile. There is a nodeprofile_search module which could be a workaround for my search results, but what about the taxonomy terms? I think there should at least be the option, to always have the profile node redirected to the user profile. Unless I am thinking in a totally wrong direction, which is also totally possible *lol*

Comments

Michelle’s picture

Status: Active » Postponed (maintainer needs more info)

This is what I use:

// We don't ever want to go to the nodeprofile itself. Always redirect to the user page.
if (arg(0) == "node") { 
  drupal_goto("user/$node->uid", NULL, NULL, 301);
}

Michelle

aschiwi’s picture

Thank you Michelle, that works great!

Michelle’s picture

Status: Postponed (maintainer needs more info) » Fixed

Great!

Michelle

Anonymous’s picture

Status: Fixed » Closed (fixed)

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