CONNECT WITH US

Featured Post

IIS 7 : Redirect domain.com to www.domain.com

Get article update by Email
IIS URL Rewrite extensions enables web administrator to enforce powerful rules to transform complex URLs into simple and consistent Web addresses. As well it also helps to produce user and search engine friendly URLs.

In this post, we will examine how we can use IIS URL Rewrite extensions to redirect domain.com to www.domain.com. For more information on how to connect to remote website through IIS read my previous post. As we all know that by default we can access website with or without WWW. For e.g. browsing nandipmakwana.com and www.nandipmakwana.com will open same website. This means there are two different web addresses are available for one website and hence website’s SEO ranking will be distributed between these two addresses. To overcome these SEO ranking distribution, we can force all web traffic to redirect either domain.com or www.domain.com. Google web masters tool also allow web master to set preferred domain for indexing website URLs.

So conclusion is that redirecting all web traffic to only one primary domain or canonical domain can improve SEO ranking. Following is the step to achieve same with IIS.

Connect to website through IIS manager and click on URL Rewrite icon.

In Actions pane click on Add Rules.

In Add Rules dialog box click you can find several predefined rule template. Click on canonical domain name template under search engine optimization section.

It will open dialog box to select primary domain for website. Choose appropriate options.
Press ok. You have done it. Now all your web traffic will be redirected to primary domain you have selected. And you can see added rewrite rule in list pane. But just using predefined rule template is not enough for web administrator. We should also dig into rule settings done by this rule template. For examine settings of created rule select rule in list pane and double click on it or click on Edit Rules link in Action Pane.
It will open edit inbound rule window. Scroll down to bottom of window. There you will find Action sections. In action sections, there is one drop down named Action Type. Default value of Action Type is redirect. Expand Action Type drop down to see different actions available for this rule.
And below action type drop down there is another drop down Redirect Type. Default value of this is Permanent (301). Expand drop down to see list of available other redirect type.

Setting redirection type Permanent (301) will cause to send HTTP 301 status code and then after it will redirect to primary domain. So search engine can index appropriate URLs.
Read More

Connect to remote site through remote IIS manager

Get article update by Email
I was about to blog how we can redirect domain.com to www.domain.com (redirecting can improve SEO ranking, tune to next post for more detail) in IIS 7. But before that I thought let me first blog how to connect with remote website through IIS manager. Before proceeding with this tutorial we need to download IIS Manager for Remote Administration and of course windows hosting account which allow remote IIS management. After installing IIS Manager for Remote Administration open IIS Manager by typing inetmgr in Run window. In connection pane of IIS manager click on Create New Connection button. There are three different options. Click on Connect to a Site…

It will open new dialog box for connecting to remote website. In that dialog box enter server name and website name (which can be obtained from hosting control panel or contact hosting provider).

Clicking on next will ask for credentials for connecting to website.

After providing credentials when you click next, you might get server certificate alert depends on connecting server certificate. If you get one then click on connect if you trust connecting server.

On successful connection, it will ask for connection name. Provide connection name and click on finish button.

On connection, you might get following dialog asking to install server feature. This is the list of server feature which is not available on your local machine. If you want to manage / configure that feature through remote IIS then you must install it on your local machine.

After that you can see list of IIS feature available. Now you can configure it.

If you have any query regarding this or any other IIS feature then do let me know in comment thread so I can blog about it.
Read More