The MU forums have moved to WordPress.org

404 Problems (10 posts)

  1. ind1an
    Member
    Posted 16 years ago #

    Hello,
    I Was trying to redirect my Sign UP "Page" to signup.php. Changed htaccess.dist by adding
    Redirect 301 /sign-up/ http://a2zblogs.info/wp-signup.php

    since then everything on my blog turns to 404.
    removed the line too from htaccess.dist

    I dont have any .htaccess file but Yes i hav htaccess.dist

    Please help me ASAP

    The Error log of muWordpress in my server is as follows:

    [Fri Nov 16 10:41:03 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/about, referer: http://a2zblogs.info/wp-signup.php
    [Fri Nov 16 10:41:03 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/wp-signup.php
    [Fri Nov 16 10:41:09 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/feautres, referer: http://a2zblogs.info/wp-signup.php
    [Fri Nov 16 10:41:09 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/wp-signup.php
    [Fri Nov 16 10:41:15 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/content-policy, referer: http://a2zblogs.info/wp-signup.php
    [Fri Nov 16 10:41:15 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/wp-signup.php
    [Fri Nov 16 10:42:36 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/sign-up, referer: http://a2zblogs.info/
    [Fri Nov 16 10:42:37 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/
    [Fri Nov 16 10:42:46 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/feautres, referer: http://a2zblogs.info/
    [Fri Nov 16 10:42:46 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/
    [Fri Nov 16 10:43:25 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/wordpress-plugins, referer: http://a2zblogs.info/
    [Fri Nov 16 10:43:25 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/
    [Fri Nov 16 10:43:37 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/wordpress-plugins, referer: http://a2zblogs.info/
    [Fri Nov 16 10:43:37 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/
    [Fri Nov 16 10:44:43 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/about, referer: http://a2zblogs.info/
    [Fri Nov 16 10:44:43 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/
    [Fri Nov 16 10:45:49 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/about, referer: http://a2zblogs.info/
    [Fri Nov 16 10:45:49 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/
    [Fri Nov 16 10:45:57 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/category, referer: http://a2zblogs.info/
    [Fri Nov 16 10:45:57 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/
    [Fri Nov 16 10:47:56 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/2007, referer: http://a2zblogs.info/
    [Fri Nov 16 10:47:56 2007] [error] [client 117.199.224.12] File does not exist: /home/saurabh0/a2zblogs.info/missing.html, referer: http://a2zblogs.info/

  2. ind1an
    Member
    Posted 16 years ago #

    one more thing i Want to redirect my Sign Up page to signup.php
    how can i do that ?

    Im using dreamhost.com as my host

  3. ind1an
    Member
    Posted 16 years ago #

    my htaccess.dist file contents are

    RewriteEngine On
    RewriteBase BASE/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

  4. andrea_r
    Moderator
    Posted 16 years ago #

    htaccess.dist is a file included in the deafault distribution. It is there, so on install, it gets copied to make .htaccess with your install info.

    Editing that file won't change a thing.

    Was the install working before you made the redirect?
    have you turned on "show hidden files" when you look at the files on the server? If you can't see the htaccess, that's probably why, because in my experience, if it can't make the htaccess fileon install, it bombs and doesn't work at all.

    So go check that first.

  5. ind1an
    Member
    Posted 16 years ago #

    yes i cant see any .htaccess file at all in my ftp !!
    ohh !! thats the problem got it !!

    so i need to make a new .htaccess file .. cuz accidentally i replaced it by making new .htaccess file

    so what should be my .htaccess file contents now ? ?

  6. andrea_r
    Moderator
    Posted 16 years ago #

    It should look exactly like the htacces.dist, EXCEPT for this part:

    RewriteBase BASE/

    should be

    RewriteBase /

  7. Iron
    Member
    Posted 16 years ago #

    The original htacces.dist, not the one you played with ^_^

  8. ind1an
    Member
    Posted 16 years ago #

    wow !! Worked like a Charm !!
    thnx for you valuable time

  9. seobrien
    Member
    Posted 15 years ago #

    what if neither htaccess.dist or .htaccess has:
    RewriteBase /

    I'm getting 404 errors on any page but the root but as .dist doesn't have it, I'm confused if it should. That said, I added it and it didn't do anything; does it matter where in the htaccess I put it?

  10. VentureMaker
    Member
    Posted 15 years ago #

    You should put RewriteBase / before any rewrite rules.
    Also, htaccess.dist has RewriteBase BASE and .htaccess should have RewriteBase / (if you installed WPMU in domain root) or any other value if WPMU is elsewhere, but definitely not default BASE value.

About this Topic

  • Started 16 years ago by ind1an
  • Latest reply from VentureMaker