Link problem - Please help

TheAdvertisingMan

Power Member
Joined
Nov 22, 2012
Messages
657
Reaction score
630
Hi guys
I have this crazy problem and I'm absolutely unable to solve it myself.

There's a link in my website which leads to another domain, however when you click it it opens http://www.mydomain.com/"http://www.anotherdomain.com" and shows 404.

I'm not sure how to tell Wordpress that it's not a part of my site. The link should be set correctly <a href="http://www.anotherdomain.com">link</a> so the problem is somewhere else...

I'd really appreciate any input..Thank you
 
Are you sure you included the http:// part in your href?
 
Are you sure you included the http:// part in your href?

This should like it might be the problem, however there is no telling without looking at it. It could also be an issue with the .htaccess.
 
Yes I included http://. That's the strange thing. Does anybody know a command to force website not to add its own address before the target location?
 
The a href="http address" is the syntax. Is this a post or a link in a footer or something?
 
This is almost guaranteed to be incorrectly coded. Either take a really careful look at each character in the code for the link or copy and paste it here changing ONLY the domain name.

I guess it's possible that if you have a base tag set in the header it's messing with this? But I'm pretty sure it shouldn't be doing this if you are specifying http
 
Guys, I solved it using redirects. The links leads now to mydomain.com/redirect which sends user to another domain. Really don't know where the problem is but this is working. Thanks to all
 
This is not the normal way Wordpress print out the links, do you have other plug-in installed? and could you try to change the theme to normal themes which come with wordpress? if the problem gone then then problem is your theme.
 
Last edited:
Back
Top