![]() | | ||||||||
| | #1 |
| HyperActive Warrior War Room Member Join Date: Jan 2008 Location: , , .
Posts: 195
Thanks: 6
Thanked 4 Times in 3 Posts
|
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 |
| | |
| | #2 |
| HyperActive Warrior War Room Member Join Date: Sep 2006 Location: Virginia
Posts: 263
Thanks: 5
Thanked 3 Times in 3 Posts
|
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 |
| | |
| | |
| | #3 |
| Active Warrior Join Date: Sep 2008
Posts: 55
Thanks: 0
Thanked 2 Times in 2 Posts
|
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 |
| | |
| | |
| | #4 |
| HyperActive Warrior Join Date: Jun 2008 Location: , , .
Posts: 217
Thanks: 0
Thanked 1 Time in 1 Post
|
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/ | |
| | |
![]() |
|
| Tags |
| dynamic, hack, keyword, landing, neat, page |
| Thread Tools | |
| |
![]() |