WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Add hyperlink via slug in pages

[Resolved] Add hyperlink via slug in pages

  • hello,
    is it possible to create a hyperlink (normal <a href="...">mylink</a>) based on a page slug when editing a page?

    cheers
    Meereck

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    S.K

    oh, you are right, I absolutely forgot that approach.
    thanks,
    M.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Add hyperlink via slug in pages’ is closed to new replies.
Skip to toolbar