Friendly URL problem

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/25/2010 4:44:06 PM
Gravatar
Total Posts 190

Friendly URL problem

Hi Joe,

I just updated code form svn yesterday and I'm seeing a new problem where the friendly URLs are getting munged. My current version is 2.3.4.0 MSSQL. When I click on certain links (only seems to be a half dozen or so) I get a page not found. In the system log I'm finding errors like this:

The file '/bike-options.aspx-options.aspx' does not exist.

for a file with a friendly URL of '/bike-options.aspx'. I've checked the page settings and URL manager and everything seems to be as it should. Any idea what might be causing this?

thanks,

John

In addition, I was thinking it might have something to do with the dashes in some of these links, but I'm also seeing in the system log some errors like: The file '/northstar.aspx.aspx' does not exist.

3/26/2010 12:46:05 AM
Gravatar
Total Posts 550

Re: Friendly URL problem

Hi Joe,

I have the same problem for some Presian characters.

Best,

Asad

3/26/2010 8:06:24 AM
Gravatar
Total Posts 18439

Re: Friendly URL problem

Hi John,

Nothing has changed in the Url Re-writer or SiteMap logic in a long time and I'm not seeing any similar issues. If you are seeing incorrect urls in your menu is the site online where I could see it?

If you are just seeing this in your logs and not finding bad links in the menu then it is probably just web bots making up munged urls based on real urls and poking at your site looking for hidden pages or who knows what. I often see 404s in my logs that are clearly from things that manipulate the urls. One very common one I see is that I have some javscript here and there for tracking clicks in google analytics, like for ad clicks I track it as a page view in google analytics using a made up page url that doe snot exist and bots often see those urls in the javascript and try to crawl them but they are not real pages. I also see requests where urls are munged from different pages or sections or are completely made up.

Asad,

Persian characters may not always work for urls, I try to support it but your mileage may vary and behavior of urls with Persian characters can be different in different browsers as discussed here (see the links on this page):

http://www.mojoportal.com/non-ascii-urls.aspx

there are lots of issues with non-ascii characters in urls

Changes may also occur from Windows Updates to IIS or to IE.

Hope it helps,

Joe

3/26/2010 1:22:38 PM
Gravatar
Total Posts 190

Re: Friendly URL problem

Hi Joe,

This is not just what I'm seeing in the system logs. The menu links are broken and go the 'file not found' page. If I type in "default.aspx?pageid=n" it will go to the page. But if I type in "northstar.aspx" is goes to file not found and the system log has and entry for 'northstart.aspx.aspx' in the file not found error message. All the page names and URLs look correct in the URL manager on on the pages. Do you have any idea where else something may have gotten mucked up that could cause this for the friendly URLs?

thanks,

John

3/26/2010 2:50:11 PM
Gravatar
Total Posts 190

Re: Friendly URL problem

Oh! My bad! I started using a redirect component for folder name redirects (as I mentioned in another post) and that is what is causing my pain now. If I find a way to make them work happily together, I'll post an update. (no mojoPortal bug here.)

John

3/30/2010 11:52:15 AM
Gravatar
Total Posts 190

Re: Friendly URL problem

See here

You must sign in to post in the forums. This thread is closed to new posts.