CodeIgniter Forums
URL, routing, .htaccess?? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: URL, routing, .htaccess?? (/thread-43648.html)



URL, routing, .htaccess?? - El Forum - 07-19-2011

[eluser]Unknown[/eluser]
Hello everyone!
I have a problem, I can't solve it, or I haven't found the right solution yet.

Let's say that my site is: www.mysite.com
I have a website with flash adverts. I use clickTag to redirect for my advert ctr counter method.
http://en.wikipedia.org/wiki/Clicktag
But not everyone uses the clickTag feautre.
So I would like to catch this clicks, too. What are the best practicies?

One of these adverts has a link in the flash 'movie' (let's say www.example.com/advert), but they created this link in the flash file without "http://", and when I click to advert, it redirects me to http://www.mysite.com/actual_controller/actual_method/www.example.com/advert.
How can I redirect this to www.example.com/advert?

I'm using .htaccess file to remove index.php, uri_protocol=AUTO. and base_url=http://www.mysite.com.

Thank you!
Gabor