Zen Cart Logo
Forums / All Other Contributions/Addons / Ultimate SEO v3 (and v2.200) [Support Thread]

Ultimate SEO v3 (and v2.200) [Support Thread]

Views: 427,309

Results 1,461 to 1,480 of 1,706
16 Jan 2021, 12:31 AM
#1461
carolinebogart avatar

carolinebogart

New Zenner

Join Date:
Apr 2007
Location:
Manchester, NH
Posts:
52
Plugin Contributions:
0

Ultimate SEO v3 (and v2.200) [Support Thread]

Hello zenniac seo url'ers,

I have updated zen to 1.5.7c today, and have noticed that it broke usu.php in admin/includes/functions/extra_functions/usu.php

That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.

I had to add it to usu.php (and moved it to general.php) to make the categories/products area work in the admin.

Did I perhaps miss an updatee to admin general.php that defined this function for usu.php to call?

16 Jan 2021, 12:40 AM
#1462
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

CarolineBogart:

Hello zenniac seo url'ers,

I have updated zen to 1.5.7c today, and have noticed that it broke usu.php in admin/includes/functions/extra_functions/usu.php

That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.

I had to add it to usu.php (and moved it to general.php) to make the categories/products area work in the admin.

Did I perhaps miss an updatee to admin general.php that defined this function for usu.php to call?
That's a function that is/was missing from the Zen Cart V1.5.7 includes/functions/functions_categories.php.

https://github.com/zencart/zencart/blob/f16f54efa9fd0af3a6ae5bd4f6475d9ce5c25e53/includes/functions/functions_categories.php#L231-L258

  function zen_product_in_category($product_id, $cat_id) {    global $db;
    $in_cat=false;
    $category_query_raw = "select categories_id from " . TABLE_PRODUCTS_TO_CATEGORIES . "
                           where products_id = '" . (int)$product_id . "'";

    $category = $db->Execute($category_query_raw);

    while (!$category->EOF) {
      if ($category->fields['categories_id'] == $cat_id) $in_cat = true;
      if (!$in_cat) {
        $parent_categories_query = "select parent_id from " . TABLE_CATEGORIES . "
                                    where categories_id = '" . $category->fields['categories_id'] . "'";

        $parent_categories = $db->Execute($parent_categories_query);
//echo 'cat='.$category->fields['categories_id'].'#'. $cat_id;
        while (!$parent_categories->EOF) {
          if (($parent_categories->fields['parent_id'] !=0) ) {
            if (!$in_cat) $in_cat = zen_product_in_parent_category($product_id, $cat_id, $parent_categories->fields['parent_id']);
          }
          $parent_categories->MoveNext();
        }
      }
      $category->MoveNext();
    }
    return $in_cat;
  }
16 Jan 2021, 12:36 PM
#1463
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

I've created a GitHub issue (https://github.com/lat9/usu/issues/41) to track the changes needed for the issue identified by @CarolineBogart.

16 Jan 2021, 3:48 PM
#1464
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

CarolineBogart:

Hello zenniac seo url'ers,

I have updated zen to 1.5.7c today, and have noticed that it broke usu.php in admin/includes/functions/extra_functions/usu.php

That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.

I had to add it to usu.php (and moved it to general.php) to make the categories/products area work in the admin.

Did I perhaps miss an updatee to admin general.php that defined this function for usu.php to call?

interesting....

16 Jan 2021, 4:04 PM
#1465
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

CarolineBogart:

That file invokes a call to zen_product_in_parent_category(), but this does not exist in its paths.

mc12345678:

function [B]zen_product_in_category[/B]($product_id, $cat_id) {
...


mc,
2 different functions.  usu accounts for the missing function of which you speak.  the issue identified is a function loaded on the catalog side but not on the admin side.

best.
17 Jan 2021, 2:45 PM
#1466
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

I've just submitted v3.0.8 of USU for the Zen Cart moderators' review; I'll post back here when it's available for download.

This release contains changes associated with GitHub issue #41 (Missing zen_product_in_parent_category during admin processing).

18 Jan 2021, 1:13 PM
#1467
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

lat9:

I've just submitted v3.0.8 of USU for the Zen Cart moderators' review; I'll post back here when it's available for download.

This release contains changes associated with GitHub issue #41 (Missing zen_product_in_parent_category during admin processing).
Now available for download: https://www.zen-cart.com/downloads.php?do=file&id=132

29 Jan 2021, 6:36 PM
#1468
carolinebogart avatar

carolinebogart

New Zenner

Join Date:
Apr 2007
Location:
Manchester, NH
Posts:
52
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Thanks very much. The only change is to add the conditional function zen_product_in_parent_category? I did that so I think we're all set.

13 Feb 2021, 3:18 PM
#1469
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Hello, using plugin ver 3.0.8 on Z-C ver 1.5.5e.

Is there something I need to do for the alternate URLs to be generated? I switched Enable alternate URLs? = True, and am clicking through my site. I see no change in any of the URLs. Will the plugin "crawl" my site and gen the SEO friendly URLs?

Debug is turned on, and looking in the log, I'm seeing no errors, only a series of messages like this:

=====> URL Generation Log Started, for page: /<ADMIN_DIR>/configuration.php?gID=42&cID=1453&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/

The only thing that changes in the messages is the bolded part and sometimes it is like so: gID=42&cID=1451. (no "&action=edit.")

Thanks.

13 Feb 2021, 5:38 PM
#1470
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

About an hour later, I just got word that our site is down, with this message showing to customers:

The page isn’t redirecting properly

An error occurred during a connection to australianbakerycafe.com.

This problem can sometimes be caused by disabling or refusing to accept cookies.

Checking logs, I find no fatal errors, but this is a new one:

Request sent to href_link('checkout_process', '', 'SSL', true, true, false, true)
Page (checkout_process) was not in the list of pages to rewrite, URI not generated!

Which to me means that a URI was not generated as the checkout page was not included to be re-written. No biggie, I think, certainly not a reason for the whole site not to load.

If I click "Storefront" button in Admin, site opens fine (<https://australianbakerycafe.com/ind...ain_page=index>) Of course, visitors just type in the domain name, which results in the above error.

I set Enable alternate URLs = false, tried domain name along, no joy. Reverted the .htaccess to pre-install of plugin, and site comes back. Thus there must be something wrong with .htaccess.
13 Feb 2021, 8:09 PM
#1471
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

You could post the contents of the site's .htaccess file for review.

14 Feb 2021, 7:13 PM
#1472
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

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 https://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} ^https://www.australianbakerycafe.com [NC,OR]

RewriteCond %{HTTP_HOST} ^australianbakerycafe.com [NC,OR]

RewriteCond %{HTTP_HOST} ^https://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]

14 Feb 2021, 8:24 PM
#1473
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Hmmm, I did post it, but it's not showing up.

15 Feb 2021, 11:55 AM
#1474
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

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

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

[B]RewriteRule ^/?$ "https\:\/\/australianbakerycafe\.com" [R=301,L][/B]

... 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.

RewriteCond %{HTTP_HOST} ^australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakery.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.australianbakerycafe.com$ [NC]
[B]RewriteRule ^/?$ "https\:\/\/australianbakerycafe\.com" [R=301,L][/B]

#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
15 Feb 2021, 2:59 PM
#1475
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

lat9:

... 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.

@lat9 good catch!

15 Feb 2021, 8:55 PM
#1476
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

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/

16 Feb 2021, 12:37 PM
#1477
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

Greg, would you post the original .htaccess that works for comparison?

16 Feb 2021, 2:08 PM
#1478
greg_beyer avatar

greg_beyer

New Zenner

Join Date:
Mar 2016
Location:
Marietta GA
Posts:
85
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

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 https://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} ^https://www.australianbakerycafe.com [NC,OR]

RewriteCond %{HTTP_HOST} ^australianbakerycafe.com [NC,OR]

RewriteCond %{HTTP_HOST} ^https://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]

16 Feb 2021, 2:08 PM
#1479
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

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.

16 Feb 2021, 3:36 PM
#1480
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,953
Plugin Contributions:
8

Re: Ultimate SEO v3 (and v2.200) [Support Thread]

marton_1:

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.