i transfered wp hosting to godaddy only the homepage displays i get 404 error when click on other links.. (The domain name is hosted on namecheap tho and i changed name server from the former hosting company to godaddy) but just the homepage displays...

2 Answers 2


If your site uses permalinks, try going to Settings > Permalinks and then click on Save. It will refresh your permalinks and will typically solve the issue.


You have to upload .htaccess file on root folder. First create file with name ".htaccess".

Paste below code to this created file :

# 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

Save and upload on server to root directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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