Forums

Make wp_get_referer return url + #div to jump to the content directly? (1 post)

  1. jeriksson
    Member
    Posted 4 months ago #

    Hi,

    I am trying to make

    wp_safe_redirect( wp_get_referer() );

    redirect to url (works) but also add #div to the url

    example: http://mydomain.com/432432/referrerpost/#div
    instead of how it does now: http://mydomain.com/432432/referrerpost/

    any idea how to do this?

Reply

You must log in to post.

About this Topic