You could post the contents of the site's .htaccess file for review.
Printable View
You could post the contents of the site's .htaccess file for review.
Heres our .htaccess. All of those RewriteCond at the end must have been added by our hoster. Probably having to do with redirecting all of our parked domains to our main site.
# Use PHP5.6 as default
AddHandler application/x-httpd-ea-php56 .php
RewriteEngine on
# replace www.MYSITE.COM with your website address.
# be sure to add any extra paths required to locate the index.php
# then relocate this file to the root of your store's folders, and rename it as .htaccess
ErrorDocument 404 http://67.20.86.87/index.php?main_page=page_not_found
## USER IP BANNING
order allow,deny
Deny from .ru
Deny from 176.113.115.28
Deny from ##########.com
Deny from 76.17.213.71
Deny from 112.198.203.176
Deny from 218.213.143.11
Deny from .cn
Deny from .cn.net
Deny from .cn.com
Deny from 60.169
Deny from 60.166
Deny from 222.186
Deny from 60.169.77.2
Deny from 222.184
allow from all
AddType image/x-icon .ico
ExpiresActive On
ExpiresDefault "access plus 15 days"
ExpiresByType image/gif "access plus 30 days"
ExpiresByType image/png "access plus 30 days"
ExpiresByType image/jpg "access plus 30 days"
ExpiresByType image/x-icon "access plus 365 days"
ExpiresByType text/css "access plus 30 days"
# RewriteCond %{SERVER_PORT} 80
# RewriteRule ^(.*)$ https://australianbakery.com/$1 [R,L]
# RewriteCond %{HTTP_HOST} ^australianbakery.com [NC,OR]
# RewriteCond %{HTTP_HOST} ^www.australianbakerycafe.com [NC,OR]
# RewriteCond %{HTTP_HOST} ^australianbakerycafe.com [NC,OR]
# RewriteCond %{HTTP_HOST} ^www.australianbakery.com [NC]
# RewriteRule ^(.*)$ https://australianbakerycafe.com/$1 [L,R=301,NC]
RewriteCond %{HTTP_HOST} ^australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakerycafe.com$ [NC]
#BEGIN##########___ADDED for Ultimate URLs v 3.0.8 for SEO plugin
RewriteRule ^index\.php$ - [L]
# Handles the new URL formats
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING } [L]
# Original (unchanged) URL formats
RewriteRule ^(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+)(.*)$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-ezp-([0-9]+)(.*)$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)(.*)$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
# Rewrite all other requests (if the file / directory does not exist)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?main_page=$1&%{QUERY_STRING} [L]
#END####################_ADDED for Ultimate URLs v 3.0.8 for SEO plugin
RewriteRule ^/?$ "https\:\/\/australianbakerycafe\.com" [R=301,L]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
</IfModule>
# php -- END cPanel-generated handler, do not edit
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.store$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|png|pdf)$ - [F,NC]
Hmmm, I did post it, but it's not showing up.
I'm unclear as to what the RewriteRules that follow the cPanel-generated PHP version ...
... but I think I see the issue. In this section
... the highlighted RewriteRule looks to be the final processing for the RewriteCond's at the top of that section. Do things get better if you move that back, i.e.Code:RewriteCond %{HTTP_HOST} ^australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakerycafe.com$ [NC]
#BEGIN##########___ADDED for Ultimate URLs v 3.0.8 for SEO plugin
RewriteRule ^index\.php$ - [L]
# Handles the new URL formats
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING } [L]
# Original (unchanged) URL formats
RewriteRule ^(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+)(.*)$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-ezp-([0-9]+)(.*)$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)(.*)$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
# Rewrite all other requests (if the file / directory does not exist)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?main_page=$1&%{QUERY_STRING} [L]
#END####################_ADDED for Ultimate URLs v 3.0.8 for SEO plugin
RewriteRule ^/?$ "https\:\/\/australianbakerycafe\.com" [R=301,L]
Code:RewriteCond %{HTTP_HOST} ^australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakerycafe.com$ [NC]
RewriteRule ^/?$ "https\:\/\/australianbakerycafe\.com" [R=301,L]
#BEGIN##########___ADDED for Ultimate URLs v 3.0.8 for SEO plugin
RewriteRule ^index\.php$ - [L]
# Handles the new URL formats
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$4&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)/(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$4&cPath=$2&%{QUERY_STRING } [L]
# Original (unchanged) URL formats
RewriteRule ^(.*)-p-([0-9]+)(.*)$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+)(.*)$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+)(.*)$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+)(.*)$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+)(.*)$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-ezp-([0-9]+)(.*)$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-([0-9_]+)(.*)$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
# Rewrite all other requests (if the file / directory does not exist)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?main_page=$1&%{QUERY_STRING} [L]
#END####################_ADDED for Ultimate URLs v 3.0.8 for SEO plugin
Thanks lat9. I moved
RewriteRule ^/?$ "https\:\/\/australianbakerycafe\.com" [R=301,L] to be above the plugin rewrite rules
Then set Enable alternate URLs? = True (again, I assume this is how one enables the plugin)
Tried website in browser, got the original error message "This site isn't redirecting properly" and site will not load.
Cleared browser as well as plugin cache. Same error message. I have disabled plugin and reverted .htaccess to the original and site is back to loading normally.
As the error occured, this is all that showed up in usu-admin log files:
=====> URL Generation Log Started, for page: /<admin_directory>/orders.php?oID=21118&action=edit.
Request sent to href_link('index', '', 'NONSSL', true, true, false, true)
Generated URL: https://australianbakerycafe.com/
Request sent to href_link('index', '', 'NONSSL', true, true, false, true)
Generated URL: https://australianbakerycafe.com/
Greg, would you post the original .htaccess that works for comparison?
Hi Lat9, here you go. Thanks very much for your help! I would dearly like to get Ultimate URLs working on my site, but I sure can't have it bringing my site down ;-)
# Use PHP5.6 as default
AddHandler application/x-httpd-ea-php56 .php
RewriteEngine on
# replace www.MYSITE.COM with your website address.
# be sure to add any extra paths required to locate the index.php
# then relocate this file to the root of your store's folders, and rename it as .htaccess
ErrorDocument 404 http://67.20.86.87/index.php?main_page=page_not_found
## USER IP BANNING
order allow,deny
Deny from .ru
Deny from 176.113.115.28
Deny from ##########.com
Deny from 76.17.213.71
Deny from 112.198.203.176
Deny from 218.213.143.11
Deny from .cn
Deny from .cn.net
Deny from .cn.com
Deny from 60.169
Deny from 60.166
Deny from 222.186
Deny from 60.169.77.2
Deny from 222.184
allow from all
AddType image/x-icon .ico
ExpiresActive On
ExpiresDefault "access plus 15 days"
ExpiresByType image/gif "access plus 30 days"
ExpiresByType image/png "access plus 30 days"
ExpiresByType image/jpg "access plus 30 days"
ExpiresByType image/x-icon "access plus 365 days"
ExpiresByType text/css "access plus 30 days"
# RewriteCond %{SERVER_PORT} 80
# RewriteRule ^(.*)$ https://australianbakery.com/$1 [R,L]
# RewriteCond %{HTTP_HOST} ^australianbakery.com [NC,OR]
# RewriteCond %{HTTP_HOST} ^www.australianbakerycafe.com [NC,OR]
# RewriteCond %{HTTP_HOST} ^australianbakerycafe.com [NC,OR]
# RewriteCond %{HTTP_HOST} ^www.australianbakery.com [NC]
# RewriteRule ^(.*)$ https://australianbakerycafe.com/$1 [L,R=301,NC]
RewriteCond %{HTTP_HOST} ^australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakerycafe.com$ [NC]
RewriteRule ^/?$ "https\:\/\/australianbakerycafe\.com" [R=301,L]
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
</IfModule>
# php -- END cPanel-generated handler, do not edit
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thegreataustralianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thegreataustralianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://thegreataustralianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiebakerycafe.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiemeatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiepies.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.aussiepies.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakery.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.dev.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.dev.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.greataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mail.australianbakerycafe.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mail.australianbakerycafe.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.meatpie.store$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.biz/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.biz$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.info/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.info$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.net$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.org$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.store/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.thegreataustralianbakery.store$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|png|pdf)$ - [F,NC]
I read a lot of advice about merging htaccess files which sounded very complex; in the end, I just added the SEO rules to the end of my current htaccess file and that works fine.
i agree that this is a good idea. here is what i would do:
- add the URL rules at the end of your working .htaccess file
- leave the enable SEO url set to off/false.
- ensure that your site is still working with the SEO set to off
- if it is not working, i would comment out this line by adding the '#' in front of it:
- #RewriteRule ^index\.php$ - [L]
- once the site is working with the modified .htaccess file, i would then start troubleshooting the rules part of it.
- i would see what happens with this url: https://australianbakerycafe.com/pie-p-185
apache directives can get complex... but this is how i would start to troubleshoot this problem.
best.