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

Microsoft pays Facebook to put Bing on logout page

Facebook got its first customer for the logout page, and the customer is also OS giant Microsoft . Now, it may bee soon that you will get to see Bing page as you logout of the Facebook, though some of the people have got it already as it is testing phase . This step is taken by Microsoft to save its search engine so called BING 'Bing Is Not Google' . Microsoft has been spending millions of dollars to increase Bing's market share so this

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.

How to change width of Google+ Badge using CSS

The problem all the bloggers and sites are finding to customize (especially change the width) the Google+ Badge. Now the problem is that most of the templates have 250px sidebar but the Google+ Badge width is 300px.