|
Yes, we're aware that some articles had problems but it's been hard to reliably find them
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Is it not possible, in your 404 error page, to check the requested URL and if it ends with article.asp and equivalent article.aspx exists, suggest that one or automatically redirect to that page?
Old links in other websites don't work. We know how to solve the issue, but those who are new to CP don't.
// "In the end it's a little boy expressing himself." Yanni
while (I_am_alive) { cout<<"I love to do more than just programming."; }
|
|
|
|
|
We do exactly this and way more. We have 19,000 redirects in place and go as far as ensuring that even querystring values are corrected and replaced so that old bookmarked messages should still get you to the right place.
If you find an old link that's busted let me know and I see why it isn't in the list. I did another run through yesterday and found 42 that were missing. There are also a couple dozen posted around early December that I think may be missing but haven't had a chance to check
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Hi Chris.
Chris Maunder wrote: If you find an old link that's busted let me know
This didn't work: http://www.codeproject.com/KB/system/cserialcom.asp[^]
[modified]Spotted in this article: http://www.codeproject.com/KB/system/gps_support.aspx[^][/modified]
Chris Maunder wrote: why it isn't in the list.
Is there any reason to have a list? I'm new in ASP.net and was wondering to just get the URL and change the .asp with .aspx in the string and make (something like) a file exists , or similar .net file command, call locally and if it found, then redirect. This seems to have a problem that caused you to maintain a list. Would you please tell me the trick or reason?
// "In the end it's a little boy expressing himself." Yanni
while (I_am_alive) { cout<<"I love to do more than just programming."; }
modified on Friday, March 14, 2008 3:26 PM
|
|
|
|
|
The reason is that the entire section list for the site changed which meant articles were moved to different directories, and some sections were split so that some articles from the same directory were moved to different directories.
http://www.codeproject.com/KB/system/cserialcom.aspx[^] won't work because this was never a valid URL in the first place. The correct original URL is http://www.codeproject.com/system/cserialcom.asp[^] which is redirected correctly.
Our problem is that we have some article links that are relative to a section and so do not appear in our redirection table. We'll fix this
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Hi Chris.
Thanks for your information. You're right the second link works. maybe the author of the article who provided the link, updated the link and forgot to change extension to .aspx.
Thank you.
// "In the end it's a little boy expressing himself." Yanni
while (I_am_alive) { cout<<"I love to do more than just programming."; }
|
|
|
|
|
Hamed Mosavi wrote: forgot to change extension to .aspx
No problem. I think the CP 404 handler is really very versatile and magically transforms the classic ASP links onto the current ASP.NET framework hyperlinks.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Did I break it?
I'm having trouble navigating beyond the first page
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Checked your date filter?
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Ack, indeed
My brand-new post didn't show up on the first page and page 2 was empty.
Switching filter from 3 months to 6 months fixed it.
Thanks Chris,
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
CPHog sees to be looking for a missing image at http://www.codeproject.com/script/Membership/Uploads/20101/greasebob_small.png. This seems cause pages where there are lots of posts from CPHog users to stall, sometimes showing a script timeout notification in FF 2.0.0.12
|
|
|
|
|
Testing editing Last modified: 74hrs 36mins after originally posted -- this is a test
led mike
|
|
|
|
|
Yeah, I turned off CPHog and the problem went away immediately. The CPHog script is thrying to put a "cphog user" image next to the user icons for those of us that use it. Sadly, the image is not at the cp directory where it's looked for, so the script has to time out once for each cphog user...
|
|
|
|
|
Well the image is there today but I still got that message once so far today. It seems they are related but even with the image available the problem is not completely eradicated. I guess I can live with it because round tripping to get an edit screen is very very annoying.
led mike
|
|
|
|
|
Editing is all screwed up now. It doesn't import the orginal post or subject and if you don't do it yourself it completely overwrites the original post. Guess I'll start a new thread.
led mike
|
|
|
|
|
Hey I think it's the timed page update ajax mechanism causing those script timeout errors.
Is this part of CPHog or CP? Is it configurable? I don't see anything in my CP settings. Can I shut it off?
led mike
|
|
|
|
|
I haven't been able to view the VB.Net forum for at least two weeks. Everytime I try I get this message:
-- Unable to load messages due to high load or server error. Please try again --
I've tried different times of the day and several times in a row....nothing. Is there something else I can try to fix this? I use IE7 and have accessed the forum many times on this same machine before...
I would appreciate any help.
|
|
|
|
|
I've had a similar problem. I can view your VB forum (though why I would want to is a mystery ) but I can't view Vista.
Judy
|
|
|
|
|
I played around with it a little more...when I switched from showing just the posts from "Last Day" to showing "All" I was able to see the forum.
|
|
|
|
|
Interesting. I was using "Last month" and when I switched to "All" I could see my troublesome forum as well.
Judy
|
|
|
|
|
JudyL_FL wrote: Interesting
Very.
I'd always naively assumed that the All option would actually tax the server harder than a time limited range.
Otherwise [Microsoft is] toast in the long term no matter how much money they've got. They would be already if the Linux community didn't have it's head so firmly up it's own command line buffer that it looks like taking 15 years to find the desktop.
-- Matthew Faithfull
|
|
|
|
|
Try configuring the Date Filter as "Last Week ".
Maxwell Chen
|
|
|
|
|
We all know VB is slow...
(Sorry - it was a joke just sitting there, helpless, ready for the taking...)
Sounds like it's just a high load situation but I'll check the caching and make sure it's set OK
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
In my latest article I use the word BYTE enclosed in CODE tags. When viewed on CP, the word BYTE had this sick blue-green color, even though it was enclosed in CODE tags (which I thought would always produce dark red color).
To get around this I divided BYTE into two pieces, with no space, each piece enclosed in CODE tags.
|
|
|
|
|
BYTE is defined as a known word (not a keyword, but as a VIW, very important word) so gets colourised the way the IDE colorises it. Anything in a CODE or PRE tag gets colourised unless you use "lang=text"
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|