<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1038843" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1038843</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/redirecting-web-page-help#comment-1221064</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;frank727;221057 wrote:&lt;/strong&gt; I have a web page that when people enter it&#039;s URL into their browser I want the page to redirect to the same URL but with an https.&lt;/p&gt;
&lt;p&gt;I&#039;m using PHP and I tried making index.php just call &lt;a href=&quot;https://www.index.html&quot; class=&quot;bb-url&quot;&gt;https://www.index.html&lt;/a&gt; but it didn&#039;t work and I don&#039;t know why.&lt;/p&gt;
&lt;p&gt;This is the php code I used:&lt;br /&gt;
echo &quot;&lt;/p&gt;
&lt;p&gt;&quot;;&lt;br /&gt;
exit;&lt;/p&gt;
&lt;p&gt; Is there another way to do this?&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;That works fine for me all the time.  I think that&#039;s the best way.  Just correct your link and it should be cool.  If it doesn&#039;t work try making it redirect to a popular website you know of and see if it works.&lt;/p&gt;
&lt;p&gt;Just FYI, here&#039;s an html file I created that will redirect to this site:&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Jul 2007 19:39:57 +0000</pubDate>
 <dc:creator>benj</dc:creator>
 <guid isPermaLink="false">comment 1221064 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/redirecting-web-page-help#comment-1221060</link>
    <description> &lt;p&gt;&quot;https://www.index.html&quot; is most likely your problem.  That&#039;s not a valid link.&lt;/p&gt;
&lt;p&gt;This may be a better way:&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;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$HTTP_SERVER_VARS&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;HTTPS\&quot;] != \&quot;on\&quot;)&amp;nbsp; &lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$newurl&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = \&quot;https://\&quot; . &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;SERVER_NAME\&quot;] . &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;REQUEST_URI\&quot;]; &lt;br /&gt;&amp;nbsp;&amp;nbsp; header(\&quot;location: &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$newurl&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;\&quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;} &lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 01 Jul 2007 19:17:09 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1221060 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
