Title: Archives problem using Permalinks
Last modified: August 18, 2016

---

# Archives problem using Permalinks

 *  [ozgression](https://wordpress.org/support/users/ozgression/)
 * (@ozgression)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/)
 * Go to [http://www.pfjournal.com/category/budgeting](http://www.pfjournal.com/category/budgeting)
   and click the previous entries link. You get a 404 error.
 * How do I fix this and has anyone else had thus problem.
 * I am using WordPress 1.5

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/archives-problem-using-permalinks/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/archives-problem-using-permalinks/page/2/?output_format=md)

 *  [Avenir](https://wordpress.org/support/users/avenir/)
 * (@avenir)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157474)
 * Have you added the appropriate mod_rewrite rules to your `.htaccess` file yet?
   If you haven’t, then you need to do this for the permalinks to work properly.
 * Codex explanation:
    [http://codex.wordpress.org/Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
 *  [jpettit](https://wordpress.org/support/users/jpettit/)
 * (@jpettit)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157478)
 * Search the old posts…
    [http://wordpress.org/support/topic.php?id=23296](http://wordpress.org/support/topic.php?id=23296)
 *  Thread Starter [ozgression](https://wordpress.org/support/users/ozgression/)
 * (@ozgression)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157859)
 * 1.5 makes the htaccess by itself. I shouldnt need to add mod-rewrite rules to
   it. 😉
 *  Thread Starter [ozgression](https://wordpress.org/support/users/ozgression/)
 * (@ozgression)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157860)
 * So no-one is actually going to answer my query?
 *  [pyeman73](https://wordpress.org/support/users/pyeman73/)
 * (@pyeman73)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157861)
 * NONE of my article specific links are working. Nor are archive or categories.
   I have been reading up on this issue and fiddling with it all night. I really
   hope someone sheds some light on this issue soon.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157863)
 * Pyeman, you did your permalinks wrong. Replace the .htm with a / .
 * [http://codex.wordpress.org/Using_Permalinks](http://codex.wordpress.org/Using_Permalinks)
 *  [pyeman73](https://wordpress.org/support/users/pyeman73/)
 * (@pyeman73)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157879)
 * Thanks, but can you be a little more specific? I don’t actually have .htm anywhere
   in my permalink structure. I am using this:
    /%year%/%monthnum%/%day%/%postname%/
 * Also, does the accompanying .htaccess file need to go in my blog’s directory 
   or the main root of my website?
 * Thanks very much.
 *  Thread Starter [ozgression](https://wordpress.org/support/users/ozgression/)
 * (@ozgression)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157891)
 * What mod-rewrite rule do i need to get the archive pages working properly. WordPress
   generated the htaccess file.
 *  Thread Starter [ozgression](https://wordpress.org/support/users/ozgression/)
 * (@ozgression)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157955)
 * Doesn’t anyone else suffer from this problem? All I did was install 1.5 and select
   permalinks in the admin area.
 *  [mahix2](https://wordpress.org/support/users/mahix2/)
 * (@mahix2)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157956)
 * I am having a very similar problem. However, when I create the .htaccess file
   for some reason all of my WP admin screens become unusable (Forbidden).
 * What should the directory permissions be for the archive directories and for 
   the .htaccess file?
 * Thanks in advance,
    Rick [MahiX2.com](http://www.mahix2.com)
 *  [mahix2](https://wordpress.org/support/users/mahix2/)
 * (@mahix2)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157957)
 * argh, even more problems now.
 * I just tried pasting the mod_rewrite rules into the .htaccess file myself and
   now my entire site is down.
    [http://www.mahix2.com](http://www.mahix2.com) When
   I try to load the site, I receive the error:
 * > Fatal error: Failed opening required ‘wordpress/wp-blog-header.php’ (include_path
   > =’.:/php/includes:/usr/share/php’) in /home/virtual/site11/fst/var/www/html/
   > index.php on line 4
 * Please Help!
    Thanks, Rick
 *  [dorsai65](https://wordpress.org/support/users/dorsai65/)
 * (@dorsai65)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157958)
 * I’m having this problem, too – I can post, but any attempt to add a comment results
   in a 404. I’m using the .htaccess that a fresh/clean WP1.5 installation generated.
   
   I’ve tried a number of different permalink structures (finally settled on /%year%%
   monthnum%/%post_id%/), but it isn’t happening. Here’s the .htaccess, if anyone
   knowledgeable wants to check it…
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/
   RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule
   ^.*$ – [S=39] RewriteRule ^feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?&
   feed=$1 [QSA,L] RewriteRule ^(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?&feed
   =$1 [QSA,L] RewriteRule ^page/?([0-9]{1,})/?$ /blog/index.php?&paged=$1 [QSA,
   L] RewriteRule ^comments/feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?&feed
   =$1&withcomments=1 [QSA,L] RewriteRule ^comments/(feed|rdf|rss|rss2|atom)/?$ /
   blog/index.php?&feed=$1&withcomments=1 [QSA,L] RewriteRule ^comments/page/?([
   0-9]{1,})/?$ /blog/index.php?&paged=$1 [QSA,L] RewriteRule ^search/(.+)/feed/(
   feed|rdf|rss|rss2|atom)/?$ /blog/index.php?s=$1&feed=$2 [QSA,L] RewriteRule ^
   search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?s=$1&feed=$2 [QSA,L] 
   RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /blog/index.php?s=$1&paged=$2 [
   QSA,L] RewriteRule ^search/(.+)/?$ /blog/index.php?s=$1 [QSA,L] RewriteRule ^
   category/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?category_name=
   $1&feed=$2 [QSA,L] RewriteRule ^category/(.+)/(feed|rdf|rss|rss2|atom)/?$ /blog/
   index.php?category_name=$1&feed=$2 [QSA,L] RewriteRule ^category/(.+)/page/?([
   0-9]{1,})/?$ /blog/index.php?category_name=$1&paged=$2 [QSA,L] RewriteRule ^category/(.
   +)/?$ /blog/index.php?category_name=$1 [QSA,L] RewriteRule ^author/([^/]+)/feed/(
   feed|rdf|rss|rss2|atom)/?$ /blog/index.php?author_name=$1&feed=$2 [QSA,L] RewriteRule
   ^author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?author_name=$1&feed
   =$2 [QSA,L] RewriteRule ^author/([^/]+)/page/?([0-9]{1,})/?$ /blog/index.php?
   author_name=$1&paged=$2 [QSA,L] RewriteRule ^author/([^/]+)/?$ /blog/index.php?
   author_name=$1 [QSA,L] RewriteRule ^date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/
   feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?year=$1&monthnum=$2&day=$3&feed
   =$4 [QSA,L] RewriteRule ^date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|
   rss|rss2|atom)/?$ /blog/index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA,L] 
   RewriteRule ^date/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /
   blog/index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA,L] RewriteRule ^date/([
   0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /blog/index.php?year=$1&monthnum=$2&day
   =$3 [QSA,L] RewriteRule ^date/([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2
   |atom)/?$ /blog/index.php?year=$1&monthnum=$2&feed=$3 [QSA,L] RewriteRule ^date/([
   0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?year=$1&monthnum
   =$2&feed=$3 [QSA,L] RewriteRule ^date/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?
   $ /blog/index.php?year=$1&monthnum=$2&paged=$3 [QSA,L] RewriteRule ^date/([0-
   9]{4})/([0-9]{1,2})/?$ /blog/index.php?year=$1&monthnum=$2 [QSA,L] RewriteRule
   ^date/([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?year=$1&feed
   =$2 [QSA,L] RewriteRule ^date/([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /blog/index.
   php?year=$1&feed=$2 [QSA,L] RewriteRule ^date/([0-9]{4})/page/?([0-9]{1,})/?$/
   blog/index.php?year=$1&paged=$2 [QSA,L] RewriteRule ^date/([0-9]{4})/?$ /blog/
   index.php?year=$1 [QSA,L] RewriteRule ^([0-9]{4})([0-9]{1,2})/([0-9]+)/trackback/?
   $ /blog/index.php?year=$1&monthnum=$2&p=$3&tb=1 [QSA,L] RewriteRule ^([0-9]{4})([
   0-9]{1,2})/([0-9]+)/feed/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?year=$1&
   monthnum=$2&p=$3&feed=$4 [QSA,L] RewriteRule ^([0-9]{4})([0-9]{1,2})/([0-9]+)/(
   feed|rdf|rss|rss2|atom)/?$ /blog/index.php?year=$1&monthnum=$2&p=$3&feed=$4 [
   QSA,L] RewriteRule ^([0-9]{4})([0-9]{1,2})/([0-9]+)/page/?([0-9]{1,})/?$ /blog/
   index.php?year=$1&monthnum=$2&p=$3&paged=$4 [QSA,L] RewriteRule ^([0-9]{4})([
   0-9]{1,2})/([0-9]+)/?([0-9]+)?/?$ /blog/index.php?year=$1&monthnum=$2&p=$3&page
   =$4 [QSA,L] RewriteRule ^([0-9]{4})([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?
   $ /blog/index.php?year=$1&monthnum=$2&feed=$3 [QSA,L] RewriteRule ^([0-9]{4})([
   0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /blog/index.php?year=$1&monthnum=$2&feed
   =$3 [QSA,L] RewriteRule ^([0-9]{4})([0-9]{1,2})/page/?([0-9]{1,})/?$ /blog/index.
   php?year=$1&monthnum=$2&paged=$3 [QSA,L] RewriteRule ^([0-9]{4})([0-9]{1,2})/?
   $ /blog/index.php?year=$1&monthnum=$2 [QSA,L] </IfModule>
 * # END WordPress
 *  [thinkeric](https://wordpress.org/support/users/thinkeric/)
 * (@thinkeric)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157961)
 * This might help you out… I had a similar problem with the %category% tag:
 * [http://wordpress.org/support/topic.php?id=26500#post-151408](http://wordpress.org/support/topic.php?id=26500#post-151408)
 *  [HM](https://wordpress.org/support/users/hcm/)
 * (@hcm)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157962)
 * Using some of the hacks on the forum I was able to get the regular permalinks
   working as %category%/%postname%/ . However, these hacks only work if the category
   is a parent, I still can’t get this to work if the post’s category is a subcategory.
   The links turn out like this:
 * [http://www.domain.com/maincategoryname/subcategoryname/postname/](http://www.domain.com/maincategoryname/subcategoryname/postname/)
 * and they all still produce 404s. Does anyone have a hack for getting permalinks
   to work when a subcategory is chosen? Anyone know if the WP developers are working
   on this bug? IMO, this is a really major bug that should have been worked out
   before 1.5 was released.
 *  [ColdForged](https://wordpress.org/support/users/coldforged/)
 * (@coldforged)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/#post-157963)
 * hcm, what’s the URL and perhaps you could tell us what your htaccess rewrite 
   rules are? 1.5’s subcategory handling works dandy in my install.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/archives-problem-using-permalinks/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/archives-problem-using-permalinks/page/2/?output_format=md)

The topic ‘Archives problem using Permalinks’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 25 replies
 * 13 participants
 * Last reply from: [infocynic](https://wordpress.org/support/users/infocynic/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/archives-problem-using-permalinks/page/2/#post-157998)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
