Support » Networking WordPress » Can't find .htaccess

  • When trying to configure my site to add another domain, it tells me to add the following to .htaccess:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]

    I cannot find this file.


Viewing 3 replies - 1 through 3 (of 3 total)
  • I had the same probem, and I found that in the wordpress install, there was a generic .htaccess file in the root of the install. I just copied it into the place one should have been, and added the code between the IF MODULE open and close lines. You have to REPLACE the stuff that is already between them. Hope it helps..

    if you don’t have an .htaccess file in your root directory, CREATE IT 🙂

    Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Make sure you have ‘show hidden files’ or the equivalent turned on in your FTP or file manager app first.

    Here is the “Apache Tutorial: .htaccess files”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can't find .htaccess’ is closed to new replies.