<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1014217" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1014217</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/htaccess-and-redirecting#comment-1082689</link>
    <description> &lt;p&gt;Haven&#039;t posted here in a while, nor do I plan to, but I just implemented something similiar on my site.&lt;/p&gt;
&lt;p&gt;I use my 404 page to redirect users.  If someone, for instance goes to&lt;br /&gt;
&lt;a href=&quot;http://www.ratemymullet.com/62&quot; title=&quot;http://www.ratemymullet.com/62&quot;&gt;http://www.ratemymullet.com/62&lt;/a&gt;&lt;br /&gt;
the &#039;missing.php&#039; will be executed, and inside that file, I redirect the user to&lt;br /&gt;
&lt;a href=&quot;http://www.ratemymullet.com/show.php?id=62&quot; title=&quot;http://www.ratemymullet.com/show.php?id=62&quot;&gt;http://www.ratemymullet.com/show.php?id=62&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Eg:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?&lt;br /&gt;//missing.php&lt;br /&gt;$REQUEST_URI = str_replace(&amp;quot;/&amp;quot;,&amp;quot;&amp;quot;,$REQUEST_URI);&lt;br /&gt;header(&amp;quot;Location: http://www.ratemymullet.com/show.php?id=$REQUEST_URI&amp;quot;); &lt;br /&gt;exit;&lt;br /&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;In your .htaccess file, just add&lt;br /&gt;
ErrorDocument 404 /missing.php&lt;/p&gt;
&lt;p&gt;In regards to speed, I haven&#039;t noticed any speed decreases while using the 404 redirection.&lt;/p&gt;
&lt;p&gt;Hope that helps.&lt;/p&gt;
 </description>
     <pubDate>Mon, 21 May 2001 02:48:16 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1082689 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>It&#039;s called a temporary or permanent redirect</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/htaccess-and-redirecting#comment-1082408</link>
    <description> &lt;p&gt;It can be done with  tags as well, but not invisibly to the user. &lt;/p&gt;
&lt;p&gt;Where &lt;strong&gt;60&lt;/strong&gt; is the number of seconds until the page refreshes, and &lt;strong&gt;URL=http://www.whatever.com/page.html&lt;/strong&gt; is the page -- no spaces, no quotes, URL must be in all caps.&lt;/p&gt;
&lt;p&gt;However, what you want to do for a permanent redirect is:&lt;/p&gt;
&lt;p&gt;RedirectPermanent index2.html &lt;a href=&quot;http://www.zerocattle.com/index.html&quot; class=&quot;bb-url&quot;&gt;http://www.zerocattle.com/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Where &lt;strong&gt;index2.html&lt;/strong&gt; is the page you want people to not go to and &lt;strong&gt;http://www.zerocattle.com/index.html&lt;/strong&gt; is the page you want them to see instead. The full url is required for the new page, where as the path is required for the old one.&lt;/p&gt;
&lt;p&gt;For temporary redirect using the same files: &lt;/p&gt;
&lt;p&gt;RedirectTemp index2.html &lt;a href=&quot;http://www.zerocattle.com/index.html&quot; class=&quot;bb-url&quot;&gt;http://www.zerocattle.com/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;***&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.wdvl.com/&quot; class=&quot;bb-url&quot;&gt;http://www.wdvl.com/&lt;/a&gt; is an excellent resource, btw, for things like this when you can&#039;t bear to go through the Apache documentation at &lt;a href=&quot;http://www.apache.org&quot; class=&quot;bb-url&quot;&gt;apache.org&lt;/a&gt; .  They didn&#039;t have the information (that I could find) on .htaccess for permanent redirects, however.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.apache.org/DELETE_ME/mod/directives.html&quot; class=&quot;bb-url&quot;&gt;http://www.apache.org/DELETE_ME/mod/directives.html&lt;/a&gt; has all the information, but it can be a bit confusing without real life examples.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Mon, 14 May 2001 18:27:17 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1082408 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
