Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Accessing home page by /

Accessing home page by /

  • Serge avatar

    Posted on Feb 17, 2011 (permalink)

    Hi,

    Input: I've created home page with name index.aspx

    When i'm trying to open site by domain name (for ex. site.com) - Sitefinity redirect me to site.com/index.aspx
    How can I keep site.com (without home page name) ?

    Thanks in advance.

    Reply

  • Serge avatar

    Posted on Feb 17, 2011 (permalink)

    Resolved by modifying following line in web.config:

    <cms defaultProvider="Sitefinity" pageExtension=".aspx" disabled="false" redirectToHomePage="false">

    I've added redirectToHomePage="false" and it works now.

    Reply

  • Justin avatar

    Posted on Nov 25, 2011 (permalink)

    Hi all,
    I've also wanted to fix this issue and have done so by implementing the code below.  The problem I have now is that the dynamic navigation controls still link to the ~/home URL which I've solved by added a 301 from ~/home to the root domain, but now I can't edit the page in the backend.

    Is there a way to explicityly redirect when the url is ~/home, but NOT when the url is ~/home?cms

    The code I'm using to redirect is currently this:
    <system.webServer>
      <rewrite>
        <rules>
          <rule name="0B" stopProcessing="true">
            <match url="home" ignoreCase="false" />
            <action type="Redirect" url="http://domain.com" redirectType="Permanent" appendQueryString="false" />
          </rule>
        </rules>
      </rewrite>

    I've tried adding  patternSyntax="ExactMatch" to the <rule> but that doesn't help.

    Any ideas?

    Thanks,

    Reply

  • Netfinity avatar

    Posted on Jan 24, 2012 (permalink)

    Hi,
    Cqan someone from Telerik comment on this please? I have loads of SEO professionals on my case about this problem. They all want client websites to have one home page at say www.mywebsite.com rather than www.mywebsite.com/home.aspx.

    Is there a workaround in SF 3.7? Does SF 4.4 handle this?

    Thanks in advance

    Reply

  • Jen Peleva Jen Peleva admin's avatar

    Posted on Jan 27, 2012 (permalink)

    Hello guys,

    This functionality is not available out-of-the-box at the moment. Since it is considered valuable I've logged it as a feature request in our system and we'll make sure to implement it in our future releases. You can track the progress of the feature, following the PITS link.
    As a workaround you can use a URL rewriter like this open source UrlRewrite module - UrlRewrite.net.

    All the best,
    Jen Peleva
    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

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Accessing home page by /