Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Chris - sorry, another newbie question for you! I've got the niceUrl extension working as expected, so it links through without the dates appearing in the Url. However, going to the Url results in a 404. How do I hook up the 404 handler in your code to the web app? I couldn't seen any instructions on how to do this?
There is a config file at config/404handlers.config.
An entry should have been written in there similar to
<NotFoundHandlers> <notFound assembly="AutoFolders" type="NotFoundHandler"/></NotFoundHandlers>
Yep, that's there... but I'm still getting the 404?
I've set the TruncatedFolderUrl to "hardware/". The niceUrl outputs "hardware/the-name-of-the-content" but I can only actually access the page via "hardware/2009/09/09/the-name-of-the-content"
Any ideas? Thanks for your help Chris, much appreciated.
ahh, try switching on on '.aspx' extensions... shouldn't be an issue, but lets rule it out.
Just tried turning it off, and going back to .aspx urls, but the same problem still occurs.
If it's easier, I'd be happy to give you admin access to the admin console - we're only in very early stages so there's nothing valuable in there!
You can get in touch via james at developerfusion dot com
Try specifying a TruncatedURL
<?xml version="1.0" encoding="utf-8" ?><Settings> <FolderProviders> <FolderProvider alias="DateFolder" assembly="/bin/AutoFolders" type="AutoFolders.Providers.DateFolderProvider" TruncatedFolderUrl="folder-1/folder-2/newsitems">
The TruncatedFolderUrl should be the path to the parent node (not including domain name).
I've already set the TruncatedFolderUrl property to "hardware/" (which is the path to the parent node).
Chris, sorry, I've figured it out. The trailing slash was the problem - if I remove it everything works fine.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted