Site icon Hip-Hop Website Design and Development

WordPress redirects to localhost

I have this wordpress website hosted on a subdomain, the url of the homepage is fine, but all other subpages are redirecting to "localhost/pageName", I already :
• Updated the wp-config with define() function,
• Updated the wp_option table on the DB,
• Updated the permalinks,
• Updated the function.php with update_option(),
• Updated The “Site Address (URL)” and the “WordPress Address (URL)” setting

But after all this, the subpages are still redirecting to the localhost.
If anyone can help.
Thanks