Forum Replies Created

Viewing 15 replies - 31 through 45 (of 59 total)
  • Thread Starter luxman

    (@luxman)

    Not sure what that is? or how that relates to the hyperlink/url?

    Thread Starter luxman

    (@luxman)

    <?php echo network_site_url(); ?>

    doesnt work either, I’m guessing it’s the same code as above, just for multisite purposes?

    Thread Starter luxman

    (@luxman)

    <?php get_site_url(); ?> = domain.com/

    domain.com/site1/about
    domain.com/site2/about
    domain.com/site3/about

    What’s the direct php code to link to these separate sites and accomplish this?

    Thread Starter luxman

    (@luxman)

    Is there a way to make the “2” a larger number?

    Thread Starter luxman

    (@luxman)

    thanks David, I’ll give it a shot!

    Thread Starter luxman

    (@luxman)

    I have multisite running, so when a user tries to access a site they aren’t part of – that message appears.

    [Topic moved to Multisite forum.]

    luxman

    (@luxman)

    anyone? I like how these kinds of threads just stop.

    Thread Starter luxman

    (@luxman)

    I copy and pasted the list into the Ban Users > Ban User Agents field; however they were reformatted and look like this:

    110\\\\\\\\\\\\\\\\\\\\\.240\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    110\\\\\\\\\\\\\\\\\\\\\.24\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    110\\\\\\\\\\\\\\\\\\\\\.45\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    110\\\\\\\\\\\\\\\\\\\\\.50\\\\\\\\\\\\\\\\\\\\\.128\\\\\\\\\\\\\\\\\\\\\.0/18
    110\\\\\\\\\\\\\\\\\\\\\.51\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    110\\\\\\\\\\\\\\\\\\\\\.52\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    110\\\\\\\\\\\\\\\\\\\\\.6\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    110\\\\\\\\\\\\\\\\\\\\\.80\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    110\\\\\\\\\\\\\\\\\\\\\.88\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    110\\\\\\\\\\\\\\\\\\\\\.8\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    110\\\\\\\\\\\\\\\\\\\\\.96\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/11
    111\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/10
    111\\\\\\\\\\\\\\\\\\\\\.160\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    111\\\\\\\\\\\\\\\\\\\\\.172\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    111\\\\\\\\\\\\\\\\\\\\\.176\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    111\\\\\\\\\\\\\\\\\\\\\.240\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    111\\\\\\\\\\\\\\\\\\\\\.72\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    112\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/10
    112\\\\\\\\\\\\\\\\\\\\\.100\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    112\\\\\\\\\\\\\\\\\\\\\.111\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    112\\\\\\\\\\\\\\\\\\\\\.121\\\\\\\\\\\\\\\\\\\\\.160\\\\\\\\\\\\\\\\\\\\\.0/19
    112\\\\\\\\\\\\\\\\\\\\\.137\\\\\\\\\\\\\\\\\\\\\.160\\\\\\\\\\\\\\\\\\\\\.0/20
    112\\\\\\\\\\\\\\\\\\\\\.144\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    112\\\\\\\\\\\\\\\\\\\\\.160\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/11
    112\\\\\\\\\\\\\\\\\\\\\.197\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    112\\\\\\\\\\\\\\\\\\\\\.213\\\\\\\\\\\\\\\\\\\\\.80\\\\\\\\\\\\\\\\\\\\\.0/20
    112\\\\\\\\\\\\\\\\\\\\\.216\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    112\\\\\\\\\\\\\\\\\\\\\.224\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/11
    112\\\\\\\\\\\\\\\\\\\\\.64\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    112\\\\\\\\\\\\\\\\\\\\\.78\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/20
    112\\\\\\\\\\\\\\\\\\\\\.80\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    113\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    113\\\\\\\\\\\\\\\\\\\\\.128\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    113\\\\\\\\\\\\\\\\\\\\\.136\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    113\\\\\\\\\\\\\\\\\\\\\.160\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/11
    113\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\\\\.0/14
    114\\\\\\\\\\\\\\\\\\\\\.134\\\\\\\\\\\\\\\\\\\\\.184\\\\\\\\\\\\\\\\\\\\\.0/21
    114\\\\\\\\\\\\\\\\\\\\\.200\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    114\\\\\\\\\\\\\\\\\\\\\.216\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    114\\\\\\\\\\\\\\\\\\\\\.224\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/11
    114\\\\\\\\\\\\\\\\\\\\\.24\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    114\\\\\\\\\\\\\\\\\\\\\.28\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    114\\\\\\\\\\\\\\\\\\\\\.29\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/17
    114\\\\\\\\\\\\\\\\\\\\\.32\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    114\\\\\\\\\\\\\\\\\\\\\.80\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    115\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    115\\\\\\\\\\\\\\\\\\\\\.100\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    115\\\\\\\\\\\\\\\\\\\\\.132\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    115\\\\\\\\\\\\\\\\\\\\\.148\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    115\\\\\\\\\\\\\\\\\\\\\.168\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    115\\\\\\\\\\\\\\\\\\\\\.16\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    115\\\\\\\\\\\\\\\\\\\\\.212\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    115\\\\\\\\\\\\\\\\\\\\\.239\\\\\\\\\\\\\\\\\\\\\.228\\\\\\\\\\\\\\\\\\\\\.0/22
    115\\\\\\\\\\\\\\\\\\\\\.24\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    115\\\\\\\\\\\\\\\\\\\\\.32\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    115\\\\\\\\\\\\\\\\\\\\\.40\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    115\\\\\\\\\\\\\\\\\\\\\.48\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    115\\\\\\\\\\\\\\\\\\\\\.68\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    115\\\\\\\\\\\\\\\\\\\\\.72\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    115\\\\\\\\\\\\\\\\\\\\\.80\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    115\\\\\\\\\\\\\\\\\\\\\.84\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/18
    115\\\\\\\\\\\\\\\\\\\\\.84\\\\\\\\\\\\\\\\\\\\\.176\\\\\\\\\\\\\\\\\\\\\.0/22
    115\\\\\\\\\\\\\\\\\\\\\.85\\\\\\\\\\\\\\\\\\\\\.144\\\\\\\\\\\\\\\\\\\\\.0/20
    115\\\\\\\\\\\\\\\\\\\\\.87\\\\\\\\\\\\\\\\\\\\\.128\\\\\\\\\\\\\\\\\\\\\.0/17
    115\\\\\\\\\\\\\\\\\\\\\.88\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    116\\\\\\\\\\\\\\\\\\\\\.112\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    116\\\\\\\\\\\\\\\\\\\\\.120\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    116\\\\\\\\\\\\\\\\\\\\\.128\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/10
    116\\\\\\\\\\\\\\\\\\\\\.12\\\\\\\\\\\\\\\\\\\\\.48\\\\\\\\\\\\\\\\\\\\\.0/21
    116\\\\\\\\\\\\\\\\\\\\\.14\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    116\\\\\\\\\\\\\\\\\\\\\.16\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    116\\\\\\\\\\\\\\\\\\\\\.197\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/17
    116\\\\\\\\\\\\\\\\\\\\\.1\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    116\\\\\\\\\\\\\\\\\\\\\.204\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    116\\\\\\\\\\\\\\\\\\\\\.206\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    116\\\\\\\\\\\\\\\\\\\\\.208\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    116\\\\\\\\\\\\\\\\\\\\\.251\\\\\\\\\\\\\\\\\\\\\.223\\\\\\\\\\\\\\\\\\\\\.0/24
    116\\\\\\\\\\\\\\\\\\\\\.254\\\\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\\\\\\.21\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    117\\\\\\\\\\\\\\\\\\\\\.22\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    117\\\\\\\\\\\\\\\\\\\\\.24\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    117\\\\\\\\\\\\\\\\\\\\\.32\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13
    117\\\\\\\\\\\\\\\\\\\\\.40\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/14
    117\\\\\\\\\\\\\\\\\\\\\.44\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    117\\\\\\\\\\\\\\\\\\\\\.47\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    117\\\\\\\\\\\\\\\\\\\\\.79\\\\\\\\\\\\\\\\\\\\\.224\\\\\\\\\\\\\\\\\\\\\.0/20
    117\\\\\\\\\\\\\\\\\\\\\.80\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    118\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/12
    118\\\\\\\\\\\\\\\\\\\\\.100\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/15
    118\\\\\\\\\\\\\\\\\\\\\.106\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/16
    118\\\\\\\\\\\\\\\\\\\\\.112\\\\\\\\\\\\\\\\\\\\\.0\\\\\\\\\\\\\\\\\\\\\.0/13

    am I doing something wrong?

    should they be in the Ban Hosts field instead?

    Thread Starter luxman

    (@luxman)

    I’m not looking for a file though… just the directory.

    Thread Starter luxman

    (@luxman)

    I tried echo getcwd(); and I got – /home/user/public_html/demosite.com

    so that means the 404.php is on the root domain, even though i’m viewing https://www.demosite.com/find/whatever ?

    Thread Starter luxman

    (@luxman)

    All I’m getting is – Folder: ”

    so I guess I have the wrong path? How would I go about finding the right one?

    thanks

    Thread Starter luxman

    (@luxman)

    I’m trying:

    <?php
        $filename = "/find";
        if (is_dir($filename)){
        echo "<h1>hello</h1>";
        }
        else{
        echo "<h1>nope</h1>";
        }
        ?>

    But it doesn’t work. The word “nope” appears on both:

    https://www.demosite.com/about/whatever

    https://www.demosite.com/find/whatever

    I’d like to have “hello” appear under the /find/whatever pages.

    Thread Starter luxman

    (@luxman)

    Not sure what you mean by that…

    I created another .htaccess with ErrorDocument 404 /custom/404-old.php

    and placed it in the /custom/ folder but it still shows the generic 404 template.

    Thread Starter luxman

    (@luxman)

    I tried:

    ErrorDocument 404 custom/404.html

    within the .htaccess file but nothing happens… Plus I think that would just override everything to 1 404 page, not the two that I want?

    Thread Starter luxman

    (@luxman)

    I’m already getting all of them! Haha. My business only caters to people within the US, so it doesn’t matter if I block the rest of the world.

Viewing 15 replies - 31 through 45 (of 59 total)