Thread Starter
icekid
(@icekid)
Sorry I was trying something else.. Can you check it out now? The first post doesn’t work. Second works, third doesn’t.
Roy
(@gangleri)
Sorry, I don’t see why some posts get a 404 on single view and the other ones don’t. It doesn’t seem to be the “permalinks”. Are you perhaps meddling with page templates for different posts?
Thread Starter
icekid
(@icekid)
No.. But that template was a custom template
Roy
(@gangleri)
Does it help when you switch to default?
(Oh, and my other remark is only possible for pages, so that can’t be it.)
Thread Starter
icekid
(@icekid)
It works properly with other themes..
Roy
(@gangleri)
That’s a clue. The best thing I can think off now is to check if the custom theme uses other code for the “permalinks” than default and if you can use the latter for the first…
Here’s default: <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
This is from my theme: <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
Little can go wrong there, but it won’t hurt to check. Hopefully somebody has a better suggestion.
Thread Starter
icekid
(@icekid)
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
Where should this be?? In index.php??
Roy
(@gangleri)
It’s probably already there (or something similar). Just compare that with what’s in your own theme, see if it differs and if it does, try the code above and see if that helps. Of course make sure to keep an original copy of the index.php in case something goes wrong.