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
Hello,
So i am using web forms umbraco 6. Client wants to beautify the urls for seo purposes.
I have been looking for hours how to do this but to no avail.
I know this is possible in webforms in global asax: Now i need to do this in umbraco.
routes.MapPageRoute("Support-HelpBlog-FilterYear",
"help/filter/date/{year}",
"~/Support/Help.aspx",
true,
null,
new RouteValueDictionary { { "year", @"\d{4}" } },
new RouteValueDictionary { { "section-name", "help-page" } });
then Support/Help.aspx exists in the umbraco content tree.
Please help. thank you
Hi avatart0ph
Have you tried looking at the /config/UrlRewriting.config file where you can add rewrites? As I understand your question this is what you're looking for.
Hope this helps.
/Jan
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco WEBFORMS page rerouting
Hello,
So i am using web forms umbraco 6. Client wants to beautify the urls for seo purposes.
I have been looking for hours how to do this but to no avail.
I know this is possible in webforms in global asax: Now i need to do this in umbraco.
routes.MapPageRoute("Support-HelpBlog-FilterYear",
"help/filter/date/{year}",
"~/Support/Help.aspx",
true,
null,
new RouteValueDictionary { { "year", @"\d{4}" } },
new RouteValueDictionary { { "section-name", "help-page" } });
then Support/Help.aspx exists in the umbraco content tree.
Please help. thank you
Hi avatart0ph
Have you tried looking at the /config/UrlRewriting.config file where you can add rewrites? As I understand your question this is what you're looking for.
Hope this helps.
/Jan
is working on a reply...