Hello Python
Hello Python

Reputation: 120

wordpress admin not working with domain name mapping

I had wordpress site on LAMP server without domain name mapping. I am able to access site with IP http://xxx.xxx.xxx.xx without any issue.

http://xxx.xxx.xxx.xx pointing to sub-domain folder on server

But now after mapping domain name I am able to access front end but admin showing blank page with domain name, but with IP both working.

Checked view source it's showing some iframe with reference to IP. I have also tried to update all links in database with domain name but still same issue. Also, tried with dedug true but showing no error message, in error log as well.

Below is the view source of admin section domain.myportal.com/wp-admin

<head>
  <title>title  </title>
  <META name="description" content="portal ">
</head>
<frameset rows="100%,*" border="0">
  <frame src="http://xxx.xxx.xxx.xx//wp-admin" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>

<!-- pageok -->
<!-- 04 -->
<!-- -->
</html>

I have replaced all links in database with domain name and also run a quick search in code files for hardcoaded link, but it's not there. Can anyone tell me from where its showing in view source (also double slash in frame src).

Upvotes: 0

Views: 624

Answers (1)

Vishal Kamal
Vishal Kamal

Reputation: 1124

Check you config file where you add extra '/' at the end of the home or site url or current site url.

also check in database.

Upvotes: 3

Related Questions