Migrate Joomla to DNN from a SEO perspective

joomla-seoRecently I had to migrate an old Joomla website to DNN. Because there are not so many pages inside, I decided to convert the pages manually and everything was fine. But what should I do with all the links to the old Joomla website out there in the wild ? The site is running for nearly 8 years now and there are a lot of links. Forgetting about that and loosing all the page ranks is a no go for this website. Fortunately I found an easy solution for this :

I found a blog entry from Bruce Chapman (ifinity URL Master) who is dealing with this, but using URL Master was in this case no option for me.

My first try was to use the internal URL Rewriting possibilities in DNN. Everything in Joomla is routed through “index.php” (similar to DNN “Default.aspx”), so my first attempt was Copying default.aspx to index.php, create a handler in IIS for .php similar to .aspx, include** index.php** in IIS standard docs  to achieve that DNN gets the requests to all the old Joomla links. Next I tried to add some Friendly Url rewriting rules in the host settings of DNN. Result was: Does not work!

I had to rethink my solution. First I reverted all my dirty tricks (that also destabilized my system). Perhaps it would be easier to let DNN how it is and handle all this with the original programming language of joomla: PHP ! The only backdraw is that I have to install PHP on my webserver but the footprint is really small so I checked out this solution. And after fondling 2 hours with my new index.php that I placed in the DNN root folder, everything works like a charm!

So this is my index.php:

header("HTTP/1.1 301 Moved Permanently");

$option = $_GET['option'];

if ($option == "com_content" || $option == "content")
	$id = $_GET['id'];
	$item = $_GET['Itemid'];

	if ($id == "82") { header("Location: http://www.auktionsbuddy.de/ShopBestellen");}
	else if ($id == "71") { header("Location: http://www.auktionsbuddy.de/Auktionsbuddy.aspx");}
	else if ($id == "72") { header("Location: http://www.auktionsbuddy.de/Auktionsbuddy/Auktionenerfassen.aspx");}
	else if ($id == "73") { header("Location: http://www.auktionsbuddy.de/Auktionsbuddy/ControlCenter.aspx");}
	else if ($id == "74") { header("Location: http://www.auktionsbuddy.de/Auktionsbuddy/Mailbox.aspx");}
	else if ($id == "75") { header("Location: http://www.auktionsbuddy.de/Auktionsbuddy/Rechnungen.aspx");}
	... all the other content redirects ...
	else { header("Location: http://www.auktionsbuddy.de/Default.aspx");}

else if ($option == "com_regbuddy")
	header("Location: http://www.auktionsbuddy.de/BoxRegistrierung.aspx");
else if ($option == "com_remository")
	header("Location: http://www.auktionsbuddy.de/Downloads.aspx");
else if ($option == "com_registration")
	header("Location: http://www.auktionsbuddy.de/Login.aspx");
else if ($option == "com_easyfaq")
	header("Location: http://www.auktionsbuddy.de/FAQs.aspx");
else if ($option == "com_virtuemart")
	$category = $_GET('category_id');
	if ($category == "30") { header("Location: http://www.auktionsbuddy.de/Artikelliste/tabid/139/productgroup/6/Default.aspx");}
	if ($category == "29") { header("Location: http://www.auktionsbuddy.de/Artikelliste/tabid/139/productgroup/4/Default.aspx");}
	... all the other shop categories ...
	else { header("Location: http://www.auktionsbuddy.de/ShopBestellen");}
	header("Location: http://www.auktionsbuddy.de/Default.aspx");

This could by easy adopted for other php cms systems and does not harm your DNN system. Hope this helps someone who faces the same problem one day.

Total: 9 Comment(s)
cheap essay writing services
I like this post. It look compliment about this blog is incredibly positive I visit this blog first time and motivate by this well done work. Mind blowing post keeps up posting such great data. What's more, it is more helpful to everyon.Thanks for sharing here. You can utilize this custom essay writing service administration for any sort of scholastic written work. Our written work benefit is having encountered specialists for making a wide range of undertakings is capable way. In this exposition composing administration has band of journalists work with them and they are qualified, imaginative and energetic about writing to help students with all their article writing necessities. These essayists in the organization are prepared frequently and courses are led for them by industry specialists.
Friday, July 13, 2018 · reply ·
Vincent Smith
App Cloner for Android is an application that will allow you to make exact copies of any app on your smartphone or tablet. https://appcloner.xyz/">https://appcloner.xyz/
Tuesday, August 7, 2018 · reply ·
Charles Bates
Monday, August 13, 2018 · reply ·
Awesome post about also check it Blog! https://towelroot.me/apk/">Towelroot
Wednesday, August 29, 2018 · reply ·
Thank you for such a wonderful post!https://towelroot.me/apk/">Towelroot android app
Friday, September 14, 2018 · reply ·
Asjuriyam has 3 stars evaluations in this site. In the profile portrayal, he discussed the self-insurance gadgets of last resort key pens. These sort of gadgets, however, I should state that such gadgets great to utilize. Well! https://www.rush-my-essay.com/ offering the chance to getting help to understudies. Such a significant number of understudies require help in the arrangement of a task.
Wednesday, October 17, 2018 · reply ·
Thank you for sharing the post. I'm glad to find this information here instagram https://www.websta.one/ it's very helpful for me to know this insight.
Thursday, December 20, 2018 · reply ·
Lydia G. Phillips
I love your blog and Cowardice is a trait wherein fear and excessive self-concern override https://prowritingpartner.com/6dollaressay-com-review/ doing or saying what is right, good, and of help to others or oneself in a time of need—it is the opposite of courage. As a label, "cowardice" indicates a failure of character in the face of a challenge.
Sunday, April 7, 2019 · reply ·
Most Motte
Such a nice post and thanks to share it with us. By the way, i work for http://xplormedia.com/ where we provide SEO service.
Tuesday, April 9, 2019 · reply ·


Torsten WeggenMy name is Torsten Weggen and I am CEO of indisoftware GmbH in Hanover, Germany. I'm into DNN since 2008. Before this, I did a lot of desktop stuff mainly coded with Visual Foxpro (see http://www.auktionsbuddy.de). 

I'm programmer, husband, father + born in 1965.

Please feel free to contact me if you have questions.

Latest Posts

DNN module development with Angular 2+ (Part 7)
6/10/2018 1:43 PM | Torsten Weggen
DNN module development with AngularJS (Part 6)
12/16/2016 7:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 5)
12/16/2016 6:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 4)
12/16/2016 5:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 3)
12/16/2016 4:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 2)
12/16/2016 3:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 1)
12/15/2016 7:19 AM | Torsten Weggen
Blogging in DNN with Markdown Monster by Rick Strahl
11/27/2016 1:14 PM | Torsten Weggen
Creating a global token engine
11/18/2016 10:25 AM | Torsten Weggen
DnnImagehandler - Hot or not ?
2/21/2015 11:52 PM | Torsten Weggen

My Twitter

Torsten Weggen 3/17/2019

You can make a real difference in Abir ’s life. Join me on @Kiva https://t.co/NlCTgIAZAN

Torsten Weggen 2/2/2019

As a freelance developer I often get invites from headhunters. This one should be very interesting... https://t.co/CNrEXBTBuJ

Torsten Weggen 10/11/2018

Evernote or OneDrive user and love #markdown #markdownmonster ? Take a look at Joplin! https://t.co/4bzkiD6CHn