WordPress permanent links not working? GoDaddy issue?

After moving my dev wordpress to its new home, and something very weird happened: some, just some, of the links were not working (for example, the domain.com/contact page is not working while other pages are working). They are all pages (and some are categories links as well), some working, some not, no pattern it seems.

I was wondering if there was something wrong with my settings or if I messed up my .htaccess file:

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

The host, GoDaddy, is infamous with delay in updating .htaccess, but I didn’t know if it was the case or not. Surely if that happened the whole thing wouldn’t work at all, but here we have some work, some didn’t.

After struggling almost 30 minutes with this issue and even posted this on stackoverflow, I found out the cause. I had a file named contact.php, after i renamed it old.contact.php domain.com/contact link started working. Hope this will save others’ time who may run into the same situation.

Leave a Reply