Support » Fixing WordPress » Add hyperlink via slug in pages
7 years, 7 months ago
is it possible to create a hyperlink (normal <a href="...">mylink</a>) based on a page slug when editing a page?
Yes. You can use the page slug as a relative URL such as “/page-slug/” within your blog/site (main domain), if your page permalink follows the format like http://yoursite.com/page-slug/.
Otherwise use the whole page permalink which of course, is based on page slug.
oh, you are right, I absolutely forgot that approach.