Tumblr personal domain issues - bypassing my java script?, My personal domain seems to be bypassing my java script? |
Tumblr personal domain issues - bypassing my java script?, My personal domain seems to be bypassing my java script? |
mobkon |
Apr 17 2015, 03:22 PM
Post
#1
|
Group: Members Posts: 5 Joined: 17-April 15 Member No.: 22,497 |
Hey all -
Trying to figure out if this is an issue with my domain name provider or tumblr... I have my tumblr page set up so that when it goes to my main tumblr page (mydomain.tumblr.com) it gets forwarded to mydomain.tumblr.com/home I used this script: <script type="text/javascript"> if(location.href == 'http://mydomain.tumblr.com/') location.replace('http://mydomain.tumblr.com/home');; </script> and it works great and as it should. But the issue is when I point my personal domain name to my tumblr page by following these instructions: https://www.tumblr.com/docs/en/custom_domains - my page no longer gets forwarded to mydomain.tumblr.com/home - instead it just goes right to mydomain.tumblr.com and just seems to bypass the java script that I used. Any idea how I can fix this? What end does the problem lay on? Tumblr or my domain host? |
Christian J |
Apr 17 2015, 03:45 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
If I understood correctly you have a domain name like www.mywebsite.com that you want to redirect to www.mywebsite.com/home? In that case you must use those URLs in the javascript.
|
mobkon |
Apr 17 2015, 04:58 PM
Post
#3
|
Group: Members Posts: 5 Joined: 17-April 15 Member No.: 22,497 |
|
Lo-Fi Version | Time is now: 19th April 2024 - 03:15 AM |