<![CDATA[ Getting Friendly URLs to work - My Forums]]> https://forums.modx.com/thread/?thread=5185 <![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32963 opengeek May 21, 2009, 05:29 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32963 <![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32962 jisaac May 21, 2009, 11:35 AM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32962 <![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32961
RewriteRule ^(.*)$ http://%{HTTP_HOST}/index.php?q=%{REQUEST_URI} [L,NC}


Works like a gem!]]>
jisaac May 14, 2009, 10:44 AM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32961
<![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32960 jisaac May 13, 2009, 05:05 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32960 <![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32959
My host was super-helpful and got it working using the following wrapped around the Options line:

<Files ~ (\.php)>
  Options +FollowSymLinks
</Files>


For this site I decided to try PHP running as a FastCGI app (running as a Module was giving me permissions headaches on an older site).

So if you also have PHP running as a FastCGI app, might be worth trying the above.]]>
btp-design May 13, 2009, 04:57 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32959
<![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32958 Quote from: Cipa at May 13, 2009, 07:40 PM

I have subdomains and the default .htaccess file works.

I just uploaded the default MODx .htaccess files and now I get 400 errors.]]>
jisaac May 13, 2009, 03:08 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32958
<![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32957 Quote from: Cipa at May 13, 2009, 07:40 PM

Are you using apache or some other web server?

I have subdomains and the default .htaccess file works.


Yeah, I am on Apache.]]>
jisaac May 13, 2009, 02:44 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32957
<![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32956
I have subdomains and the default .htaccess file works.

]]>
cipa May 13, 2009, 02:40 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=29#dis-post-32956
<![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=28#dis-post-32955 jisaac May 13, 2009, 02:15 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=28#dis-post-32955 <![CDATA[Re: Getting Friendly URLs to work]]> https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=28#dis-post-32954 Options +FollowSymlinks
as a new line above
(see modx folder htaccess or svn http://svn.modxcms.com/svn/tattoo/tattoo/releases/0.9.6.3/ )

And remove this prefix:
info.php?q=]]>
mrhaw May 13, 2009, 02:06 PM https://forums.modx.com/thread/5185/getting-friendly-urls-to-work?page=28#dis-post-32954