htaccess help please?
Hi there,
I have had these rules in my htaccess for a while on my old server, iv now moved server and for some reason google can no longer find my sitemaps due to a redirect error etc etc...
Code:
RewriteEngine On
# redirects any URL that includes: record_company.php/password_forgotten.php
RedirectMatch Permanent ^/(.*[record_company.php]+) /page_not_found.php
# redirects any URL that includes: /images/wp- with 'wp-' being anything that ends with '.php'
# this allows for images named such as 'wp-header.jpg' to work
RedirectMatch Permanent ^/(.*[images]+)/(wp-.*\.php)$ /page_not_found.php
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/ADMINAREA/.* [NC]
# Don't rewite shop directory
RewriteCond %{REQUEST_URI} !^/shop/.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /index.php?%{QUERY_STRING} [L]
no idea when it comes to htaccess
but which of these would stop google finding my sitemaps??
p.s ADMINAREA is my directory renamed for security on here
i may not know how yet, but i soon will....i hope :)