Re: RewriteCond / rule for mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-01-12 at 08:49 -0500, John Corry wrote:

> I have this in my .htaccess file (for a Magento installation).
> 
> ############################################
> ## never rewrite for existing files, directories and links
> 
>     RewriteCond %{REQUEST_FILENAME} !-f
>     RewriteCond %{REQUEST_FILENAME} !-d
>     RewriteCond %{REQUEST_FILENAME} !-l
> 
> ############################################
> ## rewrite everything else to index.php
> RewriteRule .* index.php [L]
> 
> The client just asked for a wordpress installation. I installed and set it
> up in /blog.
> 
> But when I request /blog in my browser, I get an endless redirect error.
> 
> ???
> 
> Anyone care to offer help with why?
> 


You shouldn't if this is all that's in your .htaccess file. Is there one
in the blog directory, and just to be sure, is the WordPress directory
called 'blog' and are you typing in the correct letter case?

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux