Relative URL
[resolved] double slash in home_url (2 posts)

  1. edik
    Posted 3 years ago #

    I am using your plugin. For a search form my theme calls the function home_url with the path argument:
    home_url ( '/' );
    But instead of "/" I receive "//". My search form is broken. :D

    Yes, I know: Calling home_ur('/') is like calling home_url(). But such a call is legit and I do not want to edit my theme code for such a issue. :)

    Can you fix it? Thank you :D


  2. edik
    Posted 3 years ago #

    Shame on me!
    The theme code is the problem..
    home_url ( '/' ) . '/'

    sorry :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Relative URL
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic