you only see it like that when you copy and paste.
if you want to edit the permalinks
edit a page
above the editor is a spot to edit the permalink
save permalink
save page
ah yes… true, but the quotes are still there in the actual URL. Click on it, you’ll see.
I know I can edit the permalinks manually, but once things are published, it’s too late as there will be inbound links, etc…
pretty permalinks are generated from the page and post titles – so if you use quotes, they will naturally be in the url
That’s ridiculous. Quotes are often useful in titles, but I can’t believe wordpress would allow them in a URL. Isn’t it just common sense to avoid dodgy characters in URLs like that? It knocks out spaces, why can’t it knock out odd characters? Is there a plugin or something floating around for this?
To elaborate, here are the specs for URLs:
http://www.blooberry.com/indexdot/html/topics/urlencoding.htm
Quotes and other non-alphanumeric characters are not allowed in URLs unless encoded. I realize that most modern browsers let you get away with it, but many times, if a machine processes that URL it’ll return an error.
I’m not trying to be a smart-ass, just wondering how this slipped through vis a vis wordpress and whether there’s a way around it. I’ve been looking for a plugin, but can’t find anything.
Okay… in case anyone else wants to take a whack at this. Here’s an example of a wordpress site that doesn’t seem to have the problem:
http://cleantechnica.com/2009/07/31/could-fossil-free-fossil-fuels-be-in-our-future/
I’ve emailed them but have not heard back. I find it very hard to believe those authors are painstakingly removing the quotes from the permalink so there must be something automated going on.
Any thoughts?
nickaster,
You could always alter the permalink when creating a new post using the permalink field just under the title.
Yeah but that’s not realistic – especially with dozens of writers of varying technical prowess and commitment. It’s also the kind of thing people will constantly forget to do. I’m just stunned that WP would permit this as a default given that it successfully knocks out spaces etc…
I’d like to see a solution for this also.
I’ve had the same issue with no fix to this besides telling the writers to watch the permalinks before pressing publish.
Well I just can’t believe that a project like wordpress, with all its attention to detail would permit URLs to be created that contain quote marks. I think this would qualify as a bug in the software!
So… progress.
This guy says his site automatically gets rid of the quotes:
http://wordpress.org/support/topic/299650?replies=3
Then I tested again on my site, and the dang thing works!!! The only thing I can think of is that someone might have been using those blasted “smart quotes” that MS Word spits out.
So I tested that. Sure enough, the quotes are now in the URL.
%#(*@%(# Microsoft!!!
At least the mystery is now solved. Thanks to all who helped.