
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html$ http://babyphotography.ie/$1 [R=301,L]

RewriteCond %{HTTP_HOST} !^www.babyphotography.ie [NC]
RewriteRule ^(.*)$ http://www.babyphotography.ie/$1 [L,R=301]

<files wp-config.php>
order allow,deny
deny from all
</files>


# END WordPress
