php – WordPress redirects to localhost
Question
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
0
1 year
2021-11-30T13:57:24-05:00
2021-11-30T13:57:24-05:00 0 Answers
0 views
0
Leave an answer