<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1023753" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1023753</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/redirecting-page#comment-1145772</link>
    <description> &lt;p&gt;true, but if you want to check if the person is logged in or not, if logged in, view the page, if not redirect to log in page ...&lt;/p&gt;
&lt;p&gt;lack of info = confusion&lt;/p&gt;
 </description>
     <pubDate>Sun, 15 Feb 2004 23:51:07 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1145772 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/redirecting-page#comment-1145771</link>
    <description> &lt;p&gt;But if you are redirecting from an old location to a new one...then you can just use the relocate file to do the redirecting from a blank page (just the PHP code) and then notify them of the move on the new page.&lt;/p&gt;
 </description>
     <pubDate>Sun, 15 Feb 2004 23:32:24 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1145771 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/redirecting-page#comment-1145765</link>
    <description> &lt;p&gt;just a note on the php version, it must be put before any content is printed on the page or you&#039;ll get an error.&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;Header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Location: &amp;lt;a href=&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;http&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//www.mywebsite.com&quot;&quot; title=&quot;http://www.mywebsite.com&quot;&quot;&amp;gt;http://www.mywebsite.com&quot;&amp;lt;/a&amp;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;...&lt;br /&gt;
is right&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;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$black &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;== &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$white&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$messed_up &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;umm ok&quot;&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;Header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Location: &amp;lt;a href=&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;http&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//www.mywebsite.com&quot;&quot; title=&quot;http://www.mywebsite.com&quot;&quot;&amp;gt;http://www.mywebsite.com&quot;&amp;lt;/a&amp;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;is right as the if statement doesn&#039;t print anything to the page&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;Header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Location: &amp;lt;a href=&quot;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;http&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//www.mywebsite.com&quot;&quot; title=&quot;http://www.mywebsite.com&quot;&quot;&amp;gt;http://www.mywebsite.com&quot;&amp;lt;/a&amp;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;/p&gt;
&lt;p&gt;is wrong as  has been printed to the screen.&lt;/p&gt;
 </description>
     <pubDate>Sun, 15 Feb 2004 22:05:03 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1145765 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/redirecting-page#comment-1145752</link>
    <description> &lt;p&gt;Place the following code in the  section of your website:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;meta http-equiv=&amp;quot;refresh&amp;quot; content=&amp;quot;0; URL=http://www.mywebsite.com&amp;quot;&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;There will be a slight delay using that, so you can use PHP instead:&lt;/p&gt;
&lt;p&gt;-create whatever the page name is, just with .php as the extension instead of .html (if your server can run PHP)&lt;br /&gt;
-inside the page.php file, insert the following code&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;Header&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;Location: http://www.mywebsite.com\&quot;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;The php version should have almost instantaneous redirection&lt;/p&gt;
 </description>
     <pubDate>Sun, 15 Feb 2004 18:25:18 +0000</pubDate>
 <dc:creator>brady.k</dc:creator>
 <guid isPermaLink="false">comment 1145752 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
