Ready to get started?Download WordPress


WP adding domain before external URL's creating wrong link (3 posts)

  1. waterworks2
    Posted 1 year ago #

    WP seems to be adding the website's domain before each external URL.

    I only have a simple theme installed with no plugins installed.


    My external link:

    <a href="http://www.website.com">Click here</a>

    but the actual URL when you click on the link is:


    Any idea what this could and how I could potentially fix the problem? Seems to be happening to all external links.

  2. graphical_force
    Posted 1 year ago #

    Can you post an example to where this is happening at?

  3. waterworks2
    Posted 1 year ago #

    Unfortunately I cannot provide a link.

    Here is what the .htaccess is showing:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Here is an example of the link problem. In the page content area, I will have something like:
    <a href="http://www.amazon.com">Amazon</a>

    but when the user clicks, the actual URL is:


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.