Title: Permalink Problem
Last modified: August 18, 2016

---

# Permalink Problem

 *  wenchy
 * [21 years, 7 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/)
 * I am having trouble setting up permalinks.
    I have seen threads on this forum
   where people have had 404s when trying to open up a permalink page but my problem
   is a little different. When I click the permalink, I get a page correctly set
   out, displaying the date and title, etc of the post just fine, and the comment
   box underneath, but, rather crucially, the content of the actual post doesn’t
   show up in between!! I know this is probably something really basic but I’ve 
   been tearing my hair out. I’ve tried so many different steps to rectify the problem
   that I can’t even remember them all. Anyone have any idea as to where I’m going
   wrong? I’m using the structure /index.php/archives/%year%/%monthnum%/%day%/%postname%/
   although I’ve tried others, adjusting the .htaccess file accordingly, and the
   same thing happens each time.

Viewing 15 replies - 16 through 30 (of 38 total)

[←](https://wordpress.org/support/topic/permalink-problem-1-2/?output_format=md)
[1](https://wordpress.org/support/topic/permalink-problem-1-2/?output_format=md)
2 [3](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/?output_format=md)

 *  Thread Starter Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94880)
 * (I’ve just started a new term at university so I’ve been busy and haven’t been
   in here for a while)
    I tried options symlinks and that doesn’t work either. 
   Any mods/developers have any idea what’s going on?
 *  Thread Starter Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94904)
 * Ok, one last try.
    Here is my index.php template. I wonder if this will help 
   anyone suss out what the problem is? `<?php  /* Don't remove these lines. */ 
   $blog = 1; require('../wordpress/wp-blog-header.php'); // Uncomment the next 
   line if you want to track blog updates from weblogs.com // include_once(ABSPATH.
   WPINC.'/links-update-xml.php');?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
   Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
   <html xmlns="http://www.w3.org/1999/xhtml"> <title> vaguely [dot] org /blog |
   the name's blonde </title>  <META http-equiv=content-type content="text/html;
   charset=iso-8859-1"> <meta name="generator" content="WordPress <?php echo $wp_version;?
   >" /> <!-- leave this for stats --> <META content=TRUE name=MSSmartTagsPreventParsing
   > <META http-equiv=pragma content=no-cache> <META http-equiv=expires content=-
   1> <META content="noindex, nofollow" name=robots> <META  content="vaguely.org
   is the personal domain of a student."  name=description><LINK title="User Defined
   Style" media=screen  href="http://www.vaguely.org/styles/weblog.css" type=text/
   css rel=stylesheet><LINK  title="Atom 0.3" href="http://www.vaguely.org/blog/
   wp-atom.php"  type=application/atom+xml rel=alternate><LINK  href="http://www.
   vaguely.org/blog/xmlrpc.php" rel=pingback> <META content="MSHTML 6.00.2800.1106"
   name=GENERATOR> <link rel="stylesheet" href="http://www.vaguely.org/styles/weblog.
   css" type="text/css"> <link rel="alternate" type="text/xml" title="RDF" href="
   <?php bloginfo('rdf_url'); ?>" /> <link rel="alternate" type="text/xml" title
   ="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type
   ="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> <link rel
   ="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('
   atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url');?
   >" /> </HEAD> <BODY> <P class=upgrade><font color="#CCCCCC">Not to be rude n'all,
   but it would appear  that you posess an extremely skanky, antiquated web browser.
   If you don't want  your web browsing experience to resemble viewing a Monet through
   a fishbowl  of piss please upgrade to  a newer browser. Ta very muchy. xxx </
   font></P> <DIV id=top>  <div align="center"> <img src="http://www.vaguely.org/
   blog/graphics/blogheader.jpg" width="800" height="100" border="1"></div> </DIV
   > <DIV id=content> <?php if($posts):foreach($posts as $post):start_wp(); ?> <
   br><?php the_date('l jS F Y','<h1>','</h1>',display); ?>  <div class="post"><
   h2 id="post-<?php the_ID(); ?>">[ " rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?>](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/"<?php)
   </h2> <h3> posted at <?php the_time('g:i:a',display); ?> under: <?php the_category('
   separator');?></h3> <div> <?php the_content('text',no_teaser,'file'); ?> </div
   > <?php edit_post_link(); ?> | [" rel="bookmark" title="Get Permanent Link">Get Permalink](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/"<?)
   </h3> <div class="feedback"> <?php comments_popup_link(__('Liebst du mich, oder
   nicht? (0) Comments so far. Add yours?'), __('Liebst du mich, oder nicht? (1)
   Comment so far. Add yours?'), __('Liebst du mich, oder nicht? (%) Comments so
   far. Add yours')); ?> </div> </div> <!-- <?php trackback_rdf(); ?> --> <?php 
   include(ABSPATH . 'wp-comments.php'); ?> <?php endforeach; else: ?> <?php _e('
   Sorry, no posts matched your criteria.'); ?> <?php endif; ?> </div> </div> <DIV
   id=bottom>  <DIV class=copyright><A href="http://www.whatiscopyright.org/">Ã¯
   Â¿Â½</A> 2002-2004  <A href="http://www.vaguely.org">vaguely.org</A><BR> Steal
   the HTML, leave the words alone.<br><br>[" title="Syndicate this site using RSS">RSS 2.0](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/"<?php)
   [" title="The latest comments to all posts in RSS">Comments RSS 2.0](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/"<?php)
   </DIV> </DIV> <DIV id=left style="left: 20px; top: 143px; width: 132px;">  <DIV
   class=menutitle>EXTERNAL LINKS</DIV> <br>  <DIV class=menutitle>Friends</DIV>
   <DIV class=menublock>
    -  <?php wp_get_links(1)?>
 *  </div>
    <DIV class=menutitle>Social/Political</DIV> <DIV class=menublock>
    -  <?php wp_get_links(3)?>
       <DIV class=rightpadtop>(...<A  href="[http://www.blah">more</A&gt](http://www.blah">more</A&gt);?)
      </DIV>
 *  </DIV>
    <DIV class=menutitle>Humour</DIV> <DIV class=menublock>
    -  <?php wp_get_links(4)?>
       <DIV class=rightpadtop>(...<A  href="[http://www.blah">more</A&gt](http://www.blah">more</A&gt);?)
      </DIV>
 *  </DIV>
    <DIV class=menutitle>Resources</DIV> <DIV class=menublock>
    -  <?php wp_get_links(5)?>
       <DIV class=rightpadtop>(...<A  href="[http://www.blah](http://www.blah)...."
      >more</A>?)</DIV>
 *  </DIV>
    <DIV class=menutitle>Cold, Wet & Pretty</DIV> <DIV class=menublock>
    -  <?php wp_get_links(6)?>
       <DIV class=rightpadtop>(...<A  href="[http://www.blah">more</A&gt](http://www.blah">more</A&gt);?)
 *  </DIV>
    <DIV class=menutitle>Geeeeek!!</DIV> <DIV class=menublock>
    -  ["title="Oh syndicate me, baby!">](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/"<?php)"
      
      <?php wp_get_links(14)?> <DIV class=rightpadtop>(...<A  href="[http://www.blah">more</A&gt](http://www.blah">more</A&gt);?)
      </DIV>
 *  </DIV>
    <DIV class=menutitle>News Yourself</DIV> <DIV class=menublock>
    -  <?php wp_get_links(7)?>
       <DIV class=rightpadtop>(...<A  href="[http://www.blah">more</A&gt](http://www.blah">more</A&gt);?)
      </DIV>
 *  </DIV>
    <DIV class=menutitle>Buy Things</DIV> <DIV class=menublock>
    -  <?php wp_get_links(8)?>
       <DIV class=rightpadtop>(...<A  href="[http://www.blah">more</A&gt](http://www.blah">more</A&gt);?)
      </DIV>
 *  </DIV>
    </div> </div> </div> <DIV id=right style="width: 138px;">  <DIV class
   =menutitle>CONTENT</DIV> <br> <DIV class=menutitle>Personal Details</DIV> <DIV
   class=menublock>
    -  <?php wp_get_links(9)?>
 *  </DIV>
    <DIV class=menutitle>Background</DIV> <DIV class=menublock>
    -  <?php wp_get_links(10)?>
 *  </div>
    <DIV class=menutitle>Images</DIV> <DIV class=menublock>
    -  <?php wp_get_links(11)?>
 *  </DIV>
    <DIV class=menutitle>Fiction</DIV> <DIV class=menublock>
    -  <?php wp_get_links(15)?>
 *  </DIV>
    <DIV class=menutitle>About Site</DIV> <DIV class=menublock>
    -  <?php wp_get_links(12)?>
 *  </DIV>
    <DIV class=menutitle>Archived Posts (Old)</DIV> <DIV class=menublock
   >
    -  <select onChange="location=this.options[this.selectedIndex].value; " style
      ="font-family:'Verdana';color:#FFFFFF;background-color:#000000;font-size:8pt;"
      name="select">
       <option selected>2003</option> <option value="[http://www.blah">december](http://www.blah">december)
      2003</option> etc etc..... </select>
 * <li class=menu>Bits From The Archive
    </div> <DIV class=menutitle>Archived Posts(
   Recent)</DIV> <DIV class=menublock>
    -  <center><?php get_archives('monthly'); ?> </center>
 *  </DIV>
    <DIV class=menutitle>Interact</DIV> <DIV class=menublock>
    -  <?php wp_get_links(13)?>
 *  </DIV>
    </DIV> </DIV> </BODY></HTML>
 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94908)
 * You should probably upload that as a phps file and link to it. Anyways, I don’t
   see anything wrong but I am not really a php expert
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94913)
 * Yes, I ought to have uploaded that as a phps file really!!! Ooops!
    I’ve noticed
   that permalinks do work when you click on the category…..ie, if you click on ‘
   general’, it gives you all the posts under the ‘general’ category (in their entirety).
   The problem is that it just doesn’t give you the posts individually, when you
   click on the post title. All you get is a blank post…. eg: [http://vaguely.org/blog/archives/category/general/](http://vaguely.org/blog/archives/category/general/)
   works, and [http://vaguely.org/blog/archives/2004/09/28/test/](http://vaguely.org/blog/archives/2004/09/28/test/)
   doesn’t. Really odd.
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94914)
 * OK, color me confused….. I just tried both of those links wenchy, and the worked!
   The Test post came up all by itself, just like I would expect.
    ????? TG
 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94915)
 * same here wenchy, both worked for me
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94919)
 * Really?? With all the text showing in the right places???
    Weird. It still doesn’t
   work for me!
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94929)
 * I asked some other people to take a look at the site and it didn’t work for them
   either – they saw no text in the body of the post when they called up the permalink.
   
   I was just playing around with the permalink structure. I tried to use: /index.
   php/archives/%year%/%monthnum%/%day%/ which supposedly ignores mod_rewrite rules.
   Now I get the permalink displaying fine, with all the text where it should be:
   eg: [http://vaguely.org/blog/index.php/archives/2004/10/24/](http://vaguely.org/blog/index.php/archives/2004/10/24/)
   but I don’t get the comment box or the comments when I click comment! Argh!
 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94930)
 * Hrm that’s kind of strange. Your using index.php/archives/…. but your comments
   rss and entries in rss show up like proper permalinks. Are you sure you don’t
   just want to switch to complete permalinks
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94931)
 * I’ve now switched to proper permalinks, and that gives me a 404.
    🙁 *Bangs head
   against wall*
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94963)
 * *talking to myself* …. Aaaah….CHMOD 666. Might that make a difference, I wonder??
   😉
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94966)
 * ….or perhaps it’s because there is an empty .htaccess file here
    [http://www.vaguely.org/.htaccess](http://www.vaguely.org/.htaccess)
   which I cannot delete. (I delete it and it just reappears).
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94968)
 * Seen from here everything works fine, including the comment box, comments – when
   I click on the permalink (a.k.a. post title). Clicking on catgeory name in the
   menu works, too.
    So what’s the problem?
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94969)
 * The problem is that I (and several other people, apparently) can’t see the post
   content when they call up permalinks.
    ie, when I, and they, click: [http://vaguely.org/blog/archives/2004/10/24/ahem/](http://vaguely.org/blog/archives/2004/10/24/ahem/)
   or any of the other ones the page comes up, with the post date, title, comments,
   etc, but missing the actual content of the post. ie, in this case, the bit which
   says: “Needless to say, this isnâ€™t actually complete yet. I am just trying 
   to resolve a few bugs with permalinks. I think thereâ€™s a bug, but people on
   the WordPress support forum tell me that everything is working fine. Iâ€™m confused.
   But then, Iâ€™m fairly often confused about a multitude of things, so I may as
   well start as I mean to go on, eh?” doesn’t appear in the permalinked page. It
   just looks as though there’s a blank post there. Hope that makes sense!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/2/#post-94970)
 * You mentioned that you may have an empty .htaccess file, that is possible. Now,
   you said that you copied the code which the permalink options gave you into your.
   htaccess file. Let’s try posting that code again, or at least see what’s in the.
   htaccess file, by logging in and then going to the “Templates” menu. In the lower
   half of that page, you should see “.htaccess (for rewrite rules)” under the “
   Common files: (click to edit)” section, click on it. Now, you will be able to
   view and edit your .htaccess file. If the code isn’t there, put it there. If 
   there is code there, let us know what it is.

Viewing 15 replies - 16 through 30 (of 38 total)

[←](https://wordpress.org/support/topic/permalink-problem-1-2/?output_format=md)
[1](https://wordpress.org/support/topic/permalink-problem-1-2/?output_format=md)
2 [3](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/?output_format=md)

The topic ‘Permalink Problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 38 replies
 * 7 participants
 * Last reply from: Anonymous
 * Last activity: [21 years, 5 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/#post-95006)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
