Showing posts with label Redirect. Show all posts
Showing posts with label Redirect. Show all posts

Thursday, January 12, 2012

Javascript For Redirection

In Previous Post We' Have Posted a Technique For Redirecting using "Meta Tags" .In This Post We Would Like To Present An Another Way of Redirecting Using "java Script". 


Redirection Using JavaScripts is Pretty Simple And Effective. This Method of Redirection Is Also more Search Engine Friendly. 


Follow these Steps To Redirect to a New Blog Address.



1. Login to Your dashboard--> layout- -> Edit HTML.


2.Scroll Down or find <head> Tag.


3.Paste The Following Code With Your New Blog Address.

<script type='text/javascript'>
strLoc=window.location.href;
var newLoc = strLoc.replace("Old Blogger Domain","New Blog");
window.location.replace(newLoc);
</script>



For Ex: I Want To Redirect My Traffic From My Older Blog "www.atozlyrics.blogspot.com" To New Blog Address "www.fuckyeahlyrics.blogspot.com"


Code For This As Follows:


<script type='text/javascript'>
strLoc=window.location.href;
var newLoc = strLoc.replace("atozlyrics","fuckyeahlyrics");
window.location.replace(newLoc);
</script>


Monday, January 9, 2012

How To Redirect Blogger URL To Another URL

Redirection Helps you Allot in Improving Your Traffic From Your Previous blog to New Blog Address.There Could Be Number of reasons you may Want the Visitors automatically Redirect To Your new Address.For ex You Have A Blog Which Give You a Decent Amount of unique Visits Daily,You Planned To move Your Blog to a New Address Either a New Sub Domain or A Hosted Domain, Redirection Helps to ensure The Traffic get To Your New Place.


There Are So Many Ways of Redirecting A Blog, we Can Do This by using java scripts or Meta tag or Php Code.
This Post Explains You Simple Way To Redirect By "Meta tags".


Steps To Be Followed.
1. Login to Your dashboard--> layout- -> Edit HTML.


2.Scroll Down or find <head> Tag.

<head>

3.Copy And Paste The Following Code Directly Below / Under <head>

<meta content='5;url=http://www.example.com/' http-equiv='refresh'/>
Note:


1. Replace http://www.example.com/ In Blue With The URL You Want To Forward To.


2. The Number 5 denotes the Time after which user is directed to new Url.


Step 4. Save your template.