Create a Redirect to your Google+ Profile

This content 8 years old. Please, read this page keeping its age in mind along with the fact technology changes fast and the information on this page me be outdated, not best practice, or plain wrong.

width=90It 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;

Comments

  1. Great idea.

Speak Your Mind

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.