Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Alcock 113 posts 176 karma points
    Nov 09, 2016 @ 12:47
    Peter Alcock
    0

    Hi all,

    Ive ran an SEO checker on my site and it states the IP address doesn't redirect to the domain.

    Could someone advise how to do this? The umbraco site is hosted with ukwindowshostasp.net/ and my access is limited to using Plesk, FTP etc

    If it was an apaches server i understand i would use the htaccess file, does umbraco have it's own way of doing this or?

    The website is www.thegreatgatecompany.co.uk and the IP address is 5.10.111.113

    Thanks Pete

  • nehakakar 14 posts 84 karma points
    Jul 10, 2023 @ 22:32
    nehakakar
    0

    IP address redirect to the domain is not good idea on today day to day uses and search engine respective
    Redirecting the IP address to the domain might introduce an additional redirect step for users, which can slightly slow down the browsing experience. however you can till redirect ip to domain now, Here are the way you can achieve it. Edit web.config then Inside the

    <rewrite>
      <rules>
        <rule name="Redirect IP to domain" stopProcessing="true">
          <match url=".*" />
          <conditions>
            <add input="{HTTP_HOST}" pattern="^5\.10\.111\.113$" />
          </conditions>
          <action type="Redirect" url="http://www.thegreatgatecompany.co.uk/{R:0}" redirectType="Permanent" />
        </rule>
      </rules>
    </rewrite>
    

    Good luck

Please Sign in or register to post replies

Write your reply to:

Draft