{"id":6750572,"date":"2015-11-15T11:59:31","date_gmt":"2015-11-15T11:59:31","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/htaccess-problem-2-wordpress-on-1-hosting-no-multisite\/"},"modified":"2016-08-30T20:17:07","modified_gmt":"2016-08-30T20:17:07","slug":"htaccess-problem-2-wordpress-on-1-hosting-no-multisite","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/htaccess-problem-2-wordpress-on-1-hosting-no-multisite\/","title":{"rendered":".htaccess problem 2 wordpress on 1 hosting (no multisite)"},"content":{"rendered":"<p>Hy,<\/p>\n<p>I need help for setting up my .htaccess file to the following situation: I have 2 wordpress website on the same principal hosting (ivalentin.ro) and a website (addon domain) let&#8217;s say second.ro for example, in second.ro subfolder. My current file on root .htaccess it is slightly modified from the basic WordPress configuration for security and now looks like this:<\/p>\n<pre><code>AddHandler php5-fastcgi .php\nAction php5-fastcgi \/cgi-bin\/php5.fcgi\n# BEGIN WordPress\n&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteRule ^admin=ivalentin$ %{REQUEST_URI}\/ [R=301,L]\nRewriteRule ^admin=ivalentin\/(.*?)$ \/wp-admin\/$1?%{QUERY_STRING} [QSA,L]\nRewriteRule ^autentificare\/?$ \/wp-login.php [QSA,L]\nRewriteRule ^forgot\/?$ \/wp-login.php?action=lostpassword [QSA,L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n&lt;\/IfModule&gt;\n# END WordPress<\/code><\/pre>\n<p>In these conditions when i access second.ro i receive 500 &#8211; Internal Server Error. If i remove the .htaccess file in the root, everything is ok. Now i can only acces it form ivalentin.ro\/second.ro How do I change the current htccess file to directly access second.ro site?<\/p>\n<p>Thank you in advance !<\/p>\n","protected":false},"template":"","class_list":["post-6750572","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6750572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6750572\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6750572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}