Hi everyone, I am having an issue with the current .htaccess access. The 
developer which I am working with, did some work on it but it still not 
100% working and also i found that Google is not indexing my homepage new 
urls. 

Basically this site coded in cakephp framework http://bit.ly/yXOok beta was 
released just 3 days ago. The first day, we put beta, we had our forum 
image server all blocked http://bit.ly/OzzGy not it is not blocked anymore. 
Here is the current .htaccess file that i use in the root but it is causing 
issues. What the developer did and told me but he is very new to these type 
of rules, he told me that he wrote the rules to ignore the forum directory 
so it doesn't get blocked by the homepage script which is based on cakephp

<IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteCond %{REQUEST_URI} !^/forum/(.*)
    RewriteCond %{REQUEST_URI} !^/cache/(.*)
    RewriteCond %{REQUEST_URI} !^/cache/(.*)

    RewriteCond %{REQUEST_URI} !^/chan/(.*)
    RewriteCond %{REQUEST_URI} !^forum\.nihonomaru\.com


    RewriteCond %{HTTP_HOST} ^(www\.)?nihonomaru.com$
    RewriteRule ^$ app/webroot/ [L]
    RewriteCond %{HTTP_HOST} ^(www\.)?nihonomaru.com$
    RewriteRule (.*) app/webroot/$1 [L]

    #RewriteRule ^$ app/webroot/ [L]
    #RewriteRule (.*) app/webroot/$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule> 

I want to make sure of few things:

1. Are these rules written correctly?

2. These urls is blocking my gallery directory and i can't access it 
http://bit.ly/bhhqMM

3. It is been few days and Google has not indexed any new urls related to 
the homepage, My forum is very popular so there is always indexing but with 
my homepage it is not indexing any of the pages, i think these .htaccess 
rules are blocking google in a way or another or causing issues. To prove 
this, i have my beta also installed somewhere else and it did get indexed 
all 2k urls the first day, but on that other place we are simply using 
these rules below but if we use it on my current site, it will block the 
forum.

<IfModule mod_rewrite.c>
   RewriteEngine on
   #RewriteRule    ^$ app/webroot/    [L]
   #RewriteRule    (.*) app/webroot/$1 [L]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

Thanks for taking the time and helping. 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to