echo post-permalink without http and www May 28, 2022 by Tarik Billa use get_permalink instead of the_permalink and manipulate it however you’d like via php.