<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1029386" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1029386</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/modrewrite-question#comment-1179409</link>
    <description> &lt;p&gt;This is the &quot;Wizard&quot; I use for generating my mod_rewrite rules, they have a page option and directory option that will accomplish exactly what the original poster requested: &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtml&quot; class=&quot;bb-url&quot;&gt;http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtml&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Sep 2005 18:04:28 +0000</pubDate>
 <dc:creator>skyhawk133</dc:creator>
 <guid isPermaLink="false">comment 1179409 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/modrewrite-question#comment-1179361</link>
    <description> &lt;p&gt;I know this tread is old, but in searching for something else, I came across this tutorial on how to do this without the error page or the mod_rewrite. So I looked this thread up to post the URL so I could easily find it later:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.tutorio.com/tutorial/php-alternative-to-mod-rewrite-for-se-friendly-urls&quot; class=&quot;bb-url&quot;&gt;http://www.tutorio.com/tutorial/php-alternative-to-mod-rewrite-for-se-friendly-urls&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Sep 2005 14:04:00 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1179361 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/modrewrite-question#comment-1171870</link>
    <description> &lt;p&gt;welp, I gave it my best and couldn&#039;t really come up with a solution.&lt;/p&gt;
&lt;p&gt;So I did a partial implementation of your suggestion Greg. Instead of using a error page, I just used the same page. The first thing I do is check to see if the form has been submitted, if it has, I get the value selected from the jump box, then I create the &quot;pretty&quot; url and lastly, use &quot;header&quot; to recall the page, but using the pretty url. At that point when the page loads again, the working mod_rewrite rewrite rule takes over.&lt;/p&gt;
&lt;p&gt;Hopefully someone will come along with a solution. I&#039;d love to see how, if it can be done.&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 May 2005 20:58:46 +0000</pubDate>
 <dc:creator>jbjaz</dc:creator>
 <guid isPermaLink="false">comment 1171870 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/modrewrite-question#comment-1171864</link>
    <description> &lt;p&gt;yes on mine, as soon as it figures out what you are trying to access, it looks to see if that file exists. If it doesn&#039;t, it will then say that the &quot;module&quot; is 404error and send a 404 header.&lt;/p&gt;
&lt;p&gt;Now we use something similar for our affiliate program, so that affilaites can jsut give out &lt;a href=&quot;http://www.domainname.com/affiliateID&quot; class=&quot;bb-url&quot;&gt;domainname.com/affiliateID&lt;/a&gt;  instead of &lt;a href=&quot;http://www.domainname.com/index.php?affiliate=affiliateID&quot; class=&quot;bb-url&quot;&gt;domainname.com/index.php?affiliate=affiliateID&lt;/a&gt; (I like simplified URLS for peopel to remember).&lt;/p&gt;
&lt;p&gt;However, if someone can give the solution to doing this with a Rewrite condition, I would also prefer that! &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;&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 May 2005 18:16:43 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1171864 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/modrewrite-question#comment-1171858</link>
    <description> &lt;p&gt;Ouch, I&#039;ve thought of doing this myself a few times but surely you&#039;d be breaking a real 404 error, also it seems a little like a &#039;dirty hack&#039;?&lt;/p&gt;
&lt;p&gt;Could you then write some code so that a genuine 404 would be recognised as such and generate an error instead of dumping the user back to the index page?&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 May 2005 17:27:12 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1171858 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/server-management/modrewrite-question#comment-1171850</link>
    <description> &lt;p&gt;another option you could use (and I have used it before) is to set your 404 error for the dir1 directory to point to the index.php file. then in the index.php check the URL being called, and treat it the same as you do with page=&lt;/p&gt;
&lt;p&gt;If I remember right, you also need to output a header to overide the default 404 header the server would give out.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 May 2005 15:40:13 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1171850 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
