{"id":886912,"date":"2008-10-24T13:59:02","date_gmt":"2008-10-24T13:59:02","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-do-you-get-someone-to-help\/"},"modified":"2016-08-19T02:35:30","modified_gmt":"2016-08-19T02:35:30","slug":"how-do-you-get-someone-to-help","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-do-you-get-someone-to-help\/","title":{"rendered":"How do you get someone to help?"},"content":{"rendered":"<p>I just finished a WordPress blog: www.verbalremedies.com\/blog.  I want to make the blog live as the homepage: www.verbalremedies.com and all the pages like this: www.verbalremedies.com\/store, etc. even though it&#8217;s housed in the blog folder.  I followed the structure of a different blog that a colleague set up for me: www.b-animalwise.com\/wordpress (it isn&#8217;t live yet): used separate folder, used custom structure permalinks &#8220;\/%postname%&#8221;, etc.  I know this will work b\/c the one he set up works like that:<\/p>\n<p>In the b-animalwise site, when I change the index_1.php page on the root folder to index.php as he directed it works fine: the blog becomes the homepage and all the links work like: www.b-animalwise.com\/about, etc. (note no extra folder in link even though the permalinks in WP Admin adds the &#8220;wordpress&#8221; folder&#8221;.  When I do this same thing with verbalremedies, it won&#8217;t work.  How did he do that?  <\/p>\n<p>I tried changing my header links to his structure but whatever I did, didn&#8217;t work.<\/p>\n<p>Below is the code for both index.php pages and the navigation for both header.php pages.<\/p>\n<p>What am I missing?  You&#8217;re help is soooo appreciated!  <\/p>\n<p>&lt;?php<br \/>\n\/* Short and sweet *\/<br \/>\ndefine(&#8216;WP_USE_THEMES&#8217;, true);<br \/>\nif (preg_match(&#8220;\/b-animalwise.com\/i&#8221;, $_SERVER[&#8216;HTTP_HOST&#8217;])) {<br \/>\nrequire(&#8216;.\/wordpress\/wp-blog-header.php&#8217;);<br \/>\n}<br \/>\n?&gt;<\/p>\n<p>&lt;?php<br \/>\n\/* Short and sweet *\/<br \/>\ndefine(&#8216;WP_USE_THEMES&#8217;, true);<br \/>\nif (preg_match(&#8220;\/verbalremedies.com\/i&#8221;, $_SERVER[&#8216;HTTP_HOST&#8217;])) {<br \/>\nrequire(&#8216;.\/blog\/wp-blog-header.php&#8217;);<br \/>\n}<br \/>\n?&gt;<\/p>\n<p>Here&#8217;s mine:<br \/>\n<a href=\"http:\/\/www.verbalremedies.com\/blog\/index.php\">bloghome<\/a><br \/>\n<a href=\"http:\/\/www.verbalremedies.com\/blog\/about\/\">about\/bio<\/a><br \/>\n<a href=\"http:\/\/www.verbalremedies.com\/blog\/store\/\">store\/ebooks<\/a><br \/>\n<a href=\"http:\/\/www.verbalremedies.com\/blog\/links\">links<\/a><br \/>\n<a href=\"http:\/\/www.verbalremedies.com\/blog\/contact\/\">contact<\/a><br \/>\n<a href=\"http:\/\/www.peaceandloveforall.com\">peace and love for all.com<\/a><\/p>\n<p>Here&#8217;s his:<\/p>\n<p>&lt;li &lt;?php if (is_page(&#8216;Welcome!&#8217;)) {echo &#8216;class=&#8221;currentpage&#8221;&#8216;;}; ?&gt;&gt;<a href=\"\/\" title=\"Home\">HOME<\/a><br \/>\n&lt;li &lt;?php if (is_page(&#8216;About Barrie&#8217;)) {echo &#8216;class=&#8221;currentpage&#8221;&#8216;;}; ?&gt;&gt;&lt;a href=&#8221;\/about-barrie\/&#8221; title=&#8221;About <\/p>\n<p>Barrie&#8221;&gt;ABOUT BARRIE<br \/>\n&lt;li &lt;?php if (is_page(&#8216;Barrie\\&#8217;s Blog&#8217;)) {echo &#8216;class=&#8221;currentpage&#8221;&#8216;;}; ?&gt;&gt;&lt;a href=&#8221;\/barries-blog\/&#8221; title=&#8221;Barrie&#8217;s <\/p>\n<p>Blog&#8221;&gt;BARRIE&#8217;S BLOG<br \/>\n&lt;li &lt;?php if (is_page(&#8216;Consultations&#8217;)) {echo &#8216;class=&#8221;currentpage&#8221;&#8216;;}; ?&gt;&gt;&lt;a href=&#8221;\/consultations\/&#8221; <\/p>\n<p>title=&#8221;Consultations&#8221;&gt;CONSULTATIONS<br \/>\n&lt;li &lt;?php if (is_page(&#8216;FAQ&#8217;)) {echo &#8216;class=&#8221;currentpage&#8221;&#8216;;}; ?&gt;&gt;<a href=\"\/faq\/\" title=\"FAQ\">FAQ<\/a><br \/>\n&lt;li &lt;?php if (is_page(&#8216;Contact&#8217;)) {echo &#8216;class=&#8221;currentpage&#8221;&#8216;;}; ?&gt;&gt;&lt;a href=&#8221;\/contact\/&#8221; <\/p>\n<p>title=&#8221;Contact&#8221;&gt;CONTACT<\/p>\n","protected":false},"template":"","class_list":["post-886912","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/886912","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\/886912\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=886912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}