Hello Everyone, I am developing my site. I am using TheStyle Wordpress theme in it. My every post is redirected to some other websites. And as they are redirecting I am loosing visitors to other site, I want to keep visitors on my site by in such a way that the external url opens in my site url. Eg: stumbleupon - http://www.stumbleupon.com/su/1J1krv...com/gag/207886 Linkedin: http://www.linkedin.com/news?actionB...1eZ7X_46a_NkY1 I want to add same top heading bar like this sites do. Please can anyone help on this?
i think you can use i frame for this. make a php page which will catch all your external urls.over there you fetch the url structure and then you can call an iframe within the page which will call that fetched url. In this way you can show any external url or site within you own site.
Thanks pcsgroups for your reply. Actually I am newbie in programming and coding. As I m using wordperss those pHP files are blowing my mind. If you want i'll paste some codes over here. Can you just suggest me the changes on that? My website name is http://www.freaksnap.com/
I would use php your links would be something like this http://yoursite.com/showpage.php?url=http://someothersite.com/that/you/want/to/show/in/iframe Code (markup): Then in the php file showpage.php I would do something like this <?php $url = $_GET['url']; ?> <iframe src="<?php echo $url; ?>" width="100%" height="600px"> PHP: Haven't tested it but that should give you a basic idea
Thanks alot mate... It gave me an Idea that how will it work. But where to put this code? In Index.php or somewhere else?
Hey Johnny, THanks mate. My website name is http://www(dot)freaksnap(dot)com. In which I am using 1 wordpress theme. I have installed 1 quick page/post redirect plugin also. to redirect all my posts to some other site. i have used your code but i am not getting that where should i put this code. can you guide me little more