Admin bar and BB Page Builder disappear after changing Site Address URL

Hi,
A client & I just finished dev on a new site. He had a previous install of WP at the root level of the server, and we did the dev in a folder named “dev”. I updated the site today using the “Using a pre-existing subdirectory install” instructions found in this WP Codex doc:

https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

I also moved the previous install of WP into a subfolder named “old-site”.

The site seemed to load fine at this point. I was able to login to wp-admin. I then went to Settings -> General to change the Site Address URL to the domain I wanted.

The WP address is here:
http://cpanel3.neonova.net/~wwwwindekindfarm/dev

and the Site address is here:
http://www.windekindfarms.com

I updated permalinks in the .htaccess files both at the root level and in the ~dev/ folder.

However, now when I clicked the “Visit Site” link, I lose my admin bar at the top. Also, I’m using the Beaver Builder plugin (and theme), and when I attempt to enter Page Builder via the Pages page, I also lose the admin bar.

I’ve looked around the forums, but can’t seem to find a way out. Any help greatly appreciated!

Thanks, John

Hey John,

Sorry to hear you’re having this problem. Did you run a serialized search and replace script when you migrated the site? Check the article below for more info.
http://forum.wpbeaverbuilder.com/knowledge-base/migrating-a-site-to-another-domain/

Thanks!

KC

Hi KC,

Thanks for your reply. I did not run a serialized search and replace script. I’m wondering if that’s necessary given that I’m not changing domains, nor am I really moving any files around aside from copying the index.php and htaccess files to the root level as directed in the WP Codex instructions.

As I mentioned in my first email, the problem seems to pop up when I change the Site address in General Settings:

The WP address is here:
http://cpanel3.neonova.net/~wwwwindekindfarm/dev

and the Site address that I’d like to have is:
http://www.windekindfarms.com

If I leave the site address the same as the WP address, then I don’t experience the problem. However, then all the URLs displayed in the browser address bar show the cpanel3.neonova… etc. line instead of www.windekindfarms.com.

Do you still recommended that I run the serialized search and replace script?

Thanks, John

Hi John,

It sounds like it might be a cross domain login issue. For example, if you login here…

http://cpanel3.neonova.net/~wwwwindekindfarm/dev

You won’t be logged in here…

http://www.windekindfarms.com

If that is the case and you aren’t logged in there, that is why the admin bar and Beaver Builder aren’t showing.

Do you think that might be the issue?

Justin

Hi Justin,

Thanks for your reply. As I mentioned earlier, I’ve set up the site per the instructions I got from the WP Codex here:

https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

(Id’s send you a screenshot of my server hierarchy, but I don’t see a way to attach a file.)

So, at the root level of my site’s directory, there is a copy of both the index.php file and the .htaccess files from the ~/dev folder where the rest of the WP files are located.

If I log into www.windekindfarms.com/dev/wp-admin, the dashboard loads just fine. However, the address bar reads:

http://cpanel3.neonova.net/~wwwwindekindfarm/dev/wp-admin/

If I then try and “visit the site” or try to use Page Builder, my admin bar goes away. The URL in the address bar at this point is: http://windekindfarms.com.

At this point, I’ve set the Site URL back to the cPanel3… address so that editing can be done and some of the internal links in calls-to-action aren’t broken.

So, I’m still scratching my head…

Thanks, John

Hey John,

Thanks for the detailed follow up. Since the admin bar isn’t showing up either, the issue appears to be unrelated to Beaver Builder. Like the admin bar, Beaver Builder’s interface only shows when you’re logged in. Since both of them aren’t showing up, I’m pretty confidant that the issue is related to you not being logged in on the frontend. Unfortunately, I’m not familiar with the setup you’re using, so I’m not sure what a fix might be.

When you’re done making your changes, change the url back and shoot me temporary login info so I can test it out.

Thanks,
Justin

[Content Hidden]

Hey John,

Thanks for the info. I took a look and it’s definitely a cross-domain login issue. You’re logged in here…

http://cpanel3.neonova.net/

But you’re not logged in here…

http://windekindfarms.com/

That’s because WordPress is only logging you in at the cpanel3.neonova.net domain.

This is a bit beyond the scope of Beaver Builder, so I’m not 100% sure, but I believe you’ll need to set the WordPress Address and Site Address to both use windekindfarms.com. Something like this if you can get it to work…

WordPress Address: http://windekindfarms.com/~wwwwindekindfarm/dev
Site Address: http://windekindfarms.com/

I hope that helps.

Justin

Hi Justin,

Yup, that did the trick! Changing the WP address to http://windkekindfarms.com/dev made all the difference. Frankly, it’s something I should have figured out as it’s pretty obvious, but I guess I just needed another pair of eyeballs on it!

Thanks again and have a great holiday!

Cheers, John

Awesome! I’m glad to hear that worked.

Justin