• Resolved johnyswp

    (@johnyswp)


    I’m a novice wordpress user who has downloaded and put up mutlisites. I was able to use Filezilla to access the wp config file to add in the necessary code, but then it says to paste the following code into the .htc access file:

    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’ve seen this before on the forums but I can’t figure out where the file is. I check under the wordpress directory but it definitely isn’t there. Any help would be greatly appreciated.

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter johnyswp

    (@johnyswp)

    *correction htaccess file

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It should be in the same folder as your wp-config.php file.

    Now, it’s a HIDDEN file, so you may need to turn on ‘show hidden files’ in your FTP app.

    Thread Starter johnyswp

    (@johnyswp)

    Thanks Ipstenu. I did that on my FTP and refreshed but it still didn’t come up with the file. Is there anyway I could just make it? and if so, what would I name it with the text editor. Just ‘.htaccess’ ?

    Thread Starter johnyswp

    (@johnyswp)

    Is it possible that I don’t need an .htaccess file if I have hosting through dreamhost.com and am not hosting on a server of my own?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    You only need it if you want pretty permalinks.

    Correction: an htaccess is required for multisite. ?? Either setup.

    Thread Starter johnyswp

    (@johnyswp)

    Okay, so I added a file called “.htaccess” to my wordpress directory and copied and pasted the code given in my dashboard into the file. Now the problem I have is that I can’t seem to be able to make new sites or pages. I add a page or create a new site and the email will even be sent to the new administrator but no links will work and typing the address into the browser bar does not work either.

    Any suggestions? And thanks again for the help!

    link to your site please. ??

    Also: subdomains or subfolders? What host?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Oh, I was so all over the forums last night, I forgot I was in multisite. Yes, you must have one for multisite.

    Thread Starter johnyswp

    (@johnyswp)

    Ah, okay. It seems that adding the .htaccess file just works as long as my host fixed some stuff (resetting DNS etc.?) that they said was an error on their side. Also, had to reset the directory naming for new pages for some reason.

    Thanks for the help!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Oh, that’s not uncommon ?? Sites have to turn on settings for .htaccess to work! Glad they fixed it.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘.htc access file location’ is closed to new replies.