<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1050416" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1050416</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Hello,
You can put the</title>
    <link>https://www.webmaster-forums.net/server-management/htaccess-redirection#comment-1283796</link>
    <description> &lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can put the following code in .htaccess file to pull up the website using index.php &lt;/p&gt;
&lt;p&gt;DirectoryIndex index.php index.html&lt;/p&gt;
&lt;p&gt;The first on the list should be index.php. You can add others to the list as well like index.htm, home.htm, default.htm.&lt;/p&gt;
&lt;p&gt;But keep in mind by default your server pulls index.html first and you want to use this method to pull index.php first in the event that both files exist in a directory, this acts recursively. So for the sub-domains you have to create .htaccess file for sub-domain separately and revert the changes back, if you want sub-domain to access using index.html page you will need to put following code in .htaccess file &lt;/p&gt;
&lt;p&gt;DirectoryIndex index.html index.php&lt;/p&gt;
 </description>
     <pubDate>Tue, 19 Mar 2013 14:33:54 +0000</pubDate>
 <dc:creator>tnhamanda</dc:creator>
 <guid isPermaLink="false">comment 1283796 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>In what way does the redirect</title>
    <link>https://www.webmaster-forums.net/server-management/htaccess-redirection#comment-1269904</link>
    <description> &lt;p&gt;In what way does the redirect fail? What actually happens?&lt;/p&gt;
&lt;p&gt;Where in the .htaccess file is the code positioned?&lt;/p&gt;
&lt;p&gt;Where in the server filesystem is the .htaccess file placed?&lt;/p&gt;
&lt;p&gt;{&lt;a href=&quot;/rules&quot; rel=&quot;nofollow&quot;&gt;links removed&lt;/a&gt;}&lt;/p&gt;
 </description>
     <pubDate>Wed, 26 Oct 2011 01:28:00 +0000</pubDate>
 <dc:creator>AbigailDavis</dc:creator>
 <guid isPermaLink="false">comment 1269904 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hi Friend,
for error page we</title>
    <link>https://www.webmaster-forums.net/server-management/htaccess-redirection#comment-1268644</link>
    <description> &lt;p&gt;Hi Friend,&lt;br /&gt;
for error page we do not use any software we simply use this code and simply paste it on server.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; get_header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;     Error 404 - Not Found&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; get_sidebar&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; get_footer&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(); &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 14 Sep 2011 05:38:48 +0000</pubDate>
 <dc:creator>ninabillian</dc:creator>
 <guid isPermaLink="false">comment 1268644 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>What software are you using</title>
    <link>https://www.webmaster-forums.net/server-management/htaccess-redirection#comment-1267367</link>
    <description> &lt;p&gt;What software are you using to build your site?&lt;/p&gt;
&lt;p&gt;If you&#039;ve got both index.html and index.php you can simply just delete the index.html page.&lt;/p&gt;
&lt;p&gt;The search engine will look for index.html and when it doesn&#039;t find it it&#039;ll then look for the alternatives and find index.php&lt;/p&gt;
 </description>
     <pubDate>Sun, 24 Jul 2011 19:41:03 +0000</pubDate>
 <dc:creator>technologynow</dc:creator>
 <guid isPermaLink="false">comment 1267367 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
