My problem is in my wordpress site only default permalinks is working.. When I change permalinks all pages become not found.. only home page is showing.

When I change permalinks to postname .htaccess content change to

# 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

And for default it is

# BEGIN WordPress
# END WordPress

Also tried to get the status of mod_rewrite using this

in_array( 'mod_rewrite', apache_get_modules() )

It returns 1 and mod_rewrite is enabled on my server.
I have gone through all the documents available in internet.. Please help me to solve this problem..
My hosting server is godaddy..

Read more here: Only default permalink is working mod_rewrite enabled


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: