WordPress.org

Ready to get started?Download WordPress

Forums

subsites admins cant log in (11 posts)

  1. Rebecca
    Member
    Posted 1 year ago #

    Hi! I am a community manager for a Virtual Org and we are creating subsites, and when I create the subsites (using subfolders) it does send the amdins the email but when they click the link, it wont let them log in. HELP!

  2. What error do they get?

  3. Rebecca
    Member
    Posted 1 year ago #

    It is a 404 error. I noticed too that the Dir folder is not creating the sub folders it should be creating.

  4. Bumps deleted. If you're in a huge rush, you should hire someone. Otherwise you have to be patient with the free help you get from volunteerrs.

    WordPress doesn't make actual subfolders, they're virtual, just like your posts aren't actual files in /2012/postname :)

    A 404 means that your .htaccess is probably wrong. What's in it?

  5. Rebecca
    Member
    Posted 1 year ago #

    I apologize. Here is my htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
  6. That's the .htaccess for Subdomains.

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress
  7. Rebecca
    Member
    Posted 1 year ago #

    So I put that one in its place?

  8. Yes.

  9. Rebecca
    Member
    Posted 1 year ago #

    Still didnt work. :(

  10. Same error?

  11. Rebecca
    Member
    Posted 1 year ago #

    Yes...I don't get it. The other sites work fine.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.