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:
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.
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 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:
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?
(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 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.
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.
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…
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!