Title: Permalinks without index.php?
Last modified: August 18, 2016

---

# Permalinks without index.php?

 *  [mystique](https://wordpress.org/support/users/mystique/)
 * (@mystique)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/)
 * I have cvs’d to 1.5-alpha-6 and I’m trying to use permalinks. wp has created 
   the .htaccess with my desired structure:
    /index.php/archives/%year%/%monthnum%/%
   day%/%postname%/
 * but if I take the /index.php out the mod_rewrite doesn’t work and I get things
   like:
    [http://site.com/archives/2004/](http://site.com/archives/2004/).. doesn’t
   exist and in the apache error logs it’s looking for /usr/local/www/wordpress//
   archives/2004/..
 * any clues?

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122822)
 * That means that you host has not enabled mod_rewrite (and probably won’t), or
   because you’re not on an Apache server (only Apache supports mod_rewrite) . You’re
   stuck with /index.php/.
 *  Thread Starter [mystique](https://wordpress.org/support/users/mystique/)
 * (@mystique)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122842)
 * I am on a host that has mod_rewrite, and I do have apache..
 *  Server Version: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d
    mod_gzip/
   1.3.26.1a mod_perl/1.29 PHP/4.3.10 Server Built: Dec 9 2004 22:12:08
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122844)
 * Hm, go to Options/Permalinks (this is critical that you go there and leave it
   up, we’re going to yank .htaccess out from under it). Now, open your FTP app,
   go to your WordPress directory, and make sure you can see invisible files. Delete.
   htaccess. Now, create your permalink structure as /archives/%year%/%monthnum%/%
   day%/%postname%/ . This should create a new .htaccess file, and should work. 
   More than likely v1.5, being an alpha release, is having difficulty with overwriting.
   htaccess.
 *  Thread Starter [mystique](https://wordpress.org/support/users/mystique/)
 * (@mystique)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122846)
 * [http://pastebin.com/134624](http://pastebin.com/134624)
 * I removed the .htaccess and when I opened the Permalinks page it re-created it.
 * I removed it again pasted in what you suggested and it made the .htaccess that
   is listed at the above link.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122848)
 * I’m not an expert on v1.5’s .htaccess structure. My best guess would be that 
   it’s the PHP tags (`<?php` and `?>`) getting in the way. I’ve never seen PHP 
   tags in a .htaccess file before. It’s a shame that there is no such thing as 
   an online .htaccess validator.
 *  Thread Starter [mystique](https://wordpress.org/support/users/mystique/)
 * (@mystique)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122849)
 * that comes from pastebin 🙂
 *  [bendg](https://wordpress.org/support/users/bendg/)
 * (@bendg)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122915)
 * There really shouldn’t be any php tags in .htaccess. Neither should it be writable
   by apache (security risk). Just generate the right code in WP, then select all
   > copy > paste into an editor on yor server (or locally and upload).
 *  [mikkeltsch](https://wordpress.org/support/users/mikkeltsch/)
 * (@mikkeltsch)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-122919)
 * I can’t get my permalink working either, without index.php. mod_rewrite is enabled,
   I’m using apache of course, but still, I get “Not Found” when trying to hit the
   directories
 * Possibly tried any sollution possible, without any working result
 *  [fionadixit](https://wordpress.org/support/users/fionadixit/)
 * (@fionadixit)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-123077)
 * There seems to be an awful lot of talk about this and 1.5. I never had an issue
   with until I upgraded to 1.5.
 * Now I have to put that wretched index.php at the front of my permalinks in options.
 * My mod-rewrite is fine. I checked and they are being written.
 * I have yet to see an authorative reply to this problem. Is there one?
 * Thanks
    F
 *  [fionadixit](https://wordpress.org/support/users/fionadixit/)
 * (@fionadixit)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-123078)
 * I guess not!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Permalinks without index.php?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 5 participants
 * Last reply from: [fionadixit](https://wordpress.org/support/users/fionadixit/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/permalinks-without-indexphp/#post-123078)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
