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
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
RewriteCond %{HTTP_HOST} ^australianbakery.com [NC,OR]
RewriteCond %{HTTP_HOST} ^australianbakerycafe.com [NC,OR]
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]