Mono Support why all the urls has a "/" at the end ? 

Viewed 13377 time(s), 2 post(s), 7/30/2012 1:11:29 AM - by super
7/30/2012 1:11:29 AM
6018 Reputation 709 Total posts

These days the url is an important thing and it needs to be simple especially profile url something like "www.domain.com/Name" but monoX profile urls are like this "http://monox.mono-software.com/profile/MarkT/"

Why this "/" at the end ? any way to get rid of it ? I know monoX is webforms based, is that the reason ?

Why this does not work "http://monox.mono-software.com/profile/MarkT" ? (even if anyone do not put "/" sign at the end, it should work ? any thoughts ?

1
7/30/2012 5:57:22 PM
3016 Reputation 428 Total posts

Hi super,

someone from our support team will provide you with more details regarding url rewriting rules, but in meanwile you can enable url rewriting rule as per your choice and it will work without "/" at the end:

old:
 
 
<rewrite url="^(.*)/profile/(.*)/(\?(.+))?$" to="$1${SocialNetworkingFolder}UserProfile.aspx?UserName=$2&$4" name="Profile" urlPattern="/profile/{UserNameUrlEncoded}/"/>

new:
 
 
<rewrite url="^(.*)/profile/(.*)/?(\?(.+))?$" to="$1${SocialNetworkingFolder}UserProfile.aspx?UserName=$2&$4" name="Profile" urlPattern="/profile/{UserNameUrlEncoded}/"/>

This is an example for user profile url rewriting.

Regards.


2
This is a demo site for MonoX. Please visit Mono Software for more info.