Results 1 to 8 of 8

Thread: Referring URL block / redirect script needed

  1. #1
    Join Date
    Feb 2006
    Location
    New Jersey, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Referring URL block / redirect script needed

    Hi!

    I'm looking for a script that will determine the url that a person coming onto my site is coming from.

    If it's a certain one, to block them from entering my site, or (better!) redirect them to a url of my own choosing.

    Thank you!

    Norm Vogel

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    This would be better done server-side, but anyway...
    Code:
    <script type="text/javascript">
    var fromurl = "gurgle.com"; // URL to block
    var tourl = "http://www.google.com/"; // URL to send to
    
    if(document.referrer.indexOf(fromurl) window.location.replace(tourl);
    </script>
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Feb 2006
    Location
    New Jersey, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thank You!



    Thank you so VERY much! btw....noticed the Pentagram...r u Wiccan?

    If so pls check out my site: www.witchfacts.net

    Happy Imbolc!

    Norm

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The pentagram (and pentacle) have been around for far longer than Wicca; it's only the latest in a series of religions to adopt it I was Wiccan for a few years, and still follow Wiccan philosophical and metaphysical ideas and practices, but I had some odd notions about the nature of deity that didn't fit with it (that I've been intending to write a paper on for three years), and as gods are a pretty major thing to disagree with any religion about, I no longer count myself as Wiccan. I found the sixth item on your list particularly interesting, after Bush's refusal to allow Wiccan soldiers in the US army the right to practice ritual.
    As for the difference between "witchcraft" and "Wicca," it's simple: Wicca is a religion; witchcraft is the practice of magick (using methods other than the physical to alter, or attempt to alter, the course of events) seen in many religions, although not always under the same name.
    Happy Imbolc!
    And you
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Feb 2006
    Location
    New Jersey, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Difference?

    "As for the difference between "witchcraft" and "Wicca," it's simple:"

    Not so "simple"! People have been debating/arguing/fighting over THAT for YEARS! I just use the terms interchangeably.

    Norm

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Ah, well, that's how I've always seen it Looking through the web, it does seem that a lot of people use the words interchangably as you do; however, you're the first person I've ever met who does so. They obviously aren't the same, however, as witchcraft has existed for far longer than Wicca has had its name, and possibly its existence, depending on who you believe.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Feb 2006
    Location
    New Jersey, USA
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default But.......

    "Wic", or "Wikka" is the older term! ("To Bend").

    "Witch" ("Wise One") is the (relatively) newer term......at the very TOP of my website, i discuss this.

    Norm

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    "Wic", or "Wikka" is the older term!
    But not "Wicca," the modern term derived from it. While the religion, in one of many forms, may have existed for a long time, I don't count it as having been the same religion until it was established as such, with its current name.
    However, I see your point
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •