{"id":1192,"date":"2015-09-11T04:24:03","date_gmt":"2015-09-11T04:24:03","guid":{"rendered":"http:\/\/elbsolutions.com\/projects\/?p=1192"},"modified":"2022-02-03T11:24:36","modified_gmt":"2022-02-03T17:24:36","slug":"cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen","status":"publish","type":"post","link":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/","title":{"rendered":"Can&#8217;t wait for Google SEO to kick in? Highjack another site&#8217;s code and make it happen"},"content":{"rendered":"<p>I have 2 clients now that used to be one. The preschool is new and the community centre it is located in also is my client. So &#8211; all the major listing sites like yellow pages and the local provincial (state) sites come up 1st and second in a google search. Those listing say deerruncalgary.com as the website for both the centre and the preschool. So &#8211; with some simple php, here is how to make the preschool forward to the preschool\u00a0site when the centre&#8217;s website is clicked on from yellow pages and the like &#8230; <!--more-->In the index.php for the centre&#8217;s wordpress &#8211; add this<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\r\nif ($url = parse_url($_SERVER&#x5B;'HTTP_REFERER'])) {\r\n\r\n\/\/printf($url);\r\n\r\n$host = str_replace(&quot;www.&quot;, &quot;&quot;,$url&#x5B;'host']);\r\n$path = $url&#x5B;'path'];\r\n\r\nif ($url&#x5B;'host'] = &quot;yellowpages.ca&quot; &amp;&amp; stripos($url&#x5B;'path'],&quot;preschooler-playhouse&quot;) !== false) {\r\nheader(&quot;Location: http:\/\/preschoolerplayhouse.com\/&quot;);\r\nexit;\r\n}\r\nif ($url&#x5B;'host'] = &quot;informalberta.ca&quot; &amp;&amp; stripos($url&#x5B;'query'],&quot;servicequeryid=3645&quot;) !== false) {\r\n\/\/ http:\/\/www.informalberta.ca\/public\/service\/serviceProfileStyled.do?serviceQueryId=3645\r\nheader(&quot;Location: http:\/\/preschoolerplayhouse.com\/&quot;);\r\nexit;\r\n\r\n}\r\n}\r\n\r\n&amp;nbsp;\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have 2 clients now that used to be one. The preschool is new and the community centre it is located in also is my client. So &#8211; all the major listing sites like yellow pages and the local provincial (state) sites come up 1st and second in a google search. Those listing say deerruncalgary.com [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1192","post","type-post","status-publish","format-standard","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Can&#039;t wait for Google SEO to kick in? Highjack another site&#039;s code and make it happen - ELB Solutions.com Inc.<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Can&#039;t wait for Google SEO to kick in? Highjack another site&#039;s code and make it happen - ELB Solutions.com Inc.\" \/>\n<meta property=\"og:description\" content=\"I have 2 clients now that used to be one. The preschool is new and the community centre it is located in also is my client. So &#8211; all the major listing sites like yellow pages and the local provincial (state) sites come up 1st and second in a google search. Those listing say deerruncalgary.com [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/\" \/>\n<meta property=\"og:site_name\" content=\"ELB Solutions.com Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-11T04:24:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-03T17:24:36+00:00\" \/>\n<meta name=\"author\" content=\"Etienne Bley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Etienne Bley\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/\"},\"author\":{\"name\":\"Etienne Bley\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"headline\":\"Can&#8217;t wait for Google SEO to kick in? Highjack another site&#8217;s code and make it happen\",\"datePublished\":\"2015-09-11T04:24:03+00:00\",\"dateModified\":\"2022-02-03T17:24:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/\"},\"wordCount\":210,\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/\",\"name\":\"Can't wait for Google SEO to kick in? Highjack another site's code and make it happen - ELB Solutions.com Inc.\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\"},\"datePublished\":\"2015-09-11T04:24:03+00:00\",\"dateModified\":\"2022-02-03T17:24:36+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Can&#8217;t wait for Google SEO to kick in? Highjack another site&#8217;s code and make it happen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#website\",\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/\",\"name\":\"ELB Solutions.com Inc.\",\"description\":\"Bringing all your IT Pieces together\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/#\\\/schema\\\/person\\\/51e717c68f4f5917c63baf88f0896c39\",\"name\":\"Etienne Bley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g\",\"caption\":\"Etienne Bley\"},\"url\":\"https:\\\/\\\/elbsolutions.com\\\/projects\\\/author\\\/etienne-bley\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Can't wait for Google SEO to kick in? Highjack another site's code and make it happen - ELB Solutions.com Inc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/","og_locale":"en_US","og_type":"article","og_title":"Can't wait for Google SEO to kick in? Highjack another site's code and make it happen - ELB Solutions.com Inc.","og_description":"I have 2 clients now that used to be one. The preschool is new and the community centre it is located in also is my client. So &#8211; all the major listing sites like yellow pages and the local provincial (state) sites come up 1st and second in a google search. Those listing say deerruncalgary.com [&hellip;]","og_url":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/","og_site_name":"ELB Solutions.com Inc.","article_published_time":"2015-09-11T04:24:03+00:00","article_modified_time":"2022-02-03T17:24:36+00:00","author":"Etienne Bley","twitter_misc":{"Written by":"Etienne Bley","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/#article","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/"},"author":{"name":"Etienne Bley","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"headline":"Can&#8217;t wait for Google SEO to kick in? Highjack another site&#8217;s code and make it happen","datePublished":"2015-09-11T04:24:03+00:00","dateModified":"2022-02-03T17:24:36+00:00","mainEntityOfPage":{"@id":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/"},"wordCount":210,"articleSection":["General"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/","url":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/","name":"Can't wait for Google SEO to kick in? Highjack another site's code and make it happen - ELB Solutions.com Inc.","isPartOf":{"@id":"https:\/\/elbsolutions.com\/projects\/#website"},"datePublished":"2015-09-11T04:24:03+00:00","dateModified":"2022-02-03T17:24:36+00:00","author":{"@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39"},"breadcrumb":{"@id":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/elbsolutions.com\/projects\/cant-wait-for-google-seo-to-kick-in-highjack-another-sites-code-and-make-it-happen\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/elbsolutions.com\/projects\/"},{"@type":"ListItem","position":2,"name":"Can&#8217;t wait for Google SEO to kick in? Highjack another site&#8217;s code and make it happen"}]},{"@type":"WebSite","@id":"https:\/\/elbsolutions.com\/projects\/#website","url":"https:\/\/elbsolutions.com\/projects\/","name":"ELB Solutions.com Inc.","description":"Bringing all your IT Pieces together","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elbsolutions.com\/projects\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/elbsolutions.com\/projects\/#\/schema\/person\/51e717c68f4f5917c63baf88f0896c39","name":"Etienne Bley","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f8971dfb65b25b768415568f83247df4057f15d037137e386928a804e2c997b9?s=96&d=mm&r=g","caption":"Etienne Bley"},"url":"https:\/\/elbsolutions.com\/projects\/author\/etienne-bley\/"}]}},"_links":{"self":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/1192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/comments?post=1192"}],"version-history":[{"count":2,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/1192\/revisions"}],"predecessor-version":[{"id":1194,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/posts\/1192\/revisions\/1194"}],"wp:attachment":[{"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/media?parent=1192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/categories?post=1192"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elbsolutions.com\/projects\/wp-json\/wp\/v2\/tags?post=1192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}