<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Blog Marketing Academy - Latest Comments in How To Replace Your WordPress Search With Google</title><link>http://davidrisley.disqus.com/</link><description></description><atom:link href="https://davidrisley.disqus.com/how_to_replace_your_wordpress_search_with_google/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 28 Feb 2012 19:43:10 -0000</lastBuildDate><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-451760242</link><description>&lt;p&gt;Is there a wordpress plugin, that can simply plugged into wordpress ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marvin J</dc:creator><pubDate>Tue, 28 Feb 2012 19:43:10 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-375633091</link><description>&lt;p&gt;No a days many people do this and it has worked them to start making money.....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">How to make money with AdSense</dc:creator><pubDate>Tue, 29 Nov 2011 23:55:11 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-191931093</link><description>&lt;p&gt;Hi David,&lt;br&gt;I recently came across this post at looking for a way to embed Google search in my blog. So first off - thanks! your guide has helped a lot! :-)&lt;br&gt;If I might suggest a way to actually add the search result page as a part of the theme itself:&lt;br&gt;Before actually getting the code from Google:&lt;br&gt;Add a new file under your theme folder.&lt;br&gt;Call it "Google_search_results.php"&lt;br&gt;At the very beginning of the file, between the php brackets, add this comment:&lt;br&gt;/*&lt;br&gt;* Template Name: Google search results&lt;br&gt;*/&lt;br&gt;Then copy and paste into the file, the get_header(), get_sidebar() and get_footer() code, according to your theme&lt;br&gt;Save the file&lt;/p&gt;&lt;p&gt;In the admin area create a new page&lt;br&gt;Call it "Google search results"&lt;br&gt;Set its visibility to private&lt;br&gt;Select its template to "Google search result" &lt;br&gt;Copy the URL of the page from the "Permalink" line.&lt;br&gt;This URL should be registered under google Adsense.&lt;/p&gt;&lt;p&gt;Tehn, go to your Google adsense account and create the code, registering the url of the new page as the search result page location.&lt;/p&gt;&lt;p&gt;Good luck!&lt;br&gt;Michal&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michal</dc:creator><pubDate>Tue, 26 Apr 2011 03:44:16 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-81137380</link><description>&lt;p&gt;Thanks David for the excellent info.  I used it on my site and had the php errors on line 4 and 6 at first.  Thanks to the commenters for listing the fixes.  Also, I installed the php file in the theme folder instead of the root, which was another problem.  Re-read your instructions and all is working like a charm. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">byChai</dc:creator><pubDate>Mon, 27 Sep 2010 10:21:46 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-33302632</link><description>&lt;p&gt;Weird.  This worked for a while then conked out....  what would cause that? &lt;a href="http://www.triplepundit.com" rel="nofollow noopener" target="_blank" title="www.triplepundit.com"&gt;www.triplepundit.com&lt;/a&gt; - disqus keeps killing my links, otherwise you could see...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Aster</dc:creator><pubDate>Tue, 09 Feb 2010 15:26:36 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-33211481</link><description>&lt;p&gt;Hey, this is great thanks!  I can get the thing to work, but only if I totally ignore the theme and just paste raw google results on an unformatted page - see if for yourself here.&lt;/p&gt;&lt;p&gt;Works, but ugly.  In this case, I just ignored your template all together and only pasted the code google gave me.  If I use your template, I get a blank page for my results.  I wonder if it's related to the location of search.php - in the root, whereas the other wordpress files are in /wordpress.  However, messing with the required URL above doesn't help.&lt;/p&gt;&lt;p&gt;I have no idea how to work with PHP, so I'm kinda screwed unless someone knows something obvious to look for?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Aster</dc:creator><pubDate>Tue, 09 Feb 2010 02:03:04 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-32719878</link><description>&lt;p&gt;I was looking for ways to include Google Search in my WordPress Blog and have found your post which is very interesting. You are describing process where template url searchresulst.php is used directly without mentioning need for creation of actual page.&lt;/p&gt;&lt;p&gt;Are you saying that this url is sufficient and static page using template searchresults.php is not needed? If so, this is most useful piece of advice on this topic I have found to date.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MD</dc:creator><pubDate>Fri, 05 Feb 2010 06:59:42 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-32332935</link><description>&lt;p&gt;im getting a 404 error when doing a search. guess I did something wrong. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">not working for me. </dc:creator><pubDate>Mon, 01 Feb 2010 19:00:54 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-30199665</link><description>&lt;p&gt;This is great! Very useful tutorial.Thanks for the post and for providing such useful tips. Thanks for the post. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rainbowskill</dc:creator><pubDate>Mon, 18 Jan 2010 04:12:28 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-29615341</link><description>&lt;p&gt;Don't forget to go into general-template.php to modify function get_search_form() with your new Google search form.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dX</dc:creator><pubDate>Wed, 13 Jan 2010 04:29:40 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-27778626</link><description>&lt;p&gt;I too was getting the following error:&lt;/p&gt;&lt;p&gt;'Syntax error: Unexpected "/" in line 4'.&lt;/p&gt;&lt;p&gt;You need to change the apostrophes in this line (line 4) to quotation marks to fix this.&lt;/p&gt;&lt;p&gt;So where it says:&lt;/p&gt;&lt;p&gt;require('./wp-config.php');&lt;/p&gt;&lt;p&gt;Change both the apostrophes to quotation marks.&lt;/p&gt;&lt;p&gt;For those who are getting the line 6 error, I suspect the converse is true. You need to change to quotation marks to apostrophes, but I'm not entirely sure.&lt;/p&gt;&lt;p&gt;Thank you for this tutorial. I had problems getting this to look right with my website. The header appears fine, but the sidebar does not appear correctly, it appears below the search results. I simply removed the sidebar code. I also had to center the search results in the searchresults.php to get it to look half decent. It's a bit rough looking--the iFrame looks kind of dumb in general--but it gets the job done.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan</dc:creator><pubDate>Fri, 01 Jan 2010 15:57:21 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357671</link><description>&lt;p&gt;Yeah, same here.  I would add the search for visitor value but adsense in the past only served to diluted site sales.  But a great tool for visitor value nonetheless&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Boat Rod</dc:creator><pubDate>Tue, 28 Jul 2009 18:58:39 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357670</link><description>&lt;p&gt;David thanks, you give some great information. I am about to start a new self hosted WP blog and I will definitely use a Google search box.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vincent Adams</dc:creator><pubDate>Tue, 28 Jul 2009 12:59:40 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357669</link><description>&lt;p&gt;Hi David,&lt;/p&gt;&lt;p&gt;I confess this had never even entered my head to do. But its a neat way to make sure that your visitors can search with the most powerful engine online.&lt;/p&gt;&lt;p&gt;I am not myself a Fan of adsense though. I find adsense too low on the money earning tree to be of any serious use, unless you have a whole bunch of specialty blogs, then it adds up.&lt;/p&gt;&lt;p&gt;Thanks for the tip&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kevin Baker</dc:creator><pubDate>Fri, 17 Jul 2009 09:00:33 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357668</link><description>&lt;p&gt;Very usefull tutorial. My adsense for search eCPM is always higher than adsense for content... This should boost my earning a little :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Abeon Tech</dc:creator><pubDate>Tue, 14 Jul 2009 17:07:23 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357666</link><description>&lt;p&gt;Hmmmm. I tried this, but not all of my pages appear to be indexed. I guess this won't work for me. Bummer :( Will doing this cause google to hit my site more and better index it? I look at network traffic and see a ton from google, yet still not all my pages are returning.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cathy</dc:creator><pubDate>Mon, 13 Jul 2009 06:54:40 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357665</link><description>&lt;p&gt;For those with the parsing errors, if you just did a copy and paste on the code you need to manually edit the searchresults.php file with a text editor and change the 's in line's 4 and 6.  If you need more help post your error.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike</dc:creator><pubDate>Wed, 10 Jun 2009 10:38:00 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357664</link><description>&lt;p&gt;Hi David,&lt;/p&gt;&lt;p&gt;Thank you for the tip. I agree with you, that many bloggers certainly are not aware of the fact, that they can use Google as their search engine.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">carvlc</dc:creator><pubDate>Sat, 23 May 2009 03:53:53 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357663</link><description>&lt;p&gt;Thank you so much for this alternative for integrating Google Search into Wordpress.&lt;/p&gt;&lt;p&gt;So far it's working great on my blog.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vu Tong</dc:creator><pubDate>Fri, 27 Mar 2009 03:17:52 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357662</link><description>&lt;p&gt;I like the idea, but it seems quite hard to change the style of google search results page, while my theme has very nice layout of search results.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chinese Girl</dc:creator><pubDate>Thu, 12 Feb 2009 11:39:12 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357661</link><description>&lt;p&gt;Jon, please let us know more about your plan to use Google to search across a network of sits. I'd love to do something like that for several of my sites.&lt;/p&gt;&lt;p&gt;To those with parsing errors: I'm receiving the same error and have had to remove the Google search boxes until I get it figured out or a post here gives the solution. Anyone with any ideas? I'm willing to try various things and promise not to flame you if it doesn't work (:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kathleane</dc:creator><pubDate>Sun, 01 Feb 2009 13:03:48 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357660</link><description>&lt;p&gt;An even better strategy is to use Google to search across a network of your sites if you have more than one... something I am working on at the moment.&lt;/p&gt;&lt;p&gt;Jon&lt;br&gt;&lt;a href="http://2xStocks.com" rel="nofollow noopener" target="_blank" title="http://2xStocks.com"&gt;http://2xStocks.com&lt;/a&gt;&lt;br&gt;Doubling my money, one stock at a time&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon</dc:creator><pubDate>Mon, 12 Jan 2009 04:47:10 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357659</link><description>&lt;p&gt;In reply to Malaika Morris:&lt;/p&gt;&lt;p&gt;This is rather weird; as your script is seemingly showing a syntax error on  line 4, from what I read above, and mine is showing on line 6. As far as I can see there are no instances of "/" on lines 4 or 6; unless I'm reading it wrong. I take it we're both using the same script?&lt;/p&gt;&lt;p&gt;I'm still a php ameteur at best; so I've shelved this project for now pending review on David's return. The search results page script is still on my server, but I've removed the search box scripts from the pages and sidebar where I'd inserted them for the time being as they're not working and returning the parse error.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sharron Field</dc:creator><pubDate>Fri, 09 Jan 2009 20:55:01 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357658</link><description>&lt;p&gt;Has anyone else figured out how to correct this error. It's similar to the one Sharron had above&lt;/p&gt;&lt;p&gt;Parse error: syntax error, unexpected '/' in ... on line 4&lt;/p&gt;&lt;p&gt;I keep changing things but can't get it to work.&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Malaika Morris</dc:creator><pubDate>Thu, 08 Jan 2009 15:45:10 -0000</pubDate></item><item><title>Re: How To Replace Your WordPress Search With Google</title><link>http://www.blogmarketingacademy.com/how-to-replace-your-wordpress-search-with-google/#comment-14357656</link><description>&lt;p&gt;The great part about this is that it is the whole procedure, for the most part.  Someone that wants to make the switch to using Google search on their own site will remember to bookmark this or search for it when they are planning to do it.  It makes sense that Google would require AdSense setup before their services could be used.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Armen Shirvanian</dc:creator><pubDate>Sat, 03 Jan 2009 17:22:09 -0000</pubDate></item></channel></rss>