Quick Nav:  Online Store   |   Login | Register

301 Redirects for old blog posts

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Rodney
<100 Posts
Posts:86


08/13/2008 7:46 AM  

Hi John,

It's been a while since I bothered you ;)

I recently moved from the old blog module to the Ventrian NEws Mod for blogging.

I had some records in the Ventrian tables already, so when I imported the blog data the ID's changed.

For example -

http://test.pokerdiy.com/Home/PokerBlog/tabid/483/EntryID/80/Default.aspx

is the same as

http://www.pokerdiy.com/blogs/featured-poker-blogs/articletype/articleview/articleid/207/please-welcome-partypoker-to-pokerdiy-starting-off-with-a-200-freeroll.aspx

I have about 60 old blog posts which are showing up in Google Sitemaps as problems - what would you recommend I do to redirect the old ones to the new ones?


thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
Rodney
<100 Posts
Posts:86


08/17/2008 5:09 PM  
Hey John, just bumping this in case you didn't see it!

thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
John Mitchell
Posts:3471


08/18/2008 7:33 AM  

Hi Rodney,

Sorry for the delay.  I have a new method for doing 301 redirects.

I have attached the new version here (not yet released).  There is a sample ResourceLocationTable.config file in the attachement.  You can use that as a guide to inserting items in your own ResourceLocationTable.config file to do the redirects.

There is some information about the new method here: 301 redirects using PageBlaster


Attachment: 1818333018571.zip

Rodney
<100 Posts
Posts:86


08/31/2008 9:19 PM  
Hi John,

Ok, finally got round to this issue again - is the attached version the latest? I'll give it a go..

thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
Host Account
<250Posts
Posts:104


08/31/2008 9:41 PM  
Yes, it is the latest.
Rodney
<100 Posts
Posts:86


08/31/2008 10:33 PM  

Thanks John - I tried it but I am not sure if it is working. Here is my config file:

It's a bit confusing because I am using URL Master for friendly URLs: I want the old entry:

http://www.pokerdiy.com/Home/PokerBlog/tabid/483/EntryID/75/Default.aspx

to go to the new page:

http://www.pokerdiy.com/blogs/featured-poker-blogs/articletype/articleview/articleid/202/pokerdiycd-poker-freeroll-league--tourney-10-results.aspx

URL Master converts http://www.pokerdiy.com/Home/PokerBlog/tabid/483/EntryID/75/Default.aspx

to http://www.pokerdiy.com//pokerblog/entryid/75.aspx (which is not found) so I put this in my Config file but it seems to have no effect.

  
            url="http://www.pokerdiy.com/blogs/featured-poker-blogs/articletype/articleview/articleid/202/pokerdiycd-poker-freeroll-league--tourney-10-results.aspx"
            method="PermanentRedirect" isPattern="False" />
   
            url="http://www.pokerdiy.com/blogs/featured-poker-blogs/articletype/articleview/articleid/202/pokerdiycd-poker-freeroll-league--tourney-10-results.aspx"
            method="PermanentRedirect" isPattern="False" />
   
            url="http://www.pokerdiy.com/blogs/featured-poker-blogs/articletype/articleview/articleid/202/pokerdiycd-poker-freeroll-league--tourney-10-results.aspx"
            method="PermanentRedirect" isPattern="False" />

 

I put this file in the \bin folder - have I missed anything?


thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
Host Account
<250Posts
Posts:104


08/31/2008 10:38 PM  
The resourcelocationtable.config file goes in the PageBlaster config folder which is DesktopModules/Snapsis/PageBlaster/Config by default.

I'm not sure how the Url Master will affect it. It will depend on if Url Master does a rewrite before PageBlaster gets a look at it though.
Rodney
<100 Posts
Posts:86


08/31/2008 10:45 PM  
Ah, I see - ok, yes, that works great now when I moved the config file.

thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
Rodney
<100 Posts
Posts:86


09/02/2008 12:09 AM  
Sorry, quick question John - are there any recommendations for the number of redirects to put in this file? I have a 100 old URLs - will this impact performance?

thanks
Rodney Joyce
Smart-Thinker.com - DotNetNuke Modules for Social Networks
PokerDIY.com - Simple Poker Leagues
John Mitchell
Posts:3471


09/03/2008 1:09 PM  
It should be very fast even with 100 or more because it is coded to look it up with an index as long as you are not using a pattern (i.e isPattern="True").
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > 301 Redirects for old blog posts



ActiveForums 3.7
Powered by: Snapsis Software