<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: .htaccess, mod_rewrite on GoDaddy</title>
	<atom:link href="http://gidden.net/tom/2006/05/26/4/feed/" rel="self" type="application/rss+xml" />
	<link>http://gidden.net/tom/2006/05/26/4/</link>
	<description></description>
	<lastBuildDate>Fri, 04 May 2012 15:43:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Lesley</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-52460</link>
		<dc:creator>Lesley</dc:creator>
		<pubDate>Tue, 07 Feb 2012 05:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-52460</guid>
		<description>Now years later from original post..I set up URL rewriting on my Drupal site on Godaddy some months ago and it was working..today it was broken (http error 500). I had not changed anything. The problem appeared to be that I had:
RewriteEngine On 
Options All

I changed that to 
RewriteEngine On
Option +FollowSymLinks

Support may not know about this, but it seems one
 cannot use Options All on that host</description>
		<content:encoded><![CDATA[<p>Now years later from original post..I set up URL rewriting on my Drupal site on Godaddy some months ago and it was working..today it was broken (http error 500). I had not changed anything. The problem appeared to be that I had:<br />
RewriteEngine On<br />
Options All</p>
<p>I changed that to<br />
RewriteEngine On<br />
Option +FollowSymLinks</p>
<p>Support may not know about this, but it seems one<br />
 cannot use Options All on that host</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-52121</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Mon, 30 Jan 2012 17:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-52121</guid>
		<description>I have been reading through all of this and it seems as though many of you have figured out how to create a functional .htaccess file on go daddy.  I am looking for an .htaccess file that will allow me to use php rss feeds in my html site so that I can use a feed to display my blog and facebook page.  Can anyone give me an example that I can just save and adjust with some explanation in lamens terms?</description>
		<content:encoded><![CDATA[<p>I have been reading through all of this and it seems as though many of you have figured out how to create a functional .htaccess file on go daddy.  I am looking for an .htaccess file that will allow me to use php rss feeds in my html site so that I can use a feed to display my blog and facebook page.  Can anyone give me an example that I can just save and adjust with some explanation in lamens terms?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-44849</link>
		<dc:creator>Warren</dc:creator>
		<pubDate>Fri, 19 Aug 2011 14:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-44849</guid>
		<description>Thanks SO much! Your method works perfectly for me. I am able to list every entry as you did in your example. 

Here&#039;s my file(it hides html, png, jpg, and specific php extensions):

Options FollowSymLinks
RewriteEngine On
RewriteRule ^example(.*) example.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.jpg -f
RewriteRule ^(.*)$ $1.jpg
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.png -f
RewriteRule ^(.*)$ $1.png</description>
		<content:encoded><![CDATA[<p>Thanks SO much! Your method works perfectly for me. I am able to list every entry as you did in your example. </p>
<p>Here's my file(it hides html, png, jpg, and specific php extensions):</p>
<p>Options FollowSymLinks<br />
RewriteEngine On<br />
RewriteRule ^example(.*) example.php<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteCond %{REQUEST_FILENAME}\.html -f<br />
RewriteRule ^(.*)$ $1.html<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteCond %{REQUEST_FILENAME}\.jpg -f<br />
RewriteRule ^(.*)$ $1.jpg<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteCond %{REQUEST_FILENAME}\.png -f<br />
RewriteRule ^(.*)$ $1.png</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dale</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-36980</link>
		<dc:creator>Dale</dc:creator>
		<pubDate>Sun, 23 Jan 2011 12:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-36980</guid>
		<description>To enable on godaddy, I found out the hard way, you must include &quot;RewriteBase /&quot; whereas on my local drive, this was not necessary.

RewriteEngine On
RewriteBase /</description>
		<content:encoded><![CDATA[<p>To enable on godaddy, I found out the hard way, you must include "RewriteBase /" whereas on my local drive, this was not necessary.</p>
<p>RewriteEngine On<br />
RewriteBase /</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gman</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-32317</link>
		<dc:creator>gman</dc:creator>
		<pubDate>Thu, 03 Jun 2010 17:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-32317</guid>
		<description>I have a godaddy hosting account on shared linux server and was having the same problem as lot of you. I started off with using:

Options +FollowSymLinks
RewriteEngine on
RewriteBase /

I wanted to remove my file extensions using:

RewriteRule ^(.*)$ $1.php [L] 

All logic should state that it should work! I&#039;ve been playing around and discovered that:

RewriteRule ^folder/page$ /folder/page.php [L]

will not work!!! But if I add any character onto the end of page such as a &#039;d&#039; or &#039;s&#039; it works!

RewriteRule ^folder/paged$ /folder/page.php [L]

Finally, in order to make it work Options +FollowSymLinks must be changed to Options -MultiViews. Anything else and it will not work.

Gman</description>
		<content:encoded><![CDATA[<p>I have a godaddy hosting account on shared linux server and was having the same problem as lot of you. I started off with using:</p>
<p>Options +FollowSymLinks<br />
RewriteEngine on<br />
RewriteBase /</p>
<p>I wanted to remove my file extensions using:</p>
<p>RewriteRule ^(.*)$ $1.php [L] </p>
<p>All logic should state that it should work! I've been playing around and discovered that:</p>
<p>RewriteRule ^folder/page$ /folder/page.php [L]</p>
<p>will not work!!! But if I add any character onto the end of page such as a 'd' or 's' it works!</p>
<p>RewriteRule ^folder/paged$ /folder/page.php [L]</p>
<p>Finally, in order to make it work Options +FollowSymLinks must be changed to Options -MultiViews. Anything else and it will not work.</p>
<p>Gman</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dgtlb</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-28807</link>
		<dc:creator>dgtlb</dc:creator>
		<pubDate>Tue, 01 Dec 2009 08:08:38 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-28807</guid>
		<description>has anyone got any experience with installing JuxtaPhoto on godaddy. 
The issue seems to be this mod_rewrite, but have not been able to solve it.
Guidance would be greatly appreciated.
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>has anyone got any experience with installing JuxtaPhoto on godaddy.<br />
The issue seems to be this mod_rewrite, but have not been able to solve it.<br />
Guidance would be greatly appreciated.<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ibrahim</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-27880</link>
		<dc:creator>ibrahim</dc:creator>
		<pubDate>Fri, 02 Oct 2009 11:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-27880</guid>
		<description>Options FollowSymLinks 
works like a charm for those who have problem with htaccess in GODADDY servers</description>
		<content:encoded><![CDATA[<p>Options FollowSymLinks<br />
works like a charm for those who have problem with htaccess in GODADDY servers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tonymynd</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-25788</link>
		<dc:creator>tonymynd</dc:creator>
		<pubDate>Fri, 17 Jul 2009 17:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-25788</guid>
		<description>Dude! fckn&#039; amazing it worked

thank you Spell

Spell Wrote
&quot; I have been trying to get SEF working on a shared Go Daddy website for 3 days with no luck until a few minutes ago. I have read and read and read... Okay, here&#039;s what seemed to work. Here&#039;s the a quick background:...&quot;</description>
		<content:encoded><![CDATA[<p>Dude! fckn' amazing it worked</p>
<p>thank you Spell</p>
<p>Spell Wrote<br />
" I have been trying to get SEF working on a shared Go Daddy website for 3 days with no luck until a few minutes ago. I have read and read and read... Okay, here's what seemed to work. Here's the a quick background:..."</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Ferro-Thomsen</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-21796</link>
		<dc:creator>Martin Ferro-Thomsen</dc:creator>
		<pubDate>Tue, 07 Apr 2009 08:42:32 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-21796</guid>
		<description>Yeah, I encountered many of the same problems you describe here. I was setting up Wordpress 2.7 on Godaddy&#039;s Economy Hosting, and was never able to confirm that mod_rewrite actually is supported (I tried waiting hours to see if it worked, but no luck). Eventually I found a brilliant workaround using a custom 404 file, which I point to via the Godaddy admin. I wrote about it here: http://ferrogate.com/2009/04/the-new-ferrogate-i-moved-from-blogger-to-wordpress.html . 

Thanks for a great blog, subscribing to it as we speak.</description>
		<content:encoded><![CDATA[<p>Yeah, I encountered many of the same problems you describe here. I was setting up WordPress 2.7 on Godaddy's Economy Hosting, and was never able to confirm that mod_rewrite actually is supported (I tried waiting hours to see if it worked, but no luck). Eventually I found a brilliant workaround using a custom 404 file, which I point to via the Godaddy admin. I wrote about it here: <a href="http://ferrogate.com/2009/04/the-new-ferrogate-i-moved-from-blogger-to-wordpress.html" rel="nofollow">http://ferrogate.com/2009/04/the-new-ferrogate-i-moved-from-blogger-to-wordpress.html</a> . </p>
<p>Thanks for a great blog, subscribing to it as we speak.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: star</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-21168</link>
		<dc:creator>star</dc:creator>
		<pubDate>Wed, 04 Mar 2009 20:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-21168</guid>
		<description>Maybe someone can help me with this.

My Joomla site is hosted on GoDaddy. I want the homepage to be www.mypage.com/index.html, a portal page which will display several links, one of which will go to  www.mypage.com/index.php

The action of putting &quot;Directoryindex index.html index.php&quot; only makes the site go to index.html when www.mypage.com OR www.mypage.com/index.php is clicked or put into the browser.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Maybe someone can help me with this.</p>
<p>My Joomla site is hosted on GoDaddy. I want the homepage to be <a href="http://www.mypage.com/index.html" rel="nofollow">http://www.mypage.com/index.html</a>, a portal page which will display several links, one of which will go to  <a href="http://www.mypage.com/index.php" rel="nofollow">http://www.mypage.com/index.php</a></p>
<p>The action of putting "Directoryindex index.html index.php" only makes the site go to index.html when <a href="http://www.mypage.com" rel="nofollow">http://www.mypage.com</a> OR <a href="http://www.mypage.com/index.php" rel="nofollow">http://www.mypage.com/index.php</a> is clicked or put into the browser.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhruv</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-21080</link>
		<dc:creator>Dhruv</dc:creator>
		<pubDate>Fri, 27 Feb 2009 12:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-21080</guid>
		<description>krishna - thank the lord : ) 
your advice worked out just right ; 
added 

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
Options -MultiViews


and things started working immediately for me :  )

Thanks for the page tom, it shows up first at google for mod_rewrite and godaddy.com 


PS; My .htaccess

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
Options -MultiViews

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</description>
		<content:encoded><![CDATA[<p>krishna - thank the lord : )<br />
your advice worked out just right ;<br />
added </p>
<p>AddHandler x-httpd-php5 .php<br />
AddHandler x-httpd-php .php4<br />
Options -MultiViews</p>
<p>and things started working immediately for me :  )</p>
<p>Thanks for the page tom, it shows up first at google for mod_rewrite and godaddy.com </p>
<p>PS; My .htaccess</p>
<p>AddHandler x-httpd-php5 .php<br />
AddHandler x-httpd-php .php4<br />
Options -MultiViews</p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kai Meng Wong (victorwkm) &#187; Blog Archive &#187; mod_rewrite</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-20656</link>
		<dc:creator>Kai Meng Wong (victorwkm) &#187; Blog Archive &#187; mod_rewrite</dc:creator>
		<pubDate>Sun, 25 Jan 2009 05:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-20656</guid>
		<description>[...] http://gidden.net/tom/2006/05/26/4/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://gidden.net/tom/2006/05/26/4/" rel="nofollow">http://gidden.net/tom/2006/05/26/4/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Permalinks on GoDaddy &#124; Devangelist</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-20549</link>
		<dc:creator>Permalinks on GoDaddy &#124; Devangelist</dc:creator>
		<pubDate>Wed, 14 Jan 2009 17:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-20549</guid>
		<description>[...] at the computer. While the steps are simple I wouldn&#8217;t have known these random things without this post by Tom [...]</description>
		<content:encoded><![CDATA[<p>[...] at the computer. While the steps are simple I wouldn&#8217;t have known these random things without this post by Tom [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Thomas</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-20498</link>
		<dc:creator>Jeff Thomas</dc:creator>
		<pubDate>Fri, 09 Jan 2009 13:54:37 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-20498</guid>
		<description>Hey Tom,

I hope this note finds you well.  Back in September, you were kind enough to help me through some trouble I was having with a .htaccess file on my GoDaddy hosting servers.  We sorted through this issue, but we are now experiencing some more problems when trying to launch the site with some new enhancements.  I&#039;ve pasted the text from our .htaccess file below.  My developer tells me we need to enable the mod_rewrite and set as LoadModule rewrite_module modules/mod_rewrite.so in httpd.conf file.  I thought GoDaddy set the mod_rewrite by default?  Anyways, can you take a look at the .htaccess below and let me know if you see any issues?  Thanks a million in advance.  

Jeff


---------------BEGIN .HTACCESS


# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

AddHandler x-httpd-php5 .php .html
AddHandler x-httpd-php .php4 .html



order deny,allow
deny from all
allow from all


order deny,allow
deny from all


AuthName www.wine-hotels.com

# Enable rewrite engine

RewriteEngine On

RewriteRule ^index\.html web/index.php [L]


RewriteRule ^([^/]+)/index\.html web/home.php?rname=$1 [L]
RewriteRule ^([^/]+)/hotels/index\.html web/list.php?rname=$1&amp;catid=1 [L]
RewriteRule ^([^/]+)/restaurants/index\.html web/list.php?rname=$1&amp;catid=2 [L]
RewriteRule ^([^/]+)/wineries/index\.html web/list.php?rname=$1&amp;catid=3 [L]
RewriteRule ^([^/]+)/activities/index\.html web/list.php?rname=$1&amp;catid=4 [L]

#RewriteRule ^([^/]+)/hotels/map/(.*)\.html web/map.php?rname=$1&amp;catid=1&amp;name=$2 [L]
#RewriteRule ^([^/]+)/restaurants/map/(.+?)\.html web/map.php?rname=$1&amp;catid=2&amp;name=$2 [L]
#RewriteRule ^([^/]+)/wineries/map/(.+?)\.html web/map.php?rname=$1&amp;catid=3&amp;name=$2 [L]
#RewriteRule ^([^/]+)/activities/map/(.+?)\.html web/map.php?rname=$1&amp;catid=4&amp;name=$2 [L]

#RewriteRule ^([^/]+)/hotels/phototour/(.*)\.html web/phototour.php?rname=$1&amp;catid=1&amp;name=$2 [L]
#RewriteRule ^([^/]+)/restaurants/phototour/(.+?)\.html web/phototour.php?rname=$1&amp;catid=2&amp;name=$2 [L]
#RewriteRule ^([^/]+)/wineries/phototour/(.+?)\.html web/phototour.php?rname=$1&amp;catid=3&amp;name=$2 [L]
#RewriteRule ^([^/]+)/activities/phototour/(.+?)\.html web/phototour.php?rname=$1&amp;catid=4&amp;name=$2 [L]

#RewriteRule ^([^/]+)/hotels/(.+?)\.html web/detail.php?rname=$1&amp;catid=1&amp;name=$2 [L]
#RewriteRule ^([^/]+)/restaurants/(.+?)\.html web/detail.php?rname=$1&amp;catid=2&amp;name=$2 [L]
#RewriteRule ^([^/]+)/wineries/(.+?)\.html web/detail.php?rname=$1&amp;catid=3&amp;name=$2 [L]
#RewriteRule ^([^/]+)/activities/(.+?)\.html web/detail.php?rname=$1&amp;catid=4&amp;name=$2 [L]</description>
		<content:encoded><![CDATA[<p>Hey Tom,</p>
<p>I hope this note finds you well.  Back in September, you were kind enough to help me through some trouble I was having with a .htaccess file on my GoDaddy hosting servers.  We sorted through this issue, but we are now experiencing some more problems when trying to launch the site with some new enhancements.  I've pasted the text from our .htaccess file below.  My developer tells me we need to enable the mod_rewrite and set as LoadModule rewrite_module modules/mod_rewrite.so in httpd.conf file.  I thought GoDaddy set the mod_rewrite by default?  Anyways, can you take a look at the .htaccess below and let me know if you see any issues?  Thanks a million in advance.  </p>
<p>Jeff</p>
<p>---------------BEGIN .HTACCESS</p>
<p># -FrontPage-</p>
<p>IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*</p>
<p>AddHandler x-httpd-php5 .php .html<br />
AddHandler x-httpd-php .php4 .html</p>
<p>order deny,allow<br />
deny from all<br />
allow from all</p>
<p>order deny,allow<br />
deny from all</p>
<p>AuthName <a href="http://www.wine-hotels.com" rel="nofollow">http://www.wine-hotels.com</a></p>
<p># Enable rewrite engine</p>
<p>RewriteEngine On</p>
<p>RewriteRule ^index\.html web/index.php [L]</p>
<p>RewriteRule ^([^/]+)/index\.html web/home.php?rname=$1 [L]<br />
RewriteRule ^([^/]+)/hotels/index\.html web/list.php?rname=$1&amp;catid=1 [L]<br />
RewriteRule ^([^/]+)/restaurants/index\.html web/list.php?rname=$1&amp;catid=2 [L]<br />
RewriteRule ^([^/]+)/wineries/index\.html web/list.php?rname=$1&amp;catid=3 [L]<br />
RewriteRule ^([^/]+)/activities/index\.html web/list.php?rname=$1&amp;catid=4 [L]</p>
<p>#RewriteRule ^([^/]+)/hotels/map/(.*)\.html web/map.php?rname=$1&amp;catid=1&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/restaurants/map/(.+?)\.html web/map.php?rname=$1&amp;catid=2&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/wineries/map/(.+?)\.html web/map.php?rname=$1&amp;catid=3&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/activities/map/(.+?)\.html web/map.php?rname=$1&amp;catid=4&amp;name=$2 [L]</p>
<p>#RewriteRule ^([^/]+)/hotels/phototour/(.*)\.html web/phototour.php?rname=$1&amp;catid=1&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/restaurants/phototour/(.+?)\.html web/phototour.php?rname=$1&amp;catid=2&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/wineries/phototour/(.+?)\.html web/phototour.php?rname=$1&amp;catid=3&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/activities/phototour/(.+?)\.html web/phototour.php?rname=$1&amp;catid=4&amp;name=$2 [L]</p>
<p>#RewriteRule ^([^/]+)/hotels/(.+?)\.html web/detail.php?rname=$1&amp;catid=1&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/restaurants/(.+?)\.html web/detail.php?rname=$1&amp;catid=2&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/wineries/(.+?)\.html web/detail.php?rname=$1&amp;catid=3&amp;name=$2 [L]<br />
#RewriteRule ^([^/]+)/activities/(.+?)\.html web/detail.php?rname=$1&amp;catid=4&amp;name=$2 [L]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Thomas</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-18725</link>
		<dc:creator>Jeff Thomas</dc:creator>
		<pubDate>Wed, 24 Sep 2008 13:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-18725</guid>
		<description>We&#039;re having a devil of a time launching our site on GoDaddy hosting.  We&#039;ve been running on an off shore hosting environment for a while and now have made the decision to move to GoDaddy to consolidate with my domain registrations, etc.  Our .htaccess file worked perfectly in the old hosting setup but was running under PHP ver 4.  

We&#039;ve updated the .htaccess to instruct the support for ver 5 and still no joy.  Our current version of .htaccess includes the following:

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*


order deny,allow
deny from all
allow from all


order deny,allow
deny from all


AuthName www.wine-hotels.com
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4

AddHandler server-parsed .php .html 

# Enable rewrite engine

RewriteEngine On






Anybody have any ideas how to get this to work in GoDaddy?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>We're having a devil of a time launching our site on GoDaddy hosting.  We've been running on an off shore hosting environment for a while and now have made the decision to move to GoDaddy to consolidate with my domain registrations, etc.  Our .htaccess file worked perfectly in the old hosting setup but was running under PHP ver 4.  </p>
<p>We've updated the .htaccess to instruct the support for ver 5 and still no joy.  Our current version of .htaccess includes the following:</p>
<p>IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*</p>
<p>order deny,allow<br />
deny from all<br />
allow from all</p>
<p>order deny,allow<br />
deny from all</p>
<p>AuthName <a href="http://www.wine-hotels.com" rel="nofollow">http://www.wine-hotels.com</a><br />
AddHandler x-httpd-php5 .php<br />
AddHandler x-httpd-php .php4</p>
<p>AddHandler server-parsed .php .html </p>
<p># Enable rewrite engine</p>
<p>RewriteEngine On</p>
<p>Anybody have any ideas how to get this to work in GoDaddy?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Krishna</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-18216</link>
		<dc:creator>Krishna</dc:creator>
		<pubDate>Wed, 03 Sep 2008 18:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-18216</guid>
		<description>I have a multi-site hosted on godaddy with the root directory hosting one site and /hindupedia hosting another site (which is reached by the url: www.hindupedia.com).  After trying alot of things on the web, I finally found a way to make this work.

here is my .htaccess file&#039;s contents

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
Options -MultiViews

RewriteEngine On
RewriteBase /
RewriteRule ^hindupedia/eng/(.*)$ en/index.php?title=$1 [PT,L,QSA]</description>
		<content:encoded><![CDATA[<p>I have a multi-site hosted on godaddy with the root directory hosting one site and /hindupedia hosting another site (which is reached by the url: <a href="http://www.hindupedia.com" rel="nofollow">http://www.hindupedia.com</a>).  After trying alot of things on the web, I finally found a way to make this work.</p>
<p>here is my .htaccess file's contents</p>
<p>AddHandler x-httpd-php5 .php<br />
AddHandler x-httpd-php .php4<br />
Options -MultiViews</p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^hindupedia/eng/(.*)$ en/index.php?title=$1 [PT,L,QSA]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Lorensson</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-17573</link>
		<dc:creator>Chris Lorensson</dc:creator>
		<pubDate>Wed, 13 Aug 2008 17:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-17573</guid>
		<description>thank you so much! Rock on!</description>
		<content:encoded><![CDATA[<p>thank you so much! Rock on!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spell</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-16899</link>
		<dc:creator>Spell</dc:creator>
		<pubDate>Sat, 12 Jul 2008 15:24:12 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-16899</guid>
		<description>I have been trying to get SEF working on a shared Go Daddy website for 3 days with no luck until a few minutes ago. I have read and read and read... Okay, here&#039;s what seemed to work. Here&#039;s the a quick background: First, I did input the line, &quot;Options -MultiViews&quot; into .htaccess as mentioned above. Secondly, I uncommented the line &quot;RewriteBase /&quot; which several people say to do. Thirdly, since my Joomla 1.5.2 websites (using PHP 5.2.5) are each in a subdomain of my root folder (my root is for a regular HTML website) I added in a duplicate copy of .htaccess into the root folder. Okay, so: having done those three things still nothing worked. 

Then, a few minutes ago, I tried it again, but this time I made one change and voila, the whole thing WORKED. Here&#039;s what I did: 

Each time I&#039;ve made a modification to the &quot;.htaccess&quot; file I did it in a certain way that seems to have been the problem. To elaborate: I copied it over to my hard drive using Filezilla, then changed the name to &quot;htaccess.txt&quot;. Then, in Dreamweaver, I&#039;ve gone into the file and made whatever change. Then, back in Filezilla, I uploaded the new &quot;htaccess.txt&quot; file onto the website, THEN lastly, I changed the name back to &quot;.htaccess&quot;. That seems to have been the problem. This never worked. 

A few minutes ago, by a fluke, I instead changed the name BEFORE I uploaded the file onto the website. And that worked. Everything worked immediately. On two different websites. 

I&#039;m basically a newbie, so any old-timers are probably reading this and groaning... I hope not. But just in case, this is what seemed to work, finally, for me. 

Take away: Try this: to change the name of &quot;htaccess.txt&quot;, upload the file using Filezilla onto your hard drive, then change the name of the file while it&#039;s on your hard drive (you can do this while still in Filezilla). Then upload the newly renamed file &quot;.htaccess&quot; back onto the server. Go into your Global Config and turn on SEF and mod_rewrite and see if it works. Good luck!</description>
		<content:encoded><![CDATA[<p>I have been trying to get SEF working on a shared Go Daddy website for 3 days with no luck until a few minutes ago. I have read and read and read... Okay, here's what seemed to work. Here's the a quick background: First, I did input the line, "Options -MultiViews" into .htaccess as mentioned above. Secondly, I uncommented the line "RewriteBase /" which several people say to do. Thirdly, since my Joomla 1.5.2 websites (using PHP 5.2.5) are each in a subdomain of my root folder (my root is for a regular HTML website) I added in a duplicate copy of .htaccess into the root folder. Okay, so: having done those three things still nothing worked. </p>
<p>Then, a few minutes ago, I tried it again, but this time I made one change and voila, the whole thing WORKED. Here's what I did: </p>
<p>Each time I've made a modification to the ".htaccess" file I did it in a certain way that seems to have been the problem. To elaborate: I copied it over to my hard drive using Filezilla, then changed the name to "htaccess.txt". Then, in Dreamweaver, I've gone into the file and made whatever change. Then, back in Filezilla, I uploaded the new "htaccess.txt" file onto the website, THEN lastly, I changed the name back to ".htaccess". That seems to have been the problem. This never worked. </p>
<p>A few minutes ago, by a fluke, I instead changed the name BEFORE I uploaded the file onto the website. And that worked. Everything worked immediately. On two different websites. </p>
<p>I'm basically a newbie, so any old-timers are probably reading this and groaning... I hope not. But just in case, this is what seemed to work, finally, for me. </p>
<p>Take away: Try this: to change the name of "htaccess.txt", upload the file using Filezilla onto your hard drive, then change the name of the file while it's on your hard drive (you can do this while still in Filezilla). Then upload the newly renamed file ".htaccess" back onto the server. Go into your Global Config and turn on SEF and mod_rewrite and see if it works. Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-14207</link>
		<dc:creator>Steven</dc:creator>
		<pubDate>Wed, 02 Apr 2008 10:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-14207</guid>
		<description>I really appreciate this article.  In trying to figure out why my .htaccess rewrites were not working I came across this article.  However, I am still going to move my sites to another host.  GoDaddy does not allow external database connections, nor can I find any way to setup a cron.</description>
		<content:encoded><![CDATA[<p>I really appreciate this article.  In trying to figure out why my .htaccess rewrites were not working I came across this article.  However, I am still going to move my sites to another host.  GoDaddy does not allow external database connections, nor can I find any way to setup a cron.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Octopus</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-13671</link>
		<dc:creator>Octopus</dc:creator>
		<pubDate>Thu, 13 Mar 2008 05:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-13671</guid>
		<description>I had the problem on a GoDaddy virtual server.  I read your article and was convinced there would definitely be a solution for my Drupal &#039;clean directorie names&#039;.

I noticed that although the rewrite rule didn&#039;t do as expected on:
http://www.myvirtualdomain.com/

it actually did work on:
http://mymastergodaddydomain.com/myvirtualdomainpath/

So I knew i was a path related problem.  My solution was to change:
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
to:
  RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]

(notice the extra / to distinguish the path correctly)

This stopped it from working in my 2nd example (as expected) but made it work correctly for where it mattered on:

http://www.myvirtualdomain.com/

Alternatively, it was discovered that I could add:
  RewriteBase /
and leave the initial RewriteRule

In any event the secret to making it work is to experiment.

I&#039;ve also noticed that sometimes the change takes affect immediately and on other occassions I&#039;ve had to wait several minutes.</description>
		<content:encoded><![CDATA[<p>I had the problem on a GoDaddy virtual server.  I read your article and was convinced there would definitely be a solution for my Drupal 'clean directorie names'.</p>
<p>I noticed that although the rewrite rule didn't do as expected on:<br />
<a href="http://www.myvirtualdomain.com/" rel="nofollow">http://www.myvirtualdomain.com/</a></p>
<p>it actually did work on:<br />
<a href="http://mymastergodaddydomain.com/myvirtualdomainpath/" rel="nofollow">http://mymastergodaddydomain.com/myvirtualdomainpath/</a></p>
<p>So I knew i was a path related problem.  My solution was to change:<br />
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]<br />
to:<br />
  RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]</p>
<p>(notice the extra / to distinguish the path correctly)</p>
<p>This stopped it from working in my 2nd example (as expected) but made it work correctly for where it mattered on:</p>
<p><a href="http://www.myvirtualdomain.com/" rel="nofollow">http://www.myvirtualdomain.com/</a></p>
<p>Alternatively, it was discovered that I could add:<br />
  RewriteBase /<br />
and leave the initial RewriteRule</p>
<p>In any event the secret to making it work is to experiment.</p>
<p>I've also noticed that sometimes the change takes affect immediately and on other occassions I've had to wait several minutes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Skramstad</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-13304</link>
		<dc:creator>Michael Skramstad</dc:creator>
		<pubDate>Sat, 01 Mar 2008 22:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-13304</guid>
		<description>I’m using the GoDaddy shared Linux plan and my .htaccess file isn’t working. Maybe their configuration has been changed. I want URLs that begin with http://mikeskramstad.com to redirect to the “www” version. Here’s the code:

RewriteEngine on
Options -MultiViews FollowSymLinks
RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.mikeskramstad\.com$ [NC]
RewriteRule ^(.*)$ http://www.mikeskramstad.com/$1 [R=301,L]</description>
		<content:encoded><![CDATA[<p>I’m using the GoDaddy shared Linux plan and my .htaccess file isn’t working. Maybe their configuration has been changed. I want URLs that begin with <a href="http://mikeskramstad.com" rel="nofollow">http://mikeskramstad.com</a> to redirect to the “www” version. Here’s the code:</p>
<p>RewriteEngine on<br />
Options -MultiViews FollowSymLinks<br />
RewriteBase /</p>
<p>RewriteCond %{HTTP_HOST} !^www\.mikeskramstad\.com$ [NC]<br />
RewriteRule ^(.*)$ <a href="http://www.mikeskramstad.com/$1" rel="nofollow">http://www.mikeskramstad.com/$1</a> [R=301,L]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timothy W. Crane</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-12217</link>
		<dc:creator>Timothy W. Crane</dc:creator>
		<pubDate>Sun, 20 Jan 2008 07:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-12217</guid>
		<description>I am soooo glad I found your article, just in the nick of time. I was just getting ready to call GoDaddy for another slugfest over access rights, when I read your article reminding me that nothing happens fast with this hosting. By the time I got done with your article, my rewrites were working. Best thing that could have happened. I&#039;m sure they would have sat on the phone with me getting every page to redirect needlessly and killing my seo attempt in the process.</description>
		<content:encoded><![CDATA[<p>I am soooo glad I found your article, just in the nick of time. I was just getting ready to call GoDaddy for another slugfest over access rights, when I read your article reminding me that nothing happens fast with this hosting. By the time I got done with your article, my rewrites were working. Best thing that could have happened. I'm sure they would have sat on the phone with me getting every page to redirect needlessly and killing my seo attempt in the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BJ</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-11785</link>
		<dc:creator>BJ</dc:creator>
		<pubDate>Sun, 16 Dec 2007 16:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-11785</guid>
		<description>My godaddy account had multiviews turned on which do some &quot;smart rewriting&quot; of their own before mod_rewrite does...which causes problems. After turning off multiviews, all my old mod_rewrite stuff worked again. To turn off multiviews add this to your htaccess file:

Options -MultiViews

I wrote a little more about it on my bog:
http://www.btjones.com/2007/12/09/godaddy-mod_rewrite-problem-fix/</description>
		<content:encoded><![CDATA[<p>My godaddy account had multiviews turned on which do some "smart rewriting" of their own before mod_rewrite does...which causes problems. After turning off multiviews, all my old mod_rewrite stuff worked again. To turn off multiviews add this to your htaccess file:</p>
<p>Options -MultiViews</p>
<p>I wrote a little more about it on my bog:<br />
<a href="http://www.btjones.com/2007/12/09/godaddy-mod_rewrite-problem-fix/" rel="nofollow">http://www.btjones.com/2007/12/09/godaddy-mod_rewrite-problem-fix/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Gidden</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-11590</link>
		<dc:creator>Tom Gidden</dc:creator>
		<pubDate>Mon, 03 Dec 2007 23:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-11590</guid>
		<description>Thanks for the notice, Jim, and the other commenters that highlighted this.  I&#039;ve removed the strikethroughs accordingly.</description>
		<content:encoded><![CDATA[<p>Thanks for the notice, Jim, and the other commenters that highlighted this.  I've removed the strikethroughs accordingly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-11589</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 03 Dec 2007 23:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-11589</guid>
		<description>Tom, thanks for this post. I do want to post here that I just pulled my hair out uploading, deleting, reuploading, uploading through FTP, uploading through the Account Manager at GoDaddy, uploading in binary, reuploading in ascii... then I found this post.

Even though the strikethroughs indicate the delay issue was fixed, it currently isn&#039;t. I waited 5 minutes, and poof! Worked like it&#039;s supposed to.

So, hopefully this little addition will let other poor souls know to wait just a bit and stop screaming at your poor htaccess file. 

Jim
http://www.findmytee.com</description>
		<content:encoded><![CDATA[<p>Tom, thanks for this post. I do want to post here that I just pulled my hair out uploading, deleting, reuploading, uploading through FTP, uploading through the Account Manager at GoDaddy, uploading in binary, reuploading in ascii... then I found this post.</p>
<p>Even though the strikethroughs indicate the delay issue was fixed, it currently isn't. I waited 5 minutes, and poof! Worked like it's supposed to.</p>
<p>So, hopefully this little addition will let other poor souls know to wait just a bit and stop screaming at your poor htaccess file. </p>
<p>Jim<br />
<a href="http://www.findmytee.com" rel="nofollow">http://www.findmytee.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Gidden</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-11452</link>
		<dc:creator>Tom Gidden</dc:creator>
		<pubDate>Mon, 26 Nov 2007 08:44:38 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-11452</guid>
		<description>Thanks for your answers, Dave... I stopped using GoDaddy a long time ago, so I can&#039;t really help on this issue.

Their modifications, such as grabbing PHP out in the early stages of the request, make debugging .htaccess behaviour fairly tricky, so it&#039;s difficult to guess what&#039;s going to happen.

Plus, the fact that rewrite rules can be fairly tricky on their own!</description>
		<content:encoded><![CDATA[<p>Thanks for your answers, Dave... I stopped using GoDaddy a long time ago, so I can't really help on this issue.</p>
<p>Their modifications, such as grabbing PHP out in the early stages of the request, make debugging .htaccess behaviour fairly tricky, so it's difficult to guess what's going to happen.</p>
<p>Plus, the fact that rewrite rules can be fairly tricky on their own!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Allen</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-11426</link>
		<dc:creator>Dave Allen</dc:creator>
		<pubDate>Sun, 25 Nov 2007 02:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-11426</guid>
		<description>You may need to add


redirectmatch 301 ^/test/(.*)$ /test.php</description>
		<content:encoded><![CDATA[<p>You may need to add</p>
<p>redirectmatch 301 ^/test/(.*)$ /test.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Allen</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-11425</link>
		<dc:creator>Dave Allen</dc:creator>
		<pubDate>Sun, 25 Nov 2007 01:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-11425</guid>
		<description>is the .htaccess file on the test/ directory?


Email me the full htaccess file info dave dot allen (at symbol) shaw dot ca</description>
		<content:encoded><![CDATA[<p>is the .htaccess file on the test/ directory?</p>
<p>Email me the full htaccess file info dave dot allen (at symbol) shaw dot ca</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-11416</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Sat, 24 Nov 2007 02:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-11416</guid>
		<description>I want to do same thing

www.test.com/test/abc to

www.test.com/test.php?param=abc


On my hosting directory my site is not hosted on root, but it is hosted at in a directory in root say xyz

So when I write in my .htaccess-

RewriteEngine On
RewriteRule ^test/(.*) test.php?param=$1

now when I use your method and write url -
www.test.com/test/abc

it gave 404 error -
The requested URL /xyz/test.php was not found on this server.

How should I change the .htaccess file ?</description>
		<content:encoded><![CDATA[<p>I want to do same thing</p>
<p><a href="http://www.test.com/test/abc" rel="nofollow">http://www.test.com/test/abc</a> to</p>
<p><a href="http://www.test.com/test.php?param=abc" rel="nofollow">http://www.test.com/test.php?param=abc</a></p>
<p>On my hosting directory my site is not hosted on root, but it is hosted at in a directory in root say xyz</p>
<p>So when I write in my .htaccess-</p>
<p>RewriteEngine On<br />
RewriteRule ^test/(.*) test.php?param=$1</p>
<p>now when I use your method and write url -<br />
<a href="http://www.test.com/test/abc" rel="nofollow">http://www.test.com/test/abc</a></p>
<p>it gave 404 error -<br />
The requested URL /xyz/test.php was not found on this server.</p>
<p>How should I change the .htaccess file ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Allen</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-10899</link>
		<dc:creator>Dave Allen</dc:creator>
		<pubDate>Thu, 08 Nov 2007 20:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-10899</guid>
		<description>I did something with godaddy, its not pretty but it works for permalinks etc.

First you create a page:
http://whateverdomain.com/com/content.php?page=events&amp;id=101
where the page is made up of content dynamically taken from a database using the two parameters passed in the URL (page and id)

Set your .htaccess file to show

redirectmatch 301 ^/content/(.*)$ /content.php

RewriteEngine On
RewriteRule ^content/(.*) /content.php?var=$1

I used the info above that 

&quot;Requests for PHP files (eg. http://gidden.net/tom/item.php) are intercepted well before .htaccess (and definitely mod_rewrite) activate. So, mod_rewrite will not work on URLs for PHP files.

# However, it will allow redirections to PHP files.&quot;

So I made up a fake, non php file and url containing the two parameters that I needed i.e.

http://whateverdomain.com/content/events/101/index.asp

which will then redirect to:

http://whateverdomain.com/content.php?var=events/101/index.asp

A little php on the content.php:

$data = explode(&quot;/&quot;,$_GET[&#039;var&#039;]);
$page = $data[0];
$id = $data[1];

And everything works beautifully.  Very awkward, but it works.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>I did something with godaddy, its not pretty but it works for permalinks etc.</p>
<p>First you create a page:<br />
<a href="http://whateverdomain.com/com/content.php?page=events&#038;id=101" rel="nofollow">http://whateverdomain.com/com/content.php?page=events&#038;id=101</a><br />
where the page is made up of content dynamically taken from a database using the two parameters passed in the URL (page and id)</p>
<p>Set your .htaccess file to show</p>
<p>redirectmatch 301 ^/content/(.*)$ /content.php</p>
<p>RewriteEngine On<br />
RewriteRule ^content/(.*) /content.php?var=$1</p>
<p>I used the info above that </p>
<p>"Requests for PHP files (eg. <a href="http://gidden.net/tom/item.php" rel="nofollow">http://gidden.net/tom/item.php</a>) are intercepted well before .htaccess (and definitely mod_rewrite) activate. So, mod_rewrite will not work on URLs for PHP files.</p>
<p># However, it will allow redirections to PHP files."</p>
<p>So I made up a fake, non php file and url containing the two parameters that I needed i.e.</p>
<p><a href="http://whateverdomain.com/content/events/101/index.asp" rel="nofollow">http://whateverdomain.com/content/events/101/index.asp</a></p>
<p>which will then redirect to:</p>
<p><a href="http://whateverdomain.com/content.php?var=events/101/index.asp" rel="nofollow">http://whateverdomain.com/content.php?var=events/101/index.asp</a></p>
<p>A little php on the content.php:</p>
<p>$data = explode("/",$_GET['var']);<br />
$page = $data[0];<br />
$id = $data[1];</p>
<p>And everything works beautifully.  Very awkward, but it works.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Gidden</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-2161</link>
		<dc:creator>Tom Gidden</dc:creator>
		<pubDate>Wed, 18 Apr 2007 18:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-2161</guid>
		<description>It should be something like:

  RewriteEngine On
  RewriteRule ^test/(.*) test.php?param=$1

in /.htaccess</description>
		<content:encoded><![CDATA[<p>It should be something like:</p>
<p>  RewriteEngine On<br />
  RewriteRule ^test/(.*) test.php?param=$1</p>
<p>in /.htaccess</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alok Kumar</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-2160</link>
		<dc:creator>Alok Kumar</dc:creator>
		<pubDate>Wed, 18 Apr 2007 18:04:35 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-2160</guid>
		<description>Hi,

I have to redirect a url on godaddy web hosting serer. but it is not happening.


www.test.com/test/abc then it should be changed into

www.test.com/test.php?param=abc


Reply

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have to redirect a url on godaddy web hosting serer. but it is not happening.</p>
<p><a href="http://www.test.com/test/abc" rel="nofollow">http://www.test.com/test/abc</a> then it should be changed into</p>
<p><a href="http://www.test.com/test.php?param=abc" rel="nofollow">http://www.test.com/test.php?param=abc</a></p>
<p>Reply</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-1550</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Fri, 30 Mar 2007 07:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-1550</guid>
		<description>I still have to wait a few minutes for .htaccess to take effect on GoDaddy. One of those aggravating occasions where a computer problem mysteriously fixes itself given time.</description>
		<content:encoded><![CDATA[<p>I still have to wait a few minutes for .htaccess to take effect on GoDaddy. One of those aggravating occasions where a computer problem mysteriously fixes itself given time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharwan</title>
		<link>http://gidden.net/tom/2006/05/26/4/comment-page-1/#comment-86</link>
		<dc:creator>Sharwan</dc:creator>
		<pubDate>Thu, 08 Feb 2007 03:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://gidden.net/tom/?p=4#comment-86</guid>
		<description>Thanks Tom,

I was facing this trouble from last few weeks and was unable to configure it out. but now mod_rewrite on godaddy works perfect for me.</description>
		<content:encoded><![CDATA[<p>Thanks Tom,</p>
<p>I was facing this trouble from last few weeks and was unable to configure it out. but now mod_rewrite on godaddy works perfect for me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

