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 8 replies - 31 through 38 (of 38 total)

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

 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/#post-94971)
 * My .htaccess file doesn’t show up under the templates menu at the moment because
   my blog is actually installed in a different directory vaguely.org/wordpress,
   to my /blog directory.
    I have previously tried putting my .htaccess file in 
   the /blog directory, and in the /wordpress directory, and neither work. There
   is a htaccess file in my root directory (ie vaguely.org/.htaccess) which is the
   empty one I was just talking about. I’ve tried putting the code in there too 
   and that doesn’t work. Someone previously advised me to put my .htaccess in the/
   blog directory and delete any other .htaccess files that might be located in 
   any other location, including /wordpress and the root directory, but I can’t 
   delete the one in my root directory, it won’t let me. This is the code I have
   at the moment: RewriteEngine On RewriteBase /blog/ RewriteRule ^archives/category/(.*)/(
   feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?category_name=$1&feed=$2 [QSA]
   RewriteRule ^archives/category/?(.*) /blog/index.php?category_name=$1 [QSA] RewriteRule
   ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?author_name
   =$1&feed=$2 [QSA] RewriteRule ^archives/author/?(.*) /blog/index.php?author_name
   =$1 [QSA] RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([
   _0-9a-z-]+)?/?([0-9]+)?/?$ /blog/index.php?year=$1&monthnum=$2&day=$3&name=$4&
   page=$5 [QSA] RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([_0-
   9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?year=$1&monthnum=
   $2&day=$3&name=$4&feed=$5 [QSA] RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([
   0-9]{1,2})/([_0-9a-z-]+)/trackback/?$ /wordpress/wp-trackback.php?year=$1&monthnum
   =$2&day=$3&name=$4 [QSA] RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-feed.
   php?feed=$1 [QSA] RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wordpress/wp-
   feed.php?feed=$1&withcomments=1 [QSA] (I’ve tried removing the trailing slash).
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/#post-94972)
 * Yep, blog files are in /wordpress and index.php is in /blog, that’s right.
    Have
   now put the .htaccess file in /blog and deleted the one in /wordpress. But it
   still isn’t working. I think the other .htaccess file is interfering. But I can’t
   get rid of it!
 *  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/3/#post-94973)
 * Do you mean that when you access your web server via FTP, you can see the .htaccess
   file, but can’t delete it?
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/#post-94974)
 * Yes, that’s exactly what I mean!
 *  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/3/#post-94975)
 * Wow, I think this is starting to fall under the “contact your server’s support”
   category. Sorry.
 *  Thread Starter Anonymous
 * [21 years, 6 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/#post-94977)
 * I’ve contacted them before to get them to give my account AllowOverrideAll authority,
   which they say they’ve done. I’ve thought about contacting them again but I’m
   not sure they really understand what the problem is. Not sure of the best way
   to explain it, bearing in mind they probably aren’t familiar with WP.
 *  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/3/#post-94978)
 * Yeah, but they should be familiar with what WP is trying to do.
 *  Thread Starter Anonymous
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalink-problem-1-2/page/3/#post-95006)
 * I finally fixed the problem last week!!! Just thought I’d say, in case anyone
   else was experiencing something like this. It was nothing at all to do with my
   server.
    For some odd reason I was using <?php the_content(‘text’,no_teaser,’
   file’); ?> instead of <?php the_content(); ?> which is what was screwing it up,
   and explains why permalinks weren’t working, even with the index.php/archives…..
   structure. If you’re having the same probs, check your template against the default
   WP template and see if anything differs. Sounds obvious, but there you are.

Viewing 8 replies - 31 through 38 (of 38 total)

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

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
