Welcome to WebmasterWorld Guest from

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Older Entries 'Link' doesn't work on custom structure



11:08 am on Sep 9, 2011 (gmt 0)

5+ Year Member

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(', ') ?> &raquo; <?php comments_popup_link('No Comments', '1 Comment ', '% Comments'); ?> <?php edit_post_link('&raquo; Edit', '', ''); ?></p>
<div class="entry">
<?php the_content(); ?>
<p class="postmetadata"><?php the_tags('Tags: ', ', ', ''); ?> </p>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
<?php endif; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>


1:30 pm on Sep 9, 2011 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Have you called the host and asked them for help? Your developer might be right but it's hard to say without knowing all of the details. I'd start with the host or have your developer chat with the host and see if they can work it out.


1:40 pm on Sep 9, 2011 (gmt 0)

5+ Year Member

Thanks lorax, I have spent an hour or so on chat with my hosting technical guys and he wasn't able to resolve it and asked me to submit a support ticket and they will look into it further. The problem I have previously encountered is that the hosting company say they don't support other software but where I am supposed to find an answer is not easy. I have posted in Wordpress forum with no reply. The custom links HAVE worked for a long time and I have hundreds of posts with custom links generated and I get a fair amount of search engine traffic to them. To lose that traffic in favour of the default permalink is painful. AT the moment I have left the custom link in place BUT the older entries link doesn't work..


10:10 am on Sep 10, 2011 (gmt 0)

5+ Year Member

THis is the reply I have receieved from my hosting company which I have no idea how to implement (not safely and without causing potentialo problems)

Your WordPress site is hosted on windows server and on windows server mod-rewrite is not supported.
WordPress requires rewrite module for the custom permalinks. You do not have any such rewrite module installed on
the server. If you wish you can use Helicon ISAPI rewrite module on your server. You can refer to greenwidget.com/
to know better about Helicon ISAPI.

Can anyone help with this? I changed servers a few months ago and had nothing but problems and really don't want to go through that again. I seem to be 'stuck between a rock and a hard place'.


5:08 pm on Sep 10, 2011 (gmt 0)

WebmasterWorld Senior Member lorax is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Well it sounds like your developer was right. The issue is that the server doesn't support the permalink structure. I'm afraid that you'll either need to follow their direction re: Helicon ISAPI or switch to a Linux base server - which would save you a lot of headaches almost immediately.


1:29 am on Sep 17, 2011 (gmt 0)

There is a plugin that will handle all your permalink redirections and keeps your ranking intact on google. Check out the plugin i used to change the permalink structure recently.

Its called the permalinks-migration-plugin-for-wordpress. Search on google and you will find this plugin. Your issue gets resolved by this.


10:57 pm on Nov 10, 2011 (gmt 0)

5+ Year Member

Now moved from a Windows server back to a Linux server that has resolved problems.

Featured Threads

Hot Threads This Week

Hot Threads This Month