Permalinks contain unwanted space resulting in broken links June 27, 2022 by Tarik Billa You can check how the site_url is stored in the wp_options table – make sure there is not a space after the url.