Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 01-04-2009, 12:41 PM   #1
HyperActive Warrior
War Room Member
 
Sean Bissell's Avatar
 
Join Date: Jan 2008
Location: , , .
Posts: 195
Thanks: 6
Thanked 4 Times in 3 Posts
Default Here's A Neat Dynamic Landing Page Keyword "Hack"

Hey Warriors,

After trying to figure this out for hours I thought I'd share
what I learned, just in case someone needs the info now or later.

If you're trying to create landing pages that pass keywords onto
them, then you may end up with a crazy URL string like this:

http:// www. MyDomain .com/landing-page.html?base=Washington-DC&combo=Dating-Advice&result=Washington-DC-Dating-Advice

If you want to take your "Base" "Combo" or "Result" variables and pass them to the page, then they'll probably look like this:

Washington-DC Dating-Advice

Or

Washington-DC-Dating-Advice

The problem?

They have hyphens, and that looks weird for landing pages.

So how do you get rid of the hyphens?

With this little code here:

<?php echo str_replace("-", " ", $_GET['result'])?>

(Replace 'result' with whatever variable/keyword you want to pass)

That will get rid of the hyphens.

Also, if you want to get rid of the capital letters and the hyphens, you can use this code:

<?php $result1 = str_replace("-", " ", $_GET['result']); echo strtolower($result1)?>

The only trick with that one is you are creating a new variable to pass the information to.

So you need to keep that "1" after the first and last 'result'.

Kind of confusing.

But I hope it's helpful to someone.

See ya,
-Sean
Sean Bissell is offline   Reply With Quote
Old 01-04-2009, 06:16 PM   #2
HyperActive Warrior
War Room Member
 
bshearer's Avatar
 
Join Date: Sep 2006
Location: Virginia
Posts: 263
Thanks: 5
Thanked 3 Times in 3 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to bshearer
Default Re: Here's A Neat Dynamic Landing Page Keyword "Hack"

Sean,

Yes, you have that right as far as I can tell. I cannot see my actual code
right now due to being out of town but you are close.

I do not use this technique for my Adsense sites but I would love to know
from the more senior warriors here as to whether or not this is considered
Black Hat?

I have seen some sites that appear to have thousands of pages but I
suspect they only have a few actual pages and doing some variation of
this technique.

Buddy

bshearer is offline   Reply With Quote
Old 01-04-2009, 09:11 PM   #3
Active Warrior
 
Join Date: Sep 2008
Posts: 55
Thanks: 0
Thanked 2 Times in 2 Posts
Default Re: Here's A Neat Dynamic Landing Page Keyword "Hack"

Actually you can use modproxy and modrewrite to do all that for you aside from PHP to give you friendly urls as you like.

I once had modproxy showing a complete different website and modrewrite adding a string to the address, all that invisibly

Shadi is offline   Reply With Quote
Old 01-04-2009, 09:39 PM   #4
HyperActive Warrior
 
Join Date: Jun 2008
Location: , , .
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: Here's A Neat Dynamic Landing Page Keyword "Hack"

Can you please give me where we will get information about modproxy,modrewrite?And how we have to use this.

To know more information check with this------>http://www.putonyourgoggles.com/blog...-on-the-loose/
strauss is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Adsense / PPC / SEO Discussion Forum

Tags
dynamic, hack, keyword, landing, neat, page

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 06:40 AM.