Title: Permalink, / and index.php
Last modified: August 18, 2016

---

# Permalink, / and index.php

 *  [ronizzel](https://wordpress.org/support/users/ronizzel/)
 * (@ronizzel)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/permalink-and-indexphp/)
 * I have the following custom permalink structure: /%category%/%postname%/
 * My .htaccess file:
    ` # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine
   On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php </IfModule> # END WordPress
 * The problem: WordPress will take the Main Index Template of my template (Almost
   Spring) if I enter [http://calcox.de/](http://calcox.de/), but If I type [http://calcox.de/index.php](http://calcox.de/index.php),
   there will be appear the content of the Archive Template. This cannto be the 
   intention of the programmers.
 * If I change my permalink structure, all Posts wil be unreachable from eg. google
   results. I don’t want that…

Viewing 1 replies (of 1 total)

 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/permalink-and-indexphp/#post-289098)
 * I need some debug information. Install and activate [this plugin](http://boren.nu/downloads/dump_env.phps).
   After activating, visit [http://calcox.de/](http://calcox.de/) and save the page
   source. Do the same for [http://calcox.de/index.php](http://calcox.de/index.php).
   Deactivate the plugin when you’re done. Send me the source for both pages. ryan-
   at- boren -dot- nu

Viewing 1 replies (of 1 total)

The topic ‘Permalink, / and index.php’ is closed to new replies.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 1 reply
 * 2 participants
 * Last reply from: [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * Last activity: [20 years, 6 months ago](https://wordpress.org/support/topic/permalink-and-indexphp/#post-289098)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
