I can't find HTML in header that I put there
Author: William T.
Visited 1956,
Followers 1,
Shared 0
I put some html code in my header... Now I want to take it out. Problem is I can't find it even though I know it is there. (see attachment)..
The code I want to remove sends the peson going to the web site to a different place if they are on a mobile device .... "http://photoapps.tuckpixs.com/portraitphotos/tuckpixs1");
}....
Posted on the
Hello William,
This is the code you're looking for:
<script>
if (/Android|iPhone|iPad|iPod|IEMobile/i.test(navigator.userAgent) )
{
[removed].assign("http://photoapps.tuckpixs.com/portraitphotos/tuckpixs1");
}
</script>
And you will probably find it in Step 2 Map Creation by highlighting the page in the sitemap, then clicking on the 'Properties' button on the right-hand side of the screen. In the new window which opens go to the 'Expert' tab... then check the following two locations in the Custom Code drop-down menu (see screenshot attached):
Let us know how you get on.
Paul
Look also in Step 4 Advanced Settings > Statistics, SEO and Code > Expert tab... and then in the same two places as above in the Custom Code drop-down menu.
The solution will be the former if you added the JavaScript to one page only, or the latter if you added it globally across the entire project.