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.
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.
Giving:
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.htmlUsing 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: /I could change the Home page of this blog, to start all new readers on the Topics Index page.
To: /2012/12/redirecting-any-url-in-your-blog-to.html
From: /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.
To: /p/topics.html
From: /2012/12/redirecting-any-urls-in-your-blog.htmlTo get the "From" and "To" values for any redirection, I simply take any two URLs in the same blog. Choose any two examples.
To: /2012/12/redirecting-any-url-in-your-blog-to.html
The Home page: http://www.usefultricks.tk/And drop the base URL: http://blogging.nitecruzr.net
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
Giving:
The Home page: /The possibilities are endless. Just use common sense.
A post: /2012/12/redirecting-any-url-in-your-blog-to.html
A static page: /p/topics.html
A label search: /search/label/Redirecting
0 comments:
Click Here To add Comment
Blogger Widgets