WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to find a solution. but I can't..

my links are all domain.com/index.php/post_name/

I really want to remove /index.php

I have searched and found some... saying I need to add these.. but it's not working ..

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

I am using 3.5.2 wp.

Please let me know if you know anything about it.

share|improve this question
are you using apache and is mod_rewrite enabled? this is probably a question for your particular host. – Milo Jul 9 '13 at 6:52
i have no idea. i am just using a web hosting service. – pulla Jul 9 '13 at 7:28
should I disable to remove "index.php"? – pulla Jul 9 '13 at 7:29
@pulla You need to find out more about your web hosting service and what sort of configuration it runs on. – Otto Jul 9 '13 at 7:58
up vote 0 down vote accepted

Go to your WP-ADMIN-->Settings-->Permalink and use the permalink structure change there, if it generate any .htaccess file copy the content and update your .htaccess file.

Or Check if your hosting mod_rewrite is enable by creating a file phpinfo.php with content,

<?php phpinfo();?>

Upload this file and browse via Browser. So you know which modules are enabled. You need mod_rewrite enable to remove index.php from URL.

More details Check this link

share|improve this answer
Thanks for your answer. I have tried but I don't know it's not really working. it could be the hosting problem. I removed all and installed. nothing has be changed. – pulla Aug 11 '13 at 6:10
Facing the same issue. Removing index.php in under wordpress permalink give error "The requested URL /wordpress/test-page/ was not found on this server." – Muhammad Azeem Jun 24 at 9:46

Go to your WP-ADMIN-->Settings-->Permalink and Select Plain Redo Option and Save. Problem will be solved.

share|improve this answer
That is not a default WP option. – kaiser Jul 7 at 0:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.