free blog engine hosting

BlogEngine SEO Permanent Redirection From Old URL To New URL

by Jitendra Singh 1. April 2011 16:32

Many people asked me this question that they have changed some Post or Page URLs which are already indexed in Google search engine and interlinked to some posts and now after changing the URL the new URLs are not working anymore. Also many people want to migrate their blog from blogspot or wordress to Blogengine.Net but they are afraid of downgrade of their blog PR because they think that their old URL will not work.

Yes it is true that on changing the URL your all old URL will stopped working but guys you don’t need to be afraid of it, we have a very quick solution of this problem.

Spicelogic has created a blogengine SEO redirection extension which redirect your old URL to new one. What all you need to do is to map the old URL with new URL using simple two steps.

Prior to mapping the URL you first need to install and copy the SEO redirection extension to your app_code folder. Download SeoRedirection.cs (2.12 kb) from here, as I have updated it as per the latest blog engine version. Also you can get it from the original source Spicelogic and modify it accordingly to latest blogengine.

How To Install BlogEngine SEO Redirection Extension:

1. Download “SeoRedirection.cs”.

2. Copy “SeoRedirection.cs” file to “App_Code/Extensions” folder as per below screenshot.

SEORedirection 3. Make sure newly copied extension is available in the blog engine extensions list.

blog engine seo redirection extension enable

4. Ok now the last thing which you need to do it to paste the following line in web.config file under httpmodules and module as per the highlighted text – “<add name="SeoRedirector" type="SeoRedirector, App_Code"/>”

    <httpModules>
      <add name="WwwSubDomainModule" type="BlogEngine.Core.Web.HttpModules.WwwSubDomainModule, BlogEngine.Core"/>
      <add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite, BlogEngine.Core"/>
      <add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule, BlogEngine.Core"/>
      <add name="ReferrerModule" type="BlogEngine.Core.Web.HttpModules.ReferrerModule, BlogEngine.Core"/>
      <add name="SeoRedirector" type="SeoRedirector, App_Code"/>
      <!--Remove the default ASP.NET modules we don't need-->
      <remove name="PassportAuthentication"/>
      <remove name="Profile"/>

And

    <modules>
      <remove name="ScriptModule"/>
      <add name="WwwSubDomainModule" type="BlogEngine.Core.Web.HttpModules.WwwSubDomainModule, BlogEngine.Core"/>
      <add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite, BlogEngine.Core"/>
      <add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule, BlogEngine.Core"/>
      <add name="ReferrerModule" type="BlogEngine.Core.Web.HttpModules.ReferrerModule, BlogEngine.Core"/>
      <add name="SeoRedirector" type="SeoRedirector, App_Code"/>
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    </modules>

Now you are done with the installing the SEO extension. This is the one time task that you need to do to enable the SEO redirection to your project.

How To Map Old URL To New URL:

1. Go to blog engine extension list and click on the tool next to the SEORedirection extension and then click on the edit menu from the context popup menu as per below screenshot.

blog engine seo redirection extension edit

2. Now add your old URL and new URL and click on Add. Once you done here your old URL will start working immediately with out any delay.

blog engine seo redirection mapping old url and new url

Please let me know if you feel any issue while following the above steps. Meanwhile you can subscribe to BlogEngineWall, join us on Facebook or follow us on twitter to keep yourself updated with latest news.

Contact us if you would like to migrate your blog from Blogspot or from Wordpress to BlogEngine.Net with out loosing your indexed pages.

Comments (5) -

Brian Davis
Brian Davis
4/3/2011 6:43:16 AM #

Make sure you use "Http://" in front of the urls to make it work.

Reply

Admin
Admin
4/4/2011 4:30:42 PM #

Exactly Smile

Actually SEORediretor blogengine extension match absolute URI with the URI that user provide in the extension. So if is matched then it replace it with new URL else not.

Hence if you miss a single "/" even then it wont work.

Reply

Yogendra
Yogendra
5/9/2011 6:44:32 AM #


Old Url: http://www.domain.com/blog/?page=1

New Url: http://www.domain.com/blog/

not working.Please suggest.

Reply

Soan
Soan
9/21/2011 4:29:22 AM #

The extension looks good but it is really difficult and time consuming to go and add all the old links and map them to new ones. If i have around 1000 old posts, it is going to take me good amount of time to map all of them.
Also, I am not really sure if redirection is considered good by Google or not. But i think it is ok to do redirect and Google will not degrade your site rankings as per this article.

Do you know of any extension which does this task of mapping old and new ones automatically?

Reply

Cristian
Cristian
11/4/2011 4:11:40 AM #

how to change this

http://localhost:52457/BlogEngine.NET/default.aspx

in
this ?
http://localhost:52457/default.aspx  

Reply

Pingbacks and trackbacks (1)+

Add comment




biuquote
  • Comment
  • Preview
Loading


Adverts

follow us

facebooktwitter rss

Featured Stories

{#advanced_dlg.about_title} {#advanced_dlg.about_title} {#advanced_dlg.about_title}

Recent Posts

RecentComments

Comment RSS

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2011