Force absolute url in Menu
-
I know that WordPress use absolute links, but in my MENU i see only relative links.
I’ve create the MENU with auto links or with manual FULL links, but in html source in browser I see always relative links.
I need to FORCE ABSOLUTE links in my menu (for correct run of plugin Transposh).
What can I do??
This is the code in browser:
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
<ul id="nav" class="nav pull-right navbar-nav"><li class="menu-home"><a href="/">Home</a> <li class="dropdown menu-azienda"><a href="/chi-siamo/">Azienda</a> <ul class="dropdown-menu unstyled"> <li class="menu-chi-siamo"><a href="/chi-siamo/">Chi siamo</a> <li class="menu-partner"><a href="/partner/">Partner</a> <li class="dropdown menu-prodotti"><a href="/prodotti/">Prodotti</a> <ul class="dropdown-menu unstyled"> <li class="menu-tutti-i-prodotti"><a href="/prodotti/">Tutti i Prodotti</a> <li class="menu-aree-terapeutiche"><a href="/aree-terapeutiche/">Aree Terapeutiche</a> <li class="dropdown menu-news"><a href="#">News</a> <ul class="dropdown-menu unstyled"> <li class="menu-notizie"><a href="/notizie/">Notizie</a> <li class="menu-eventi"><a href="#">Eventi</a> <li class="menu-comunicazione"><a href="/comunicazione/">Comunicazione</a> <li class="menu-foto-gallery"><a href="/foto-gallery/">Foto Gallery</a> <li class="menu-distribuzione"><a href="/distribuzione/">Distribuzione</a> <li class="menu-contatti"><a href="/contatti/">Contatti</a>
-
Hmm… in my sites, it’s showing full links. Maybe this is a theme-related issue?
You could test by switching temporarily to a WP default theme (one of the Twenty-somethings).
If it’s not that, try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.
Many thanks. The problem was in the Theme. After I’ve upgraded it with a newer version, links shows full URLs.
Many, many thanks.
The topic ‘Force absolute url in Menu’ is closed to new replies.