Title: Permalink options now include index.php &#8211;  how do I avoid that?
Last modified: August 20, 2016

---

# Permalink options now include index.php – how do I avoid that?

 *  [alegria-de-mundo](https://wordpress.org/support/users/alegria-de-mundo/)
 * (@alegria-de-mundo)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-options-now-include-indexphp-how-do-i-avoid-that/)
 * I migrated to a new server & now all my permalink options include index.php… 
   little bit ugly:
 * Default [http://brazilianentertainment.com.au/?p=123](http://brazilianentertainment.com.au/?p=123)
   
   Day and name [http://brazilianentertainment.com.au/index.php/2012/02/16/sample-post/](http://brazilianentertainment.com.au/index.php/2012/02/16/sample-post/)
   Month and name [http://brazilianentertainment.com.au/index.php/2012/02/sample-post/](http://brazilianentertainment.com.au/index.php/2012/02/sample-post/)
   Numeric [http://brazilianentertainment.com.au/index.php/archives/123](http://brazilianentertainment.com.au/index.php/archives/123)
   Post name [http://brazilianentertainment.com.au/index.php/sample-post/](http://brazilianentertainment.com.au/index.php/sample-post/)
 * If I try custom with just /%postname%/ – I get an error – page not found.
 * Any advice?
 * Thanks!
    Greer

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

 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-options-now-include-indexphp-how-do-i-avoid-that/#post-2574523)
 * check Settings>>>>Permalinks and see if you have index.php if not check your 
   urls in Settings>>>>General see if you have index.php in urls.
 *  Thread Starter [alegria-de-mundo](https://wordpress.org/support/users/alegria-de-mundo/)
 * (@alegria-de-mundo)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-options-now-include-indexphp-how-do-i-avoid-that/#post-2574532)
 * Hi govpatel
 * Yes in Settings>>>>Permalinks
    all the default options include index.php ( that
   is the list a pasted above.) & when I try to do a custom option without it it
   doesn’t work.
 * In Settings>>>>General – there is nothing about urls or index.php in here.
 * Previously in Settings>>>>Permalinks the default options were like this:
    [http://example.com/2012/post-name/](http://example.com/2012/post-name/)
   no index.php included.
 * Its only appeared when I moved the site but I am not sure why.
 * Thanks,
    Greer
 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-options-now-include-indexphp-how-do-i-avoid-that/#post-2574540)
 * It could have to do with your host. In the past this has happened to me when 
   the hosting provider was a Windows server. I would contact them and see if they
   can help.
 *  Thread Starter [alegria-de-mundo](https://wordpress.org/support/users/alegria-de-mundo/)
 * (@alegria-de-mundo)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-options-now-include-indexphp-how-do-i-avoid-that/#post-2574618)
 * Hi Christine, you’re right it was to do with the host – they helped me to enable
   redirects now. Thanks for the advice!

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

The topic ‘Permalink options now include index.php – how do I avoid that?’ is closed
to new replies.

## Tags

 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [alegria-de-mundo](https://wordpress.org/support/users/alegria-de-mundo/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/permalink-options-now-include-indexphp-how-do-i-avoid-that/#post-2574618)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
