{"id":406,"date":"2011-04-16T18:46:24","date_gmt":"2011-04-16T08:46:24","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=406"},"modified":"2011-04-16T18:46:24","modified_gmt":"2011-04-16T08:46:24","slug":"wordpress-sme-server-8-ibay-htaccess-resolved","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2011\/04\/wordpress-sme-server-8-ibay-htaccess-resolved\/","title":{"rendered":"WordPress SME Server 8 iBay .htaccess resolved"},"content":{"rendered":"<p>This WordPress site is hosted in a WordPress Network setup, i.e. the equivalent of the old MU setup.<\/p>\n<p>I have had this working fine on the live site (where you are now) but had issues with the wp-admin failing with a 404 error in my development server based on SME Server version 8 beta6.<\/p>\n<p>As it turns out the hours of messing around I did came down to a very simple fix.<\/p>\n<p>The .htaccess file has to be adapted for operation within an SME Server iBay.<\/p>\n<p>The WordPress recommended configuration assumes that WordPress is in the root of the site:<\/p>\n<p>[code]<br \/>\n# BEGIN WordPress<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/<br \/>\n[\/code]<\/p>\n<p>while an SME Server iBay is in fact a Rewrite process as well.<\/p>\n<p>[code]<br \/>\n# BEGIN WordPress<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/ibayname<br \/>\n[\/code]<\/p>\n<p>This will allow the Rewrite&#8217;ing of the wp-admin to work with the Network settings for the virtualised sub-directories for the sub-blogs.<\/p>\n<p>My Reference: <a title=\"Apache mod_rewrite Rewritebase for SME Server\" href=\"http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mod_rewrite.html#rewritebase\">Apache 2 Rewrite Documentation<\/a><\/p>\n<p>My <a title=\"SME Server WordPress Network wp-admin htaccess\" href=\"http:\/\/forums.contribs.org\/index.php\/topic,47413.msg234011.html#msg234011\">post at contribs.org<\/a> the home of SME Server.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This WordPress site is hosted in a WordPress Network setup, i.e. the equivalent of the old MU setup. I have had this working fine on the live site (where you are now) but had issues with the wp-admin failing with a 404 error in my development server based on SME Server version 8 beta6. As [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,24],"tags":[],"class_list":["post-406","post","type-post","status-publish","format-standard","hentry","category-sme-server","category-wordpress-links"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=406"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/406\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}