Welcome Guest, Not a member yet? Register   Sign In
Redirect to an external site without using PHP
#1

[eluser]Walle[/eluser]
Hello,

I have a small question. I would like to create a link which directs me to an other external site, but I don't want to use PHP for it.

I have a small website, which fetches the html data for a page from a database (clob). I can't really use PHP functions in a clob, that's why I don't want tu use PHP to redirect me to an other site.

I've found the thread '301 redirect to an external site' (https://ellislab.com/forums/viewthread/164701), but the solutions in there are only by php.

Example: This is the data that I put into a clob on the database

Code:
<a href="http://www.example.com">Link</a>

But when I click on the link, the browser wants to navigate to

Code:
www.myproject.com/http://www.example.com

Which is a link that obviously doesn't exists. Is there any way I can fix that?

Thanks in advance,

Walle


Messages In This Thread
Redirect to an external site without using PHP - by El Forum - 09-17-2014, 04:36 AM
Redirect to an external site without using PHP - by El Forum - 09-17-2014, 05:21 AM
Redirect to an external site without using PHP - by El Forum - 09-17-2014, 05:38 AM
Redirect to an external site without using PHP - by El Forum - 09-17-2014, 05:49 AM
Redirect to an external site without using PHP - by El Forum - 09-22-2014, 07:16 AM
Redirect to an external site without using PHP - by El Forum - 09-22-2014, 08:30 AM
Redirect to an external site without using PHP - by El Forum - 09-23-2014, 06:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB