lando / wordpress

The Official WordPress Lando Plugin
https://docs.lando.dev/wordpress/
GNU General Public License v3.0
14 stars 7 forks source link

APPSERVER URLS not working #79

Open welbinator opened 3 days ago

welbinator commented 3 days ago

I'm not a linux guy but I've been forced into it. I used to have a Windows laptop and I had Lando running easy peasy in WSL2.

Now I'm working on a pure Debian box and having some troubles.

Using the WordPress recipe, I can spin up a WordPress site and access it using the localhost url. For example, I created a site called corridor-soccer and http://localhost:32825 works fine, but when I try to access http://corridor-soccer.lndo.site, it automatically redirects to http://corridor-soccer.lndo.site:32777 and says the site can't be reached.

My lando.yml file is default:

name: corridor-soccer recipe: wordpress config: webroot: .

This is really annoying. I can make it work but I would much rather use the nice domains instead of the localhost ones.

reynoldsalec commented 2 days ago

@welbinator is it possible that your WordPress site URL got set to http://corridor-soccer.lndo.site:32777? I've had that issue before with WP...can be tough to get the redirect out of cache.

Could try spinning up the site under another name (to get a different URL) to check; just make sure you set the site's URL (in WP) to the corresponding correct Lando URL before accessing it to make sure you don't get trapped in the same place.