Title: PERMALINK Problem on WordPress 2.0
Last modified: August 18, 2016

---

# PERMALINK Problem on WordPress 2.0

 *  [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/)
 * Hi,
 * I’ve installed WordPress 2.0 from the scratch on my server ([http://www.cyon.org.uk/](http://www.cyon.org.uk/)).
   It seems to be working everything fine except the permalinks.
 * I’ve gone through lots of things based on this list, but unfortunately it did
   not work for me.
 * Here is my situation.
 * 1. I’m using WordPress 2.0 with PHP5 and Apache2. (I know I have mod_rewrite 
   module in my PHP installation.)
 * 2. I have the .htaccess file with 644 permission setting, and it reads as follows.
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.
   php </IfModule>
 * # END WordPress
 * 3. I can make and get an access the permalinks something like “[http://www.cyon.org.uk/index.php/archives/52&#8221](http://www.cyon.org.uk/index.php/archives/52&#8221);.
 * My question is that how do I remove ‘index.php’ in my permalinks? I tried to 
   set the permalink at the ‘Site Admin’ page by typing “/archives/%post_id%” in
   custom field, but it never worked.
 * It would be appreciated if someone could direct me to the right path.
 * Thanks,

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

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

 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309495)
 * > I tried to set the permalink at the ‘Site Admin’ page by typing “/archives/%
   > post_id%” in custom field, but it never worked.
 * What do you mean by “it never worked”? Do you mean that the setting refused to
   save, just reverting to the previous setting? Or do you mean that even with that
   as your permalink structure, the index.php still appears in the links?
 *  Thread Starter [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309499)
 * It means that the web browser displays “The page cannot be found”
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309501)
 * So you enter `/archives/%post_id%` into the permalinks field, click “Update,”
   and then immediately you see “The page cannot be found”?
 *  Thread Starter [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309504)
 * No. What I tried to say is that I typed “/archives/%post_id%” into the permalinks
   field, and it says the permalinks structure information is updated well.
 * But, afterwards, if I try to access a page something like “[http://www.cyon.org.uk/archvies/52&#8221](http://www.cyon.org.uk/archvies/52&#8221);,
   then the browser shows me “The page cannot be found”.
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309506)
 * Okay, do you know for certain that your server has mod_rewrite enabled? (I know
   you say “I know I have mod_rewrite module in my PHP installation”).
 *  Thread Starter [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309507)
 * Yes, I am certain as I can see ‘mod_rewrite’ in Loaded Module section of my PHP
   information page.
 * I can use ‘mod_rewrite’ in another application. I use ‘mod_rewrite’ for the Gallery2(
   [http://gallery.sourceforge.net/](http://gallery.sourceforge.net/)) without any
   problem.
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309511)
 * Hmm, the reason I asked is that it’s behaving as though it’s not using the .htaccess
   section you printed above. If that were working correctly, even an error page
   should redirect to index.php, not give the Apache message “The page cannot be
   found.”
 * So is there anything prior to the WordPress block, quoted above, in your .htaccess
   that could be interfering with it?
 * What happens if the following is the only line appearing in the .htaccess?
    `
   ErrorDocument 404 /index.php`
 *  [Football](https://wordpress.org/support/users/football/)
 * (@football)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309520)
 * Using %post_id% in the permalink always seems to lead to a 4040.
 *  Thread Starter [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309525)
 * I have manually edited .htaccess file such that it only has a line “ErrorDocument
   404 /index.php” in it. After that, I set its ownership and group to “www-data”
   so that WP 2.0 can have an access the file.
 * I typed “/archives/%post_id%” into the permalinks field, and then tried to access
   a link something like “[http://www.cyon.org.uk/archives/52&#8221](http://www.cyon.org.uk/archives/52&#8221);.
 * But, it still failed! (The browser shows me up the same page like “The page cannot
   be found.”)
 * It’s shame that the permalink in WP 2.0 is not smooth working for most people
   who use it.
 * So, what else should I try? (By the way, the default paermalinks option always
   worked fine for me. But, I want something better permalinks.)
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309530)
 * > I have manually edited .htaccess file such that it only has a line “ErrorDocument
   > 404 /index.php” in it. After that, I set its ownership and group to “www-data”
   > so that WP 2.0 can have an access the file.
 * If you gave it write permission, then WP probably added to the .htaccess file.
   I meant for you to try it with only the ErrorDocument line in it.
 * At any rate, it sounds like this is a server issue, not a WP issue. With the 
   ErrorDocument line, you shouldn’t be getting any Apache error messages; the server
   should be sending all errors to the WP index.php page.
 *  Thread Starter [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309546)
 * Hi, filosofo, Thanks for giving me your time and help.
 * Okay, I also presume that this might be a server side issue. I wonder what sort
   of configuration should I add in my “apache.conf” for this get to work.
 * I wonder if I add some “<Directory> … </Directory>” options in the apache.conf
   file?
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309554)
 * AllowOverride isn’t set to “none”, is it?
 *  Thread Starter [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309556)
 * No. It’s been set to “All”.
 * Here is my Apache configuration file, if you could give some realistic help. (
   [http://www.cyon.org.uk/apache.conf.sample](http://www.cyon.org.uk/apache.conf.sample))
 * Thanks,
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309567)
 * I’m admittedly way over my head in trying to troubleshoot Apache setups, but 
   shouldn’t “RewriteEngine On” appear as a line between the `<Directory /var/www
   >` tags?
 *  Thread Starter [soohyunc](https://wordpress.org/support/users/soohyunc/)
 * (@soohyunc)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/#post-309580)
 * Okay, thanks for your help upto now.
 * I will quit this issue as it didn’t work for me after gone through almost every
   step which was posted in this troubleshoot page.
 * Too much hardship on WP 2.0’s permalink!

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

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

The topic ‘PERMALINK Problem on WordPress 2.0’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [server](https://wordpress.org/support/topic-tag/server/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 38 replies
 * 16 participants
 * Last reply from: [eamgt](https://wordpress.org/support/users/eamgt/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/permalink-problem-on-wordpress-20/page/3/#post-309934)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
