Wednesday, September 9, 2015

Goolge Plus Merge Pages with Places Page

Follow the instructions bellow to merge your places page with a normal google plus page.

Situation in brief: I created a very new places page for my company in google plus and our company already having a google plus page.

In your Company / Places Page Account:
  1. Go to Dashboard
  2. Right Top side, there is a Gear Icon click on there and go to settings.
  3. Under the Profile section find "Connect Different Page" button.


Add next and finish your final steps.

Monday, January 26, 2015

PHP Clean URL for SEO

function seo_uri($phrase, $maxLength=50){
  $result = strtolower($phrase);
  $result = preg_replace("/[^a-z0-9\s-]/", "", $result);
  $result = trim(preg_replace("/[\s-]+/", " ", $result));
  $result = trim(substr($result, 0, $maxLength));
  $result = preg_replace("/\s/", "-", $result);
  return $result;
}