Issue with URL redirect

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.Evaluations: 1, 6.00 on the average.6.00 out of 6 based on 1 vote(s)
GK User
Wed Dec 09, 2015 7:08 pm
Hoping someone can help me out. I'm sure the solution is simple. I've included some social icons in my website using the http://www.perfecticon.com solution. Followed all instructions on set up and the icons are displaying fine on the website (although that took a little more work than advertised). However, now when they are clicked on instead of simply redirecting to the desired URL it appears that it is placing the redirect URL behind the website URL. For example instead of redirecting to http://www.facebook.com/gavick it redirects to http://www.gavick.com/www.facebook.com/gavick which of course produces a 404 error. Any help would be appreciated.
User avatar
Fresh Boarder

GK User
Wed Dec 09, 2015 9:11 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Thu Dec 10, 2015 12:49 am
User avatar
Fresh Boarder

GK User
Thu Dec 10, 2015 12:58 am
I see the problem in the code on the frontend...somehow a / is getting into the code. For instance I've entered the line

<li><a class="soc-twitter" href="www.twitter.com/cavemanangle"></a></li>

in the Custom HTML module in the backend but when I inspect it in the frontend it looks like:

<li><a class="soc-twitter" href="/www.twitter.com/cavemanangle"></a></li>

The / before the url automatically redirects as if it were part of my website. So I see the issue but have no idea where that is happening because that's not how the code was put into the module.
User avatar
Fresh Boarder

GK User
Thu Dec 10, 2015 1:13 am
Nevermind... I fixed it. I'm assuming a setting somewhere was trying to clean up my code. I simply inserted http:// in front of each URL and it corrected. Thanks.
User avatar
Fresh Boarder

GK User
Mon Dec 14, 2015 12:28 pm
That was the idea I was going to introduce.
Is there anything else I can help you with regarding this topic?
User avatar
Moderator


cron