22 Jan 2009
30 Jan 2009
Link to this post
Hi everyone. I'm hoping you can help me out.
I've set up a small test site with Sitefinity:
Both aspx pages above are set up as normal pages, and "States" and "StateName" are pagegroups.
What I need to set up is this:
1. "/states/StateName" redirects to "/states/StateName/default.aspx"
2. "/states/StateName/" redirects to "/states/StateName/default.aspx"
I set up a /404.aspx page in the site root, and I redirected the HTTP 404s there like the user manual said to do on page 285. (I found this a little confusing because the user manual didn't say to do anything else for this)
Trying #1 and #2 above, I got redirected to my /404.aspx page, and that's it.
I then tried to set an additional URL in the properties of "/states/StateName/default.aspx" to go to "/states/StateName" and "/states/StateName/". Neither were accepted, with an error that I can only specify unique URLs.
Trying #1 and #2 above again, I got redirected to my /404.aspx page again, and that's it.
Then I set up the URL Rewriting as described on the user manual on page 257. I made this rewrite rule:
...which didn't work, even after restarting IIS. /404.aspx page again.
What am I missing here? The extensionless url page in the manual only tells you how to set up a custom 404 page. Did you forget to put in the rest of the instructions, or are they elsewhere in the manual?
Thanks in advance for your help,