There is no .htaccess file in my root dir. Will it create any problem in near future?
Can you get to all your subdomains and see all the images etc therein?
No, just now I’ve checked it..
But If i put that htaccess code, it shows some internal server error.
What to do?
What’re you putting in the .htaccess?
What’s the error? Is it an error 500?
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]
Ya it’s “500 Internal Server Error”.
Two options.
1) You’re saving the file in a bad format with hidden characters
2) You’re not on Linux.
Does your host have directions on how they want you tpo update .htaccess?
Right it’s the 1st one…
Thanks 🙂