
Hope all that made sense. Thanks for any advice.
This is what I thought of doing, but then I’d have to mod_rewrite my existing URLs and every time I edit mod_rewrite, no matter how precise I think I got my regex’s they never work and then everything on the site gets messed up and then Google de-indexes it.
If the UK content is very different to the US content i would recommend using friendly alias paths.
RewriteRule ^/(?!(?:manager|assets)/)(.*)\.html(?:\?(.*))?$ /index.php?q=$1?2&$2: [NC,L,U]
RewriteRule ^/(?!(?:manager|assets)/)(.*)\.xml(?:\?(.*))?$ /index.php?q=$1?2&$2: [NC,L,U]
# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.48
RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 32
RewriteBase
# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule ^/httpd(?:\.ini|\.parse\.errors).*$ / [NC,F,O]
# Block external access to the Helper ISAPI Extension
RewriteRule ^.*\.isrwhlp$ / [NC,F,O]
RewriteRule ^/(?!(?:manager|assets)/)(.*)\.html(?:\?(.*))?$ /index.php?q=$1?2&$2: [NC,L,U]
RewriteRule ^/(?!(?:manager|assets)/)(.*)\.xml(?:\?(.*))?$ /index.php?q=$1?2&$2: [NC,L,U]
The default ht.access file is what I’m using (renamed to .htaccess, of course). The only changes I made to it were uncommenting register_globals (to turn them off) and the section near the top the rewrites the domain with a www in front. But when I add your two lines of code, the server doesn’t like it.
You mean this line...
#php_flag register_globals Off
This is how I’ve been disabling register_globals with my current host for about two years now. If the server didn’t like it, would I have found out a long time ago? Or would these new RewriteRules effect it some way?