Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Please enable feature mod_rewrite for multisite wordpress sub-directories?

Hello sir, please help me
my cpanel is ninjafx
my problem:
i was installed multisite wordpress with sub-directories, but i found a problem, and the result:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
i was modified file hosting with ftp filezilla
1. Add the following to your wp-config.php file in /home/ninjafx/public_html/ above the line reading /* That’s all, stop editing! Happy blogging. */:
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', '');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

2. Add the following to your .htaccess file in /home/ninjafx/public_html/, replacing other WordPress rules:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [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).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

am i need to activate apache mod_rewrite sir?
please give me solutions, thank you.
Edit your .htaccess and save as UTF-8 without BOM.
PHP Code:
/home/ninjafx/public_html/.htaccessInvalid command '\xef\xbb\xbf'perhaps misspelled 
Please do not email or PM me with private support requests - Use Support Section.
Don't forget to read TOS.
Never argue with idiots.
First, they'll bring you down to their level and then beat you with their experience!
[-] The following 1 user Likes un4saken's post:
  • ninjafx
Thank you sir.

Users browsing this thread:
1 Guest(s)

Please enable feature mod_rewrite for multisite wordpress sub-directories?314