简体   繁体   中英

Sharepoint 2007 Page Redirection Issue

I have an issue in Sharepoint 2007. Can someone please suggest a solution for the same. Below is the issue.

  1. We have a sharepoint site and it redirects to "sitename"/pages/default.aspx by default. So my first task is to stop this redirect and just display the sitename without pages/default.aspx in the URL.

  2. If the users are typing sitename/pages/default.aspx , we also need to make the redirect of sitename/pages/default.aspx to sitename

I am able to solve point 1 using ISAPI Rewrite 3 tool. But when I use the same tool for point 2, I am getting circular reference error.

Thanks.

I can't see the rules you have now, but please try to use the following ones:

RewriteBase /
RewriteRule ^pages/default\.aspx$ /? [NC,R=301,L]
RewriteRule ^$ /pages/default.aspx [NC,L]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM