If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Ultimate SEO v3 (and v2.200) [Support Thread]

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

Started by lhungil on 14 Aug 2012, 2:26 PM · Views: 430,652

Results 1,161 to 1,180 of 1,706
9 May 2017, 12:27 AM
#1161
carlwhat avatar

carlwhat

zennedOut

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

Post #1161 by carlwhat

i suggest you find someone more versed in the black arts of apache directives and get them to fix it.... i myself merely dabble and am hardly an expert...

i further suggest you put all of your websites under version control. that way it is far easier to go back to when things worked. it requires some effort to learn git, but the advantages going forward are great. i use bitbucket as a repository for all my source code. makes changes to working websites far less stressful.

good luck.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

9 May 2017, 12:29 AM
#1162
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Post #1162 by shags38

thanks Carl

11 May 2017, 1:07 AM
#1163
carlwhat avatar

carlwhat

zennedOut

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

Post #1163 by carlwhat

has anyone tested this plugin with php7.0?

does not seem to work as on line 532, getting an error of:

PHP: Only variables can be passed by reference

or:

PHP Fatal error: Uncaught Error: Cannot pass parameter 1 by reference

hmmm....

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

11 May 2017, 1:29 AM
#1164
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Post #1164 by jeking

carlwhat:

has anyone tested this plugin with php7.0?

does not seem to work as on line 532, getting an error of:

PHP: Only variables can be passed by reference

or:

PHP Fatal error: Uncaught Error: Cannot pass parameter 1 by reference

hmmm....

I have a site using USU. I it set to PHP 5.6 but I just changed it to 7.0 and it still working. Only limited testing but category and product url's are working.

Jim
Wheaton Website Services

11 May 2017, 2:34 PM
#1165
carlwhat avatar

carlwhat

zennedOut

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

Post #1165 by carlwhat

jim,
thanks for responding. must have been a little late bleary looking at this problem.

in any event, what are your settings? if you look at the code:

	if(USU_FORMAT == 'parent' && USU_CATEGORY_DIR == 'off') {
	   $pName = $this->get_category_name($cID !== null ? $cID : (int)$result->fields['master_id'], 'original') . '-' . $pName;
	}

you will not hit this problem unless USU_FORMAT is set to parent and USU_CATEGORY_DIR is set to off.

i was able to get around this problem by modifying the code to:

	if(USU_FORMAT == 'parent' && USU_CATEGORY_DIR == 'off') {
	    $tempMID = ($cID !== null ? $cID : $result->fields['master_id']);
	    $pName = $this->get_category_name($tempMID, 'original') . '-' . $pName;
	}

curious if anyone else has experienced this?

thanks.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

11 May 2017, 2:43 PM
#1166
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Post #1166 by jeking

carlwhat:

jim,
thanks for responding. must have been a little late bleary looking at this problem.

in any event, what are your settings? if you look at the code:

The settings for this site are:
Attachment 17056

Jim
Wheaton Website Services

11 May 2017, 3:14 PM
#1167
carlwhat avatar

carlwhat

zennedOut

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

Post #1167 by carlwhat

these 2 need to be set like this and then i'm guessing it would fail:

Format of alternate URLs parent
Display categories as directories off

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

11 May 2017, 5:50 PM
#1168
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Post #1168 by jeking

carlwhat:

these 2 need to be set like this and then i'm guessing it would fail:

Format of alternate URLs parent
Display categories as directories off

best.

I tried those and it broke my site, thanks a lot!! Ha, just kidding.

It did result in a 500 error, so confirms your suspicions.

Jim
Wheaton Website Services

22 May 2017, 12:09 PM
#1169
darkmen avatar

darkmen

New Zenner

Join Date:
Jan 2013
Posts:
45
Plugin Contributions:
0

Post #1169 by darkmen

Hi,

I have a problem, when I turn on the Utimate Seo Urls, after that i have Number of Queries on the web site higher than 1600. In admin are all caching turned on. Where is the problem? Can someone help me? Thank you in advance.Attachment 17067

25 May 2017, 3:41 AM
#1170
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #1170 by drbyte

carlwhat:

jim,
thanks for responding. must have been a little late bleary looking at this problem.

in any event, what are your settings? if you look at the code:

if(USU_FORMAT == 'parent' && USU_CATEGORY_DIR == 'off') {
   $pName = $this->get_category_name($cID !== null ? $cID : (int)$result->fields['master_id'], 'original') . '-' . $pName;
}
> 
> you will not hit this problem unless USU_FORMAT is set to parent and USU_CATEGORY_DIR is set to off.
> 
> i was able to get around this problem by modifying the code to:
> 
> ```
    if(USU_FORMAT == 'parent' && USU_CATEGORY_DIR == 'off') {
        $tempMID = ($cID !== null ? $cID : $result->fields['master_id']);
        $pName = $this->get_category_name($tempMID, 'original') . '-' . $pName;
    }

curious if anyone else has experienced this?

thanks.

@carlwhat, you can probably accomplish the same thing in the original line, by simply adding an extra set of parentheses around:

($cID !== null ? $cID : $result->fields['master_id'])

(ie: before the ", 'original'" part)

Your approach isn't wrong though.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

25 May 2017, 4:35 AM
#1171
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Post #1171 by shags38

I had issues with this plugin - see previous page (116) - still unresolved so today I uninstalled the plugin using the uninstall files supplied with plugin.

Subsequently I lost the ability to login, i.e. admin/login.php resolves to a totally blank page.

So having a backup I uploaded the admin folder from the backup and the backed up database - still nothing - the database contains no references to USU in configuration_group or configuration tables.

Any ideas please

25 May 2017, 7:01 AM
#1172
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Post #1172 by shags38

shags38:

I had issues with this plugin - see previous page (116) - still unresolved so today I uninstalled the plugin using the uninstall files supplied with plugin.

Subsequently I lost the ability to login, i.e. admin/login.php resolves to a totally blank page.

So having a backup I uploaded the admin folder from the backup and the backed up database - still nothing - the database contains no references to USU in configuration_group or configuration tables.

Any ideas please

Solved the problem with not being able to log in - thanks to DrByte and Website Rob

26 May 2017, 2:40 AM
#1173
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Post #1173 by shags38

SOLVED >> Problem installing this plugin - previously installed and had issues - deleted/uninstalled and problems trying to re-install.

Thought this may be useful to others if they encounter the same problem.

Doing a fresh install and following the procedure in docs file when I uploaded 'install' files manually, last step of installation procedure, my admin crashed (cannot access it) - via trial and error I found by deleting 2 files in admin/includes/auto_loaders that my admin access returned.

deleted these 2 files;
files >> admin/includes/auto_loaders/config.usu_onetime .... and .... admin/includes/auto_loaders/config.usu

BINGO!! ..... and surprisingly (to me at least) USU works absolutely fine without those 2 files

cheers, Mike

27 May 2017, 4:19 AM
#1174
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Post #1174 by shags38

I have what may be a slight issue with this p-224USU_END appearing at the end of all product urls - appears with Generate cPath parameters set to auto or off in configuration - is this to be expected or can it be removed, if so how? please.
https://www.treeoflifejewellery.com/chiming-tree-of-life-necklaces-c-11/chiming-tree-of-life-necklace-sterling-silver-white-harmony-bal-p-224USU_END
image of configuration page
[Attachment no longer available]

30 May 2017, 8:12 PM
#1175
darkmen avatar

darkmen

New Zenner

Join Date:
Jan 2013
Posts:
45
Plugin Contributions:
0

Post #1175 by darkmen

DarkMen:

Hi,

I have a problem, when I turn on the Utimate Seo Urls, after that i have Number of Queries on the web site higher than 1600. In admin are all caching turned on. Where is the problem? Can someone help me? Thank you in advance.Attachment 17067

Can anyone advise me what to do?

19 Jun 2017, 2:45 AM
#1176
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #1176 by wmorris

I just installed an SSL Certificate. I want to know if its possible to use this mod for SSL?

19 Jun 2017, 3:18 AM
#1177
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #1177 by wmorris

I am using the https:// website but when I use the Ultimate URL mod. When I click on a Category or add a product I get a "Page Not Found". Before I use or installed the SSL Certificate it worked fine. How can it get it work correctly?

19 Jun 2017, 4:05 AM
#1178
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #1178 by wmorris

I forgot my shops web address to see what I am talking about.

https://www.morrisgiftshop.biz

wmorris:

I am using the https:// website but when I use the Ultimate URL mod. When I click on a Category or add a product I get a "Page Not Found". Before I use or installed the SSL Certificate it worked fine. How can I get it work correctly?

19 Jun 2017, 5:31 AM
#1179
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Post #1179 by wmorris

wmorris:

I forgot my shops web address to see what I am talking about.

https://www.morrisgiftshop.biz

Here is my .htaccess.bAK file:

###############################################################################
# Add custom headers and options
###############################################################################
# Notes:
#
# Examples: Adding IE compatibility / edge flags, language and encoding flags,
# php or suphp directives, configure other Apache modules such as page_speed,
# and enable or disable Apache httpd options.
#
# Do NOT configure anything directly relating to physical or virtual resources
# in this section. These should be addressed later on in this file.
###############################################################################
#Options -Indexes

###############################################################################
# Enable mod_rewrite processing using the rules in this .htaccess file
###############################################################################
# Notes:
#
# <IfModule> should be avoided at all costs. If mod_rewrite is not available
# it is almost always better to return HTTP 500 status. This way we see there
# is an issue as soon as the .htaccess file is uploaded.
#
# For mod_rewrite to work, the Apache server option to allow symbolic links to
# be followed must be enabled. Most providers supporting mod_rewrite will
# already have it enabled for you, but if your rewrite rules are not working
# you can un-comment the first directive below to manually enable the option.
#
# Don't forget, mod_rewrite directives are processed in order until a matching
# RewriteRule with the [L] flag is encountered. So the more specific a rule is
# the closer it should appear to the top of this file.
###############################################################################
#Options +FollowSymLinks
RewriteEngine on

###############################################################################
# Tell mod_rewrite where this file is relative to the server document_root
###############################################################################
# Notes:
#
# This directive should only be enabled if this .htaccess file is not placed
# in the document_root (usually public_html, www, or web) of the (sub)domain.
#
# An easy way to determine the location relative to the server document_root is
# to look at the URL used to access a file in this folder. For example if you
# access a "page" in the same folder as this file by typing in the URL
# "www.mydomain.com/myfolder/index.html" then "myfolder" will be the location
# of this file relative to the server document_root.
#
# Another quick and easy way to determine the correct setting for this is to
# look at the defined value for DIR_WS_CATALOG and DIR_WS_HTTPS_CATALOG in
# Zen Cart's configure.php files. All three values should match.
#
# Don't forget the leading and trailing /. This directive requires both!
###############################################################################
#RewriteBase /shop/


###############################################################################
# Redirect if request was for index.php (no query)
###############################################################################
# Notes:
#
# This is only required if the site generates references to index.php with no
# parameters. This rule will force a 301 redirect to the site root when a
# request is made for "/index.php" with no query terms (?key=value).
###############################################################################
#RewriteCond %{QUERY_STRING} ^$
#RewriteRule ^index\.php$ / [R=301,L]


###############################################################################
# Add any custom 301 redirects
###############################################################################
# Notes:
#
# In general these should be few and far between. If you use a RewriteRule
# be sure to add the L flag to let Apache mod_rewrite know to stop processing
# and skip any RewriteRules defined later in the .htaccess file.
###############################################################################


###############################################################################
# Redirect if request was for index.php (with or without query)
###############################################################################
# Notes:
#
# This is a performance optimization. If the request is for index.php simply
# pass the request on and do not process any other mod_rewrite directives in
# this file.
#
# Basically this avoids the overhead of checking if index.php is a real file
# or directory (used in subsequent mod_rewrite rules) before sending the
# request to index.php.
###############################################################################
RewriteRule ^index\.php$ - [L]


###############################################################################
# Start Ultimate (SEO) URLs
###############################################################################
# Notes:
#
# You should not make any changes in this section unless you really understand
# how it will impact your web site. Mistakes can break things.
###############################################################################

# 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]

###############################################################################
# Add any other directives relating to the handling of physical files
###############################################################################
# Notes:
#
# If processing makes it this far, the request was for a real file or folder.
# Example: Adding further processing related to browser caching or security.
###############################################################################

Also my .htaccess

# Always use https for secure connections
# Replace 'www.example.com' with your domain name
# (as it appears on your SSL certificate)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.morrisgiftshop.biz/$1 [R=301,L]
19 Jun 2017, 12:43 PM
#1180
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Post #1180 by jeking

The .htaccess file on your server should be named .htaccess, not .htaccess.bAK

Jim
Wheaton Website Services