I've just spent a frustrating couple hours trying to figure this one out. I can't seem to find an answer to my trouble, and I hope someone will know how to help out.
I'm using pretty urls. And I'm getting two different URIs for an individual post, depending on how I'm loading the page.
If I click on the title, I would get a link such as /mysite.com/getting-there/. But if I click on the read more link, I get /mysite.com/getting-there#more-78/
Obviously 78 is the post ID. I want the URI to be the same, regardless of how the visitor gets to that page.
I'm not sure how to modify the readmore function, or if that's even the thing I need to modify. Any ideas would be greatly appreciated.
Here's the bit of code that brings the offending behaviour:
<h3>" rel="bookmark"><?php the_title(); ?></h3>
<?php the_content("Continue reading the " . the_title('', '', false) . " article"); ?>
The previous obviously lives in the Loop :)
Thanks again for any assistance.
p.s. I can't seem to be able to post the code without the system munging it all up. Frustration. It's 3am, I'm going to bed, I'll try to figure out how to post code without it getting munged after I slept some.