There is a bit of discussion over on the new favorite social network Google+. Some enterprising folks are copying Google’s short URL for accessing Google which appends a plus sign following the domain like so: mysticcoders.com/+. In this short article we’ll show you several methods of achieving this on your Wordpress blog from cleanest, to not.
Full privileges to web root
The most effective means of redirection is to edit the .htaccess
file in the web root:
Redirect /+ https://plus.google.com/[your-plus-id]/
No administrative rights to create .htaccess files
If you do not have access to edit the .htaccess
file on your host.
- Create a directory named
+
in the root - Edit and save a new file named index.php and insert the following block of code:
<?php
header('Location: https://plus.google.com/[your-plus-id]/');
?>
Avoid using a PHP script
If for some strange reason you’d like to avoid using PHP for any reason at all, you can follow the same steps from the second method, but instead create a file named index.html
in the +
directory with the contents:
<html>
<head>
<meta http-equiv="Refresh" content="0; url=https://plus.google.com/[your-plus-id]/" />
</head>
<body>
<a href="https://plus.google.com/[your-plus-id]/">Click here to access the Google+ profile</a>.
</body>
</html>
NOTE: If you’re using Tumblr see this great blog post about how to implement the redirection from their interface.
For updates from MG Siegler’s original post.