Register   Login
     
  Latest Posts  
PM page head in red
by jsw on 3/13/2010 3:12 AM
RE: Error #2038 on image upload
by smcculloch on 3/13/2010 3:11 AM
RE: Error #2038 on Upload Images
by smcculloch on 3/13/2010 3:07 AM
RE: Cannot Install News Agent
by smcculloch on 3/13/2010 3:06 AM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by Irashan on 3/13/2010 1:04 AM
Cannot Install News Agent
by Jim on 3/13/2010 12:57 AM
RE: News Articles Tokens
by DirtyDogHosting on 3/12/2010 7:18 PM
RE: News Articles Tokens
by pspeth on 3/12/2010 1:50 PM
RE: News Articles Tokens
by ray-isc on 3/12/2010 12:23 PM
RE: News Articles Tokens
by DirtyDogHosting on 3/12/2010 12:14 PM
  Forums  
Subject: News Articles 301 Redirect
Prev Next
You are not authorized to post a reply.

Author Messages
Mike CoxUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:246


11/22/2008 11:52 AM  

Hi Scott,

I tend to frequently move content from static sites into DNN and I generally use Ventrain modules for it. How hard would it be to make a 301 redirect satellite module that integrates with News Articles and Property Agent. 

Here is my vision:

When adding an article or property, there will be a field to be filled in called Prior Location.

Then you could have a redirect module that can be added to a site that automatically sends the user of the old address (that does not exist anymore) to the new location with a 301 redirect so that Google will still index the page.

Mike

Steven WebsterUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:444


11/22/2008 1:22 PM  
That's a sweet idea Mike.

Steven Webster
Overlook Technologies
Mike CoxUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:246


11/22/2008 2:22 PM  

Scott, I am willing to sponsor development if this projects tweaks your interest

Steven WebsterUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:444


11/22/2008 2:47 PM  
I wrote a custom 404handler that we used for this on DNN. It looks up a cross reference in SQL to translate and redirect from the old url to the new. (it also works for things like www.mydoman.com/products still showing the right page).

It's a simple ASPX file that sits in the root of your DNN portal, but it does require some IIS configurtion to use a custom handler which may not work well for hosted solutions.

In may case there was no interface for the url mapping, we just inserted it via scripts but it would be easy to handle using NA.

I would be happy to donate the code if it helped.

Steven Webster
Overlook Technologies
Mike CoxUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:246


11/22/2008 3:16 PM  

I have my own hardware, so I am free to try your script and would love to give it a try.

You are not authorized to post a reply.
Forums > General > Lobby Center > News Articles 301 Redirect



ActiveForums 3.7