Redirecting Any URL In Your Blog, To Another URL In Your Blog


Several months ago, Blogger Engineering gave us a new Blogger feature - the ability to redirect any URL in a blog, to any other URL in the blog. Like any feature, we found an immediate use for it - something much requested, for a good while.

Other people have found more uses for the redirection feature - and still others have found confusion. The syntax used in the redirection "From" and "To" values is not always obvious - and occasionally there is confusion about what can and can't be done with redirection.

This is the URL of this post.
http://www.usefultricks.tk/2012/12/redirecting-any-url-in-your-blog-to.html
Using the redirection feature, I can redirect another URL to this post - or conversely, I can redirect the URL of this post to another URL.

Both the "From" and "To" values in the redirection accept any blog URL, less the base URL of the blog. This keeps all redirections within the blog itself.

The initial use for the redirection feature (at least, for me) was to replace the Home page of the blog, with another page or post - possibly, this post.
From: /
To: /2012/12/redirecting-any-url-in-your-blog-to.html
I could change the Home page of this blog, to start all new readers on the Topics Index page.
From: /
To: /p/topics.html
If I was to change the Title of this post, when re published, the URL would not change. If I wanted to change the URL of this post, I could redirect the desired URL, to the actual URL.
From: /2012/12/redirecting-any-urls-in-your-blog.html
To: /2012/12/redirecting-any-url-in-your-blog-to.html
To get the "From" and "To" values for any redirection, I simply take any two URLs in the same blog. Choose any two examples.
The Home page: http://www.usefultricks.tk/
A post: http://www.usefultricks.tk/2012/12/redirecting-any-url-in-your-blog-to.html
A static page: http://www.usefultricks.tk/p/topics.html
A label search: http://www.usefultricks.tk/search/label/Redirecting
And drop the base URL: http://blogging.nitecruzr.net

Giving:
The Home page: /
A post: /2012/12/redirecting-any-url-in-your-blog-to.html
A static page: /p/topics.html
A label search: /search/label/Redirecting
The possibilities are endless. Just use common sense.

Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter

0 comments:

Click Here To add Comment

PAGE RANK

Page Rank
 

| USEFUL TRICKS- InVaDeR © 2012. All Rights Reserved | Template Style by Abhidinvader