+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Accessing home page by /

Accessing home page by /

5 posts, 0 answered
  1. Serge
    Serge avatar
    8 posts
    Registered:
    06 Feb 2009
    18 Feb 2011
    Link to this post
    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.
  2. Serge
    Serge avatar
    8 posts
    Registered:
    06 Feb 2009
    18 Feb 2011
    Link to this post
    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.
  3. Justin
    Justin avatar
    13 posts
    Registered:
    31 Aug 2011
    25 Nov 2011
    Link to this post
    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,
  4. Netfinity
    Netfinity avatar
    11 posts
    Registered:
    15 Nov 2006
    24 Jan 2012
    Link to this post
    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
  5. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    27 Jan 2012
    Link to this post
    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
Register for webinar
5 posts, 0 answered