I’m trying to change the permalinks to the postname, but when I try to update it says I need to update web.config. All the links on my site are broken. Can someone please tell me what I need to write in the web.config file? (I don’t have access to the .htacess file.)
You really should not be running WordPress on a windows server. You should move it to linux but try this in your web.config file. Your web.config file is not writable on your server so you must add this manually.
move to a linux server and all your problems will be resolved.
Try creating a web.config file and add the code I gave you earlier and upload it to the server and see if that fixes it. Otherwise I would highly recommend switching to linux.
I had a client recently that wanted to be on a windows server and I told them it was a bad idea. We launched and had plenty of issues so they had me move it to linux like I suggested and have not had an issue sense.