Can anyone help with a problem.
I have used wordpress on my Blog for a couple of years without having this problem.
The problem is that with the permalinks set to Custom Structure: /index.php/%post_id%/%postname%/ the 'older entries' link doesn't work and it adds in another "Index.php" (blog/index.php/
Index.php/page/2/) into the url when clicking on the 'older entries' link from the 'home page of the wordpress blog. IF going to
any category and clicking on older entries it works fine.
I realy like the use of this custom structure for seo purposes as it gives the title/url keyword strength.
My Wordpress guy has emailed me to say that having changed the permalinks setting back to 'default' the older entries link works fine and that it is a server issue. But the default permalink setting is poor in terms of seo.
This is the reply that I have received from Wordpress guy.
I believe this is a permalink problem that is occurring because you're hosting wordpress on a windows server. Is there any way you could switch your hosting to a linux or unix server?
I changed the permalinks to the default, and the older entries link works fine. However, if you have a lot of links to the posts, or if others are linking to your posts, the links will break. To change it back, go to Settings > Permalinks and add this in the Custom Structure: /index.php/%post_id%/%postname%/
You can ask your host if they use mod-rewrite. See [codex.wordpress.org...] for more details.
I know this doesn't help much, but it's a windows server thing, not anything specific to the theme. I find it hard to believe that this is server issue due to being on a Windows server. Can anyone else advise? (this also means that previously written blog posts of at least one a day when found in search engines don't work as the post link is not valid)
The following is the code from the index.php
<?php get_header(); ?>
<div id="content">
<?php include_once(ABSPATH.'wp-content/themes/greenwidget/sidebar-left.php'); ?>
<div class="main">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p class="postmetadata">Posted on <?php the_time('F jS, Y'); ?> by <?php the_author(); ?> in <?php the_category(', ') ?> » <?php comments_popup_link('No Comments', '1 Comment ', '% Comments'); ?> <?php edit_post_link('» Edit', '', ''); ?></p>
<div class="entry">
<?php the_content(); ?>
</div>
<p class="postmetadata"><?php the_tags('Tags: ', ', ', ''); ?> </p>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>