Very strange permalink error
-
Hi there,
today I noticed a very very strange error in permalinks. I’m using the latest PL & WP versions. I have published an article that is assigned to a category. The permalink structure looks like /%category%/%postname%/.
On my homepage I display 5 posts. The simple code looks like:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post() ?> <? the_permalink() ?> ...Now the strange: ONLY the first call of the_permalink() ignores the permalink structure. All other are working as expected. Several times I’ve updated the structure and made a manual rewite flush etc. I also created and deleted posts with different categories etc. Allways the same problem.
I’m pretty sure it hase to to with PL, because after deactivation everything works fine. But now I have really no idea what is happen and how it can be fixed.
Does anybody has an idea please…?
The topic ‘Very strange permalink error’ is closed to new replies.