Forum Moderators: open
primaryURL-->root/index.htm
¦
secondaryURL-->root/subdir/index.htm
I am trying to set up an orphan page reframer JavaScript. It works fine on primaryURL but I'm having trouble getting it to work on secondaryURL because the pages can be referenced by two different URL's :
primaryURL/subdir/page.htm
or
secondaryURL/page.htm
The JavaScript works using relative URL's set up either one way or the other, but I'm trying to figure out one way of relative referencing the pages within the JavaScript so that the reframer works no matter how the search engine indexes the page. Is there one relative addressing method that will cover both possibilities?
Thanks
jdkuehne