17th Jan 2015, 04:23 PM | #1 |
Warrior Member Join Date: 2014
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
I am running a campaign with Bing ads sending visitors to my landing page. I want to make it so that when the person searches for "red widget" and then clicks on my ad, the landing page they are sent to contains the words "red widget" in various places I specify. I have tried to append ?kw={keyword} to the end of my destination URL in the Bing ads editor but this does not work. With ?kw={keyword} at the end of my destination URL, the page doesn't open and comes back with the following error: The URI you submitted has disallowed characters. I fixed this error by going into my config.php file (my site is built on the codeigniter php framework) and allowing ?&= characters. The page still does not work. So now when I am at mysite.com/ladingpage.php?kw=somekeyword the page doesn't work, because there is no such page. Whenever I can get the page to display with the ?kw= appended, I was going to try and read it with Code: <? echo $_GET['kw'] ?> |
18th Jan 2015, 11:25 AM | #2 |
Warrior Member Join Date: 2014
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
Well right now I am looking into Codeigniter being the problem here. Something about the way CI handles a url with parameters. It looks like CI may treat a url with a parameter as a compelte url instead or just loading the original page and separating the params from the url. I spent hours looking into this yesterday and probably several more hours today. If anyone can save me a few hours of research into this problem and provide some insight as to a working solution I would really appreciate it.
|
Bookmarks |
Tags |
ads, bing, dynamically, insert |
| |