Chang SSID via sd card - not working

Hi

I’ve changed the ssid before but for some reason, it is not working.

The following method has been followed but nothing is connecting to the network. I’ve done it several times but nothing is working. I tried calling the file ‘network.text’ and just ‘network’

When I go back into the sd card, the config folder has gone but it is still not connecting to the new router. Now it won’t connect to the old either.

Any idea’s please? I’m at a loss, other than starting from scratch.

Which method has been followed?

apologies, meant to post this link

used this below. Changed the MY_SSID and MY_WLAN_SECRET_KEY to my details but it is never found. Do brackets need adding?

The green led is flashing on the Pi, so it must be booting but it is not found

`[connection]
id=my-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless

[802-11-wireless]
mode=infrastructure
ssid=MY_SSID

Uncomment below if your SSID is not broadcasted

#hidden=true

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=MY_WLAN_SECRET_KEY

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto`

Sorted. I was putting the SSID and password in quotations. So it was booting but not connecting.