Forums

[resolved] WordPress changes my inserted URL (3 posts)

  1. lizdav
    Member
    Posted 3 years ago #

    My site is http://www.affiliate-stores.co.uk/.

    My problem is that I want to insert additional URLs in the header area, but when I do it like this http://www.affiliate-stores.co.uk/forum, then WP strips off the rest of the URL path to dispaly only the domain root.

    If I enter it as a sub-domain, e.g. http://forum.affiliate-stores.co.uk then it is left alone.

    The interesting piece is that when I added my forum, I encountered the same issue in the forum software (phpBB3) ... so this may not be directly a WP issue, but I am stumped as to a solution.

    At the time of writing tou will see the bold FORUM link in the header ... it was entered in header.php as

    <a href="http://www.affiliate-stores.co.uk"/forum>Forum</a>

    but as you see it is stripped back to root.

    Any ideas anyone?

  2. iridiax
    Member
    Posted 3 years ago #

    <a href="http://www.affiliate-stores.co.uk"/forum>Forum</a>

    Your above link code is not correct. The double quotes need to go around the entire URL:

    <a href="http://www.affiliate-stores.co.uk/forum">Forum</a>

  3. lizdav
    Member
    Posted 3 years ago #

    Jeez ....

    Thanks for pointing out what should have been obvious to me ... I type < a href... daily and I didn't spot it.

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.