Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

When URL rewriting is implemented then the left navigation is not highlighting the selected link.

Example:

Actual Link - /company/pages/home.aspx
Rewriting Link - /company/home

When using the Rewriting Link I can click on it and it will work fine but the navigation item is not selected. When using the Actual Link the navigation item is selected but clicking on it leads to "page not found" because the url rewriting is applied. Any help?

share|improve this question
    
Might it have to do with the rewritten link not having an extension that matches? –  ghangas Feb 4 '13 at 18:20

1 Answer 1

SharePoint itself is unaware of the rewriting that is being applied. When it goes to see if the active page should be highlighted, the URL of the page doesn't match what SharePoint "thinks" is the URL of the page.

The only way to resolve this would be to write your own navigation control to handle this -or- use some JavaScript to setup the active link with CSS.

share|improve this answer
    
To add to this, this is why this type of URL Rewriting is not supported within SharePoint. –  Trevor Seward Feb 14 '13 at 2:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.