Get the current post/page URL with plain permalinks September 15, 2022 by Tarik Billa Is there a reason why get_permalink() doesn’t work for you? I’m unclear why you are trying to construct it manually.