The MU forums have moved to

.htaccess rewrite /sign-up/ to wp-signup.php (3 posts)

  1. levi.putna
    Posted 15 years ago #

    Hey everyone,

    Trying to do a simple rewrite on a url

    I want to rewrite to

    sounds simple however I'm having some problems, this is what I have so far

    #Rewrite sign up page
    RewriteCond %{HTTP_HOST} ^$ [NC]
    RewriteRule ^(.*)$ [P]

    This is my .htaccess file

    In addition if anyone has any useful security additions to add to my .htaccess please let me know.


  2. Newtidbitz
    Posted 15 years ago #

    I also use the following in my .htaccess for additional security.

    <Files .htaccess>
    order allow,deny
    deny from all

    Options -Indexes

    Hope this helps.

  3. eagano
    Posted 15 years ago #

    Your RewriteCond is checking HTTP_HOST, and you need to check the request.

    Try something like this:
    RewriteCond %{REQUEST_URI} ^sign-up$ [NC]

About this Topic

  • Started 15 years ago by levi.putna
  • Latest reply from eagano