• Hey all: I’m wondering if there are some .htaccess gurus that can help me out. I manage a large gaggle of WP-powered Weblogs, and from time to time, folks ask for me to shut their Weblogs down. I’ve got a great system for shutting everything down, but the only thing that I don’t have is .htaccess that works for all cases. Here’s what I have now:


    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /(username)/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^$ - [G]
    </IfModule>

    # END WordPress

    That works great for pulling up the main page: I just ran it on the Weblog I just shut down with it. Unfortunately, that only seems to work for the index; if, for example, I try to pull up the dead Weblog’s registration URL, I get a 404.

    Do any of you .htaccess gurus know where I’ve mucked up my RewriteRule? I was merely using the time-honored “keep trying until I can get something that starts to do what I want to do” technique. ??

    Thanks in advance,
    Geof

  • The topic ‘Returning HTTP 410 Gone’ is closed to new replies.