I have an issue in Sharepoint 2007. Can someone please suggest a solution for the same. Below is the issue.
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.
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.