I have popular a group list on the homepage:
<
MonoX:PopularGroupsList
runat
=
"server"
ID
=
"NewGroups1"
CacheDuration
=
"600"
PagingEnabled
=
"false"
MaxDescriptionChars
=
"90"
AvatarSize
=
"20"
PageSize
=
"5"
RewritePageTitle
=
"false"
></
MonoX:PopularGroupsList
>
The initial problem was that if any user click on any group, the group page never opens and the rewrite rule keep the user on homepage so putting group list on homepage creates this problem and obviously if groups are on homepage, the users might wanna click on it.
So solve the problem,
I changed this:
<
rewrite
url
=
"^(.*)/(.*)/GroupView/(.*)/(.*)/(\?(.+))?$"
to
=
"$1/$2.aspx?GroupId=$3&$6"
name
=
"GroupView"
defaultPage
=
"/MonoX/Pages/SocialNetworking/Groups.aspx"
urlPattern
=
"/{PageName}/GroupView/{ShortId}/{Slug}/"
/>
To this:
<
rewrite
url
=
"^(.*)/(.*)/GroupView/(.*)/(.*)/(\?(.+))?$"
to
=
"$1/$2.aspx?GroupId=$3&$6"
name
=
"GroupView"
defaultPage
=
"/MonoX/Pages/SocialNetworking/Groups.aspx"
urlPattern
=
"/MonoX/Pages/SocialNetworking/Groups/GroupView/{ShortId}/{Slug}/"
/>
Now the problem is, if I search for any Group in search, the group page do not open from the search results, I click on it and I stays on the search result page and nothing happens (nothing is in log file).