regex - .htaccess isn't handling root of the folder properly -


Therefore there is .htaccess file in / blog / folder on my webserver and we are using to work with blog CMS I wrote this for this particular customer (expression engine). Htaccess URL works very well to make SEO friendly until I go to www.example.com/blog/ then it goes to the rule below which I do not want

I Tried to add the Google line that you are looking at what it is seeing on the last bottom line and it passes Google "index.html" (no quotes) - possibly a simple regex method, remove the strings that Index.html starts but I am unfortunately I'm not a Rezx Ninja ...

Here's the .htaccess content:

  ##### to overwrite ######### ################ Blog categories Home rewritable · Beach-Baby /? $ Index.php / Site / C4 / Repetition * Adventure-child /? $ Index.php / site / C5 / rewriterule ^ snow-baby /? $ Index.php / site / C6 / rewriterule ^ Wild-child /? $ Index.php / site / C7 / ############################# Blog Categories with Blog Rewrite ^ Beach-Baby / Page ([0-9] +) /? $ Index.php / Site / C4 / P $ 1 / Rewruable ^ Adventure-Baby / Page ([0-9] +) /? $ Index.php / site / c5 / p $ 1 / rewriting ^ ice-baby / page ([0-9] +) /? $ Index.php / site / c6 / p $ 1 / rewrite ^ wild-child / page ([0-9] +) /? $ Index.php / Site / C7 / P $ 1 / ############################### Blog With Page Recording Index rule ^ page ([0-9] +) /? $ Index.php / P $ 1 / ########################################################################################################## ) /? $ Http://www.google.ca/search?q=$1 Revision ^ ([^ /] +) /? $ Index.php / Site / Comments / $ 1 /  

You over other rules The following rules can be set by /index.html other rules:

  Rewrite rules ^ .html $ - [L]  
< / Div>

Comments