Register   Login
     
  Latest Posts  
Dark background skin
by craig on 7/04/2009 5:55 AM
RE: Trial peroid
by glenwin on 7/04/2009 4:45 AM
RE: Different skin for View Item?
by cchufook on 7/03/2009 10:29 PM
RE: Different skin for View Item?
by swebster on 7/03/2009 10:10 PM
Different skin for View Item?
by cchufook on 7/03/2009 8:13 PM
RE: Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:26 AM
RE: Friendly URL and DNN4.8.0 ?
by Madz on 7/03/2009 11:25 AM
Human friendly URL not working--Urgent
by Madz on 7/03/2009 11:11 AM
RE: Google Sitemap Revisited
by georgelew on 7/03/2009 4:26 AM
RE: Strange error in PropertyAgent Latest
by smcculloch on 7/03/2009 3:39 AM
  Forums  
Subject: title in url change
Prev Next
You are not authorized to post a reply.

Author Messages
IvanUser is Offline
Gold Membership
Nuke Addict
Nuke 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
Nuke Wiz
Nuke Wiz
Posts:135


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
Nuke Addict
Nuke 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
Registered Users
Nuke Master
Nuke Master
Posts:333


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
Nuke Master
Nuke Master
Posts:14659


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
Gold Membership
Nuke Master
Nuke Master
Posts:977


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

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
Déclic VidéoUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:977


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

Non linear video editing software, tips and tricks, tutorials... Déclic Vidéo FX
bchapmanUser is Offline
Registered Users
Nuke Active Member
Nuke 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
Nuke Master
Nuke Master
Posts:14659


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
Gold Membership
Nuke Master
Nuke Master
Posts:977


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

Non linear video editing software, 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