Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
Punctuation in URLs, URLs are wrongly including punctuation such as periods and parentheses
post Dec 27 2009, 17:37
Post #1

Group: Members
Posts: 12
Joined: 31-May 06
From: London, UK
Member No.: 31325

Hello, all.

Google's webmaster tools suite is reporting an ever-larger number (currently 22) of incorrect links pointing to my site, and most of them originate from the Hydrogenaudio forums. I think the problem is that the forum software is trying to automatically turn plain (not marked up) text into URLs, and is accidentally including the punctuation after the URL ends, such as periods and end-parentheses or end-brackets. Because this sends users to my site (and I'm guessing that other webmasters are seeing the same thing) looking for a page that ends with ".html)" or ".html." instead of just ".html", the user gets a 404 "Not found" error page.

I've now tarted up my error page so that my site does its best to guess where the user is trying to get to, and offers them a valid link. So it's not so much a problem for me now, but it probably harms Hydrogenaudio's reputation in search engines, because the web crawlers will likely report that the forums contain dud links.

So I wondered whether there was a way to tweak the HA forum software so that it tested whether its best-guess at what constitutes a URL actually is valid or not.

I did search to see whether this had been mentioned before, but didn't find anything. If this has been covered here at length before now, please point me to the relevant thread and accept my apologies.
Go to the top of the page
+Quote Post
post Dec 27 2009, 21:19
Post #2

Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158

Well there is code in the forum software to automatically clean up URLs when they end with punctuation characters, but it works for trailing .,?! only.
Also it doesn't prevent something like ".html..." anyway.

Full-quoting makes you scroll past the same junk over and over.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 28th November 2015 - 08:54