Support » Fixing WordPress » GET URI or Parsell Permalink

  • Resolved evlenirikbiz


    Hi all!

    I want to make like that..

    <a href="">History in English version </a>
    <a href="">History in Russian version </a>

    so, How can I change en <-> ru anywhere?

    I used: <?php echo get_permalink(); ?> but it gives us full of URL

    have you any idea?

    I know in PHP $_SERVER . But how can i make it on WP?

Viewing 1 replies (of 1 total)
  • $_SERVER[‘PHP_SELF’] doesn’t give up separated permalinks.

    But it’s working any php page like this.

    For instance, $_SERVER['PHP_SELF'] in a script at the address  would be /test.php/ 
    I want to make this smillar on WP:   ->
Viewing 1 replies (of 1 total)
  • The topic ‘GET URI or Parsell Permalink’ is closed to new replies.