Skip to main content

Setup your domain to redirect to Google+ Page or Profile by adding '/+'


Google has released google.com/+toyota vanity url's for some top brands and people. You can setup your domain to redirect to Google+  page or profile by http://yourdomain.com/+

example: http://technews.iteching.info/+ redirects to +Tech News 

You can do this by using some simple methods and tricks.


PHP - In .htaccess

RedirectMatch ^/\+(.*)$ http://plus.google.com/YOUR G+ PROFILE ID$1

or you can directly

Redirect / http://plus.google.com/<your g+ Profile id>


Rails - visit this link http://jarinheit.posterous.com/how-to-redirect-to-your-google-plus-profile-w


Windows Servers - In web.config

<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect to Google+" stopProcessing="true">
<match url="\+" />
<conditions>
<add input="{HTTP_HOST}" pattern="^domain.com$" />
</conditions>
<action type="Redirect" url="http://plus.google.com/YOUR G+ PROFILE ID"
redirectType="Permanent" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>


lighttpd - (I don't know much about this)
needs mod_redirect

url.redirect = (
"^/\+.*$" => "https://plus.google.com/YOUR G+ PROFILE ID"
)

If you something more tell us.

Comments

  1. Hello There. I found your blog using msn. This is a really
    well written article. I will make sure to bookmark it and come
    back to read more of your useful info. Thanks for the post.
    I will certainly comeback.
    My web-site ... nfl games online

    ReplyDelete

Post a Comment

Popular posts from this blog

Basics Of HTML5 for beginners Part II

In the previous HTML5 tutorial ( Basics Of HTML5 for beginners Part I ). I showed some very basic tags. In this I am going to give information about some useful but easy tags and attributes which was not possible with the earlier versions of HTML. They can be helpful in making a site dynamic and in designing. As you know that HTML5 has made the life of blogger and designers HELL!! easy earlier long and complicated JavaScripts were used for some of the functions now that functions can be used as tags in the newer version of HTML.

JQuery Plugins Site Down

Two three days before when I entered to  http://plugins.jquery. com   I thought it might be a small error and will be fixed in a hour or so . But, when I returned it showed the same message COME BACK LATER.