Url Rewriting in sitefinity 4.0

Posted by Community Admin on 03-Aug-2018 15:35

Url Rewriting in sitefinity 4.0

All Replies

Posted by Community Admin on 08-Mar-2011 00:00

Hi all,

Please send a documentation link to get good idea about url rewriting.

Thanks
Rafiq.

Posted by Community Admin on 09-Mar-2011 00:00

Hello Jmr,

Thank you for contacting Telerik Support.

That's a tough one - currently we do not support a built-in URL rewriter in 4.0. What you can do is to utilize a UrlRewriter such as this one and provide rewrite rules for the old URLs.

I hope this information helps. Please let me know if I can assist you any further with this service request. Thank you in advance.

All the best,
Boyan Barnev
the Telerik team

Posted by Community Admin on 18-May-2011 00:00

Does the solution of adding a URL rewriter such as the one described still hold true for version 4.1?

Posted by Community Admin on 24-May-2011 00:00

Hello Christopher,

Yes, this solution is still relevant for the 4.1 version.

All the best,
Georgi
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 26-Jun-2011 00:00

Has anyone had any luck with the Intelligencia Rewriter and Sitefinity 4.1? I've followed the documentation verbatim with no luck. I'm using IIS 7.0, AppPool 4x Integrated. 

Any help setting this up would be great. I'm a bit surprised Sitefinity 4x didn't include this functionality :(

Matt

Posted by Community Admin on 27-Jun-2011 00:00

I've only ever used UrlRewritingNet and now have it working in my development 4.1 site. When you setup the intelligencia rewriter did you make sure to add the rewriter tags to the <system.webServer><modules> section of web.config? I initially neglected to add the module there and the rewriter didn't work while running in IIS 7.5. After adding the rewriter tag to the modules section and adding "runAllManagedModulesForAllRequests" to the modules tag the rewriter began working. Also don't forget that the rewriter tag needs to be in the <httpModules> sub-section under <system.web> too.

Looks something like this...

<system.Web>
    <httpModules>
<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter"/>
    </httpModules>
</system.Web>
<system.webServer>
        <modules runAllManagedModulesForAllRequests="true">
<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter"/>
        </modules>
</system.webServer>

Posted by Community Admin on 27-Jun-2011 00:00

Chris,

Thanks for the heads up, I'll bail on the Intelligencia rewrite and try UrlRewritingNet in my solution.

Thanks,
Matt

Posted by Community Admin on 05-Jan-2012 00:00

Telerik Support,

I've been combing the forums looking for answers on url re-writing in Sitefinity 4.2 and have found several different answers.  What we are trying to accomplish is this.

We currently have http://testsite/info/testpage.  We are able to reach this published page.  In the Page Properties for testpage, under Additional URLs (one per line), I added  "~/testpage.aspx", saved and re-published the page.  This produces a 404 when we try to navigate to testsite/.../testpage.aspx.  What *exactly* needs to happen to allow the page to be reachable by extensionless url AND a url with an extension?

Thank you.

Mark

Posted by Community Admin on 05-Jan-2012 00:00

Hello Mark,

Please excuse us for the inconvenience caused. Since we are currently working ont he *.aspx additional URLs support, I'd suggest you using a URL rewriter. You can take a look at  http://urlrewriter.net/ , I believe it meets the desired criteria. Another option might be using the IIS built-in URL Rewrite module, which can also be configured to detect the *.aspx request and transform it in Sitefinity 4.x friendly URL names.

All the best,
Boyan Barnev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 18-Jan-2012 00:00

Hi all

 i need a URL rewrite rule for the following url .
The Original URL is 
www.abc.com/option.ASPX#portal
and after URL rewrite the URL is
www.abc.com/portal
can any one help me.

Posted by Community Admin on 15-May-2012 00:00

Has support been added for 5.0 using a built in re-writer? We are converting a 3.7 module that implemented "CmsHttpModuleUrlRewrite", but have NO idea on what to use now. 

This is critical to our uprade, so any help is appreciated.

Posted by Community Admin on 15-May-2012 00:00

Has support been added for 5.0 using a built in re-writer? We are converting a 3.7 module that implemented "CmsHttpModuleUrlRewrite", but have NO idea on what to use now. 

This is critical to our uprade, so any help is appreciated.

Posted by Community Admin on 16-May-2012 00:00

http://www.iis.net/download/urlrewrite

This is the re-write module for IIS 7+

I use it for both URL re-write and re-direct requirements of SF-5

This thread is closed