Admin Option to Combine Pages With and Without Trailing Slash In Reports

Avatar

Avatar

jaydge

Avatar

jaydge

jaydge

08-11-2010

It would be really nice to be able to make

 

www.example.com/page/

and

www.example.com/page

 

be able to combine on one line since they're obviously the same page.

 

It's generally impossible to completely get rid of one or the other because some browsers report the URL differently, and users with no Javascript cannot have the URL changed before being submitted.

 

Thanks!

JD

2 Comments (2 New)
2 Comments

Avatar

Avatar

vidya05925

Avatar

vidya05925

vidya05925

08-11-2010

Hi there,

 

I use the s.pageName variable to track the relative URL but for dashboards i use a sprop with a user-friendly page name. That way, you can have a work around for your issue.

 

Hope that helps,

Vidya Subramanian

Avatar

Avatar

jaydge

Avatar

jaydge

jaydge

09-11-2010

Thanks Vidya,

 

Actually I believe what is happening is that the GetPageName function in s_code.js returns without the trailing slash in some browsers.

 

I might override this by always populating the pageName variable from server-side code and never allowing Javascript to determine it.