Register   Login
     
  Latest Posts  
Resouce Files
by IMISOFT on 3/17/2010 5:59 PM
RE: BUG So many 404's with rssbutton.gif
by smcculloch on 3/17/2010 4:30 PM
BUG So many 404's with rssbutton.gif
by greenflash on 3/17/2010 2:45 PM
RE: thumbnails and W3C validation
by greenflash on 3/17/2010 2:38 PM
RE: Dual PA modues on site for different levels of access?
by robax on 3/17/2010 1:38 PM
RE: Where is the NA Latest Article Module setting stored?
by ray-isc on 3/17/2010 1:10 PM
RE: Where is the NA Latest Article Module setting stored?
by Declic Video on 3/17/2010 12:46 PM
RE: News Article Detail and Lightbox
by ray-isc on 3/17/2010 10:57 AM
News Article Detail and Lightbox
by spirit on 3/17/2010 10:09 AM
Gallery Upload control not showing
by rward on 3/17/2010 10:07 AM
  Forums  
Subject: title in url change
Prev Next
You are not authorized to post a reply.

Author Messages
IvanUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:99

8/07/2008 11:52 AM  

I like the new change - always including the title in the url.

what will happen though to the ones that were indexed by google without the title in it....would it redirect to the new url??

Tom KraakUser is Offline
Gold Membership
Ventrian Wiz
Ventrian Wiz
Posts:142


8/07/2008 1:39 PM  
I've been looking forward to this fix as well.

I doubt though that the module will take care of the redirect, so we may end up with duplicate content issues .... I'll report back after some testing.

Tom Kraak
Seablick Consulting LLC
DNN SEO Quickstart Guide
IvanUser is Offline
Gold Membership
Ventrian Addict
Ventrian Addict
Posts:99

8/07/2008 2:04 PM  
Tom, what's up man?? Gotta call you to catch up.

I will actually take duplicate content over the old urls not working at all. Not sure that duplicate content is actually that important - google must be smarter than that!:)
Rodney JoyceUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:478


8/07/2008 4:03 PM  
Scott, as per Tom's comments - can you confirm if you are handling the 301 redirect? I had the same issue when I did this and added some code to check if it was the old URL and redirect to the new one if it was - makes our lives a lot simpler so we don't have to set up PB rules... (I can give code if need be)

Thanks
Rodney
Smart-Thinker & The DotNetNuke Directory
PokerDIY - Free tools and leagues for home poker players
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17192


8/07/2008 4:29 PM  
I can implement the 301 redirect, my major concern is a url rewriting scheme that is not the core or does not include default.aspx.

Sure, let me know what you did Rodney (support@ventrian.com)

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1280


8/08/2008 11:39 PM  
Does the iFinity module URL Master can be used for the 301 redirect in this particular case ???
DV FX

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1280


8/11/2008 8:55 AM  
I have seen that Google is duplicating content... Two different URL for the same content,not good...
To my opinion, there is only solution today, setting manually iFinity URL Master to do a 301 redirect...
But it takes long, on my website, I have hundreds of artricles...
Someone know a regex expression to do this ???

DV

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
bchapmanUser is Offline
Gold Membership
Ventrian Active Member
Ventrian Active Member
Posts:32

8/11/2008 4:43 PM  

If I can just stick my nose in here - it will be easier if you handle the redirect in the module code.

You shouldn't need to worry about which Url rewriter is being used, if you just use the Friendly Url Provider API to come up with the destination Url in the way you normally do.

The basic logic would be (when page is requested, and not a postback) :

- construct url as you would expect it for the current article (ie /articleid/1/my-article-name.aspx)

- compare this with the original, incoming Url (get this from the context).  If the end of the url (everything after the page name/ tabid) doesn't match what you would expect, then do a 301 redirect to the url you do expect.  When I say 'compare the end', I mean, ignore the http://domain.com/pagename/tabid/xx/ part of it.  You really just want to make sure that the 'my-article-name.aspx' was on the end of the original Url.

There's probably a bit more to it if you have things like page numbers and the like to worry about, as well as when people have friendly Urls turned off.  You might find it easier to inspect the rewritten query string, or perhaps to use a regex pattern to work it out.

- Doing it like this would also have the side benefit of forwarding Urls if you decide to change the title of the article after it has been indexed.   Ie, I decide to change 'my article name' to 'my article keyword name'.  Then, all old versions of the article that were indexed (/my-article-name.aspx) would be forwarded to the new one (/my-article-keyword-name.aspx)

Scott, feel free to send me an email if you need me to expand, but I'm sure you're on top of it.


iFinity DotNetNuke Modules
Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17192


8/11/2008 4:48 PM  
Hi Bruce,

I know what you mean, I hadn't thought of calling the friendly url provider and doing a compare.

Scott McCulloch
Site Administrator
Déclic VidéoUser is Offline
Registered Users
Ventrian Master
Ventrian Master
Posts:1280


8/12/2008 1:18 AM  
Would be great, because following the latest NA release, I have this morning plenty of duplicate entry into Google Webmaster tools... Not good from a SEO point of view.

If you can do this 301 redirect, that would be one of the most wonderful release !!!!
DV FX

Pinnacle Studio, proDAD and Boris FX tips and tricks, tutorials... Déclic Vidéo FX
You are not authorized to post a reply.
Forums > Modules > News Articles > title in url change



ActiveForums 3.7