Create a Redirect to your Google+ Profile

April 2, 2009: RIP Google+. 🙁

It is pretty simple to setup your domain to redirect to your Google+ profile.  For example, I have https://techish.net/+ which redirects to my Google+ profile.  This is handy instead of having to link to your Google+ profile manually or using a third-party service.  Keeps everything in your control.  =)

Apache

If you are using Apache, modify your .htaccess file and include the following lines.

<IfModule mod_rewrite.c>
RewriteEngine On
Redirect /+ https://plus.google.com/your_google_plus_profile_id/
</IfModule>

Nginx

If you are using Nginx, modify your nginx.conf file and put the following line within your location {} stanza.

rewrite ^/+ https://plus.google.com/your_google_plus_profile_id/ permanent;

Published by

Rich

Just another IT guy.

2 thoughts on “Create a Redirect to your Google+ Profile”

    1. Yes, I was getting tired of looking up my G+ profile ID and wanted to be able to control it myself (redirect) instead of a third party URL forwarder.

Leave a Reply to Seth Leedy Cancel reply

Your email address will not be published. Required fields are marked *