Totally Zenned
- Join Date:
- Aug 2014
- Location:
- Lisbon
- Posts:
- 597
- Plugin Contributions:
- 0
Ultimate SEO v3 (and v2.200) [Support Thread]
Sorry, I was not trying to mix threads, just looking for a solution, and your reply lead me to the solution.
Thanks
Views: 427,473
Totally Zenned
Sorry, I was not trying to mix threads, just looking for a solution, and your reply lead me to the solution.
Thanks
Totally Zenned
mesnitu:
Sorry, I was not trying to mix threads, just looking for a solution, and your reply lead me to the solution.
Thanks
Glad it worked out, and actually it was I who did not want to mix threads and go into the solution. There was nothing wrong about your post, how you wanted to convert to using this uri rewriter, and the problem that was being had. Sometimes when down the rabbit hole, going back to the basics is forgotten. :)
Totally Zenned
mc12345678:
As is the case with all plugins, one should check the applicable forum thread to resolve an issue. I don't want to discuss the issue further in this thread, but if I understnd correctly it is possible to accomplish what you are trying to do without the loss that is your other concern.
mesnitu:
Sorry, I was not trying to mix threads, just looking for a solution, and your reply lead me to the solution.
Thanks
mc12345678:
Glad it worked out, and actually it was I who did not want to mix threads and go into the solution. There was nothing wrong about your post, how you wanted to convert to using this uri rewriter, and the problem that was being had. Sometimes when down the rabbit hole, going back to the basics is forgotten. :)
IF there is a posted solution for converting from Ceon URI to Ultimate SEO, does anyone want to SHARE the solution????? (which is totally ON TARGET for this support thread)
Totally Zenned
DivaVocals:
IF there is a posted solution for converting from Ceon URI to Ultimate SEO, does anyone want to SHARE the solution????? (which is totally ON TARGET for this support thread)
To be honest, not sure which "solution" was considered, but the issue that looked like was solvable with minimal effort was the addition of a product type. As for solutions to convert a site that uses CEON URIs to one that uses this, what I have seen "work" is to export the CEON URI/product information data, create .htaccess rewrite rules that do not overlap (ie, category rewrite after all product rewrites in that category) such that the ceon uris re returned to ZC standard uris before Ultimate SEO (or ny other rewriter) processes the request(s). Otherwise there may be a way to be developed to accept an initial CEON uri but to not allow CEON to "replace" the links loaded in favor of another uri rewriter kicking in for subsequent uris. I haven't seen any such creature yet, not ventured to identify. Additionally there might be issues associated with the .htaccess rules between the various uri rewriters to overcome.
But, what I saw the issue was and was suggesting to overcome was the issue of why the conversion was being done (product_type being added).
Totally Zenned
To be honest, not sure which "solution" was considered, but the issue that looked like was solvable with minimal effort was the addition of a product type.
Yes, that was the solution that I found, when reading that was possible, it lead me to a google search, and there it was.
New Zenner
No, still can't get it work, read all this tread could't find solution. Reinstalled another couple of times, changed .htaccess to new one suggested here - nothing. Contacted hosting support, there is no problems with server. please advice.
Totally Zenned
ksivv:
No, still can't get it work, read all this tread could't find solution. Reinstalled another couple of times, changed .htaccess to new one suggested here - nothing. Contacted hosting support, there is no problems with server. please advice.
Post a link to your site (or PM w/ link).
Post the following items from your live / testing site (not your local computer). Use "code" tags (the # button) to wrap the contents so they are easily readable.
Also do you have any "Numinex" plugins installed?
Totally Zenned
I have an issue as a client has no dashes, how can I remove the dashes like this
word-word-word.html
to
wordwordword.html
Totally Zenned
mprough:
... word-word-word.html to wordwordword.html ...
The last name filter run by Ultimate URLs replaces all spaces " " with dashes "-". Currently this behavior cannot be disabled / changed in the configuration settings.
The PCRE filter is the very first filter run and is completely customizable in the configuration settings. If one would like all whitespace to be stripped (from all categories, ezpages, products, manufacturers, etc), add the following PCRE filter:
\\s=>
NOTE: Filter tested under PHP 5.3 and 5.4 with magic quotes disabled.
Totally Zenned
lhungil:
The last name filter run by Ultimate URLs replaces all spaces " " with dashes "-". Currently this behavior cannot be disabled / changed in the configuration settings.
The PCRE filter is the very first filter run and is completely customizable in the configuration settings. If one would like all whitespace to be stripped (from all categories, ezpages, products, manufacturers, etc), add the following PCRE filter:
\s=>
>
> **NOTE:** Filter tested under PHP 5.3 and 5.4 with [magic quotes disabled](http://php.net/manual/en/security.magicquotes.disabling.php).
That doesn't work... I did reset the cache to verify
Totally Zenned
mprough:
That doesn't work... I did reset the cache to verify
Zen Cart version?
Ultimate URLs version?
PHP Version?
PHP configuration for magic quotes?
Totally Zenned
lhungil:
Zen Cart version?
Ultimate URLs version?
PHP Version?
PHP configuration for magic quotes?
1.5.3
2.212
5.3.29
magic_quotes_gpc On
magic_quotes_runtime Off
magic_quotes_sybase Off
Zen Follower
Working but main categories not added to the static urls ...https://www.theoutletseason.com/scentia/index.php?main_page=index&cPath=1
Totally Zenned
mprough:
1.5.3
2.212
5.3.29
magic_quotes_gpc On
magic_quotes_runtime Off
magic_quotes_sybase Off
Highly recommend disabling magic_quotes_gpc as this can cause issues and has been removed from future versions of PHP.
If magic_quotes_gpc cannot be disabled, try "\s" instead of "\s".
Totally Zenned
icecold:
Working but main categories not added to the static urls ...https://www.theoutletseason.com/scentia/index.php?main_page=index&cPath=1
This appears to be caused by your theme / template. Looks like your "navigation" menu is not using zen_href_link.
New Zenner
Hi,
I'm having problems getting Ultimate SEO Zencart addon to work on a site. When I enable it the url is rewritten, e.g:
http://www.carbonfibreprofiles.com/index.php?main_page=product_info&cPath=3_91&products_id=487
goes to:
http://www.carbonfibreprofiles.com/carbon-rod-15mm-c-3_91/
but the page itself goes to a 404:
Not Found
The requested document was not found on this server.
I imported the sample .htaccess file using the IIS url-rewrite module:
http://www.iis.net/learn/extensions/url-rewrite-module/importing-apache-modrewrite-rules
all were imported apart from the rewritebase / statement which it says IIS does not support - is that the critical issue causing the problem?
Is there something else I need to do to get it working on IIS7.5 ?
My config:
Server OS: Windows NT DED3353 6.1 build 7601 Database: MySQL 5.1.73-community
HTTP Server: Microsoft-IIS/7.5
PHP Version: 5.2.17 (Zend: 2.2.0) PHP Memory Limit: 128M PHP Safe Mode: Off
Zen Cart 1.5.1
Database Patch Level: 1.5.1
Ultimate SEO Version
Installed Version
2.212
Thanks,
Andrew
Totally Zenned
Hello,
v.1.3.9h Ultimate SEO URLS installed
I need to be able to negate checkout files from being converted to SEO Urls - have just installed Fast & Easy Checkout (FEC) by Numinix and the checkout won't work with SEO enabled but does with it disabled. I like your Ultimate SEO Urls (have it on 6 sites) and want to continue to use it so I just need to know how to ask it not to convert certain files.
many thanks, Mike
Totally Zenned
what the heck do I know as I've OBVIOUSLY never used FEC and USU together.. SHRUG that said let me share what I apparently DON'T know..:laugh: Maybe it will be useful for others..:cool:
A search of this thread for "FEC" would have turned up this thread:
http://www.zen-cart.com/showthread.php?199064-Ultimate-SEO-2-200-%28new-features%29-Support-Thread&p=1189830#post1189830
lhungil:
What version of Zen Cart and Ultimate SEO URLs are you experiencing this issue under?
Where during the checkout process is it bringing this up? Is it with a specific payment method?
What URLs are being called via AJAX by the Numinex FEC module?
Can you provide a link to the site in question so we can see exactly what is occurring?
Can you also PM a dummy customer account I can test with?POST data will be lost if a redirect occurs. The current version of Ultimate SEO URLs does not issue a 301 redirect for any page where "POST" data is present (for security POST should always be used with form submissions during checkout).
**The current version of Ultimate SEO URLs will also not rewrite pages not listed in "pages to rewrite" **(unless you cleared the default list). If you cleared the list, please add back the pages you want rewritten. If you added "quick_checkout", just remove it from the list. The variable found in "main_page=" is the name of the Zen Cart "page".
You say removing "index" from the list of pages to rewrite fixes your issues? This is rather strange, as "index" refers to category pages (category_list and product_list) and the main page... Not checkout pages... Does FEC modify category pages?
"pages to rewrite" = Configuration > Ultimate (SEO) URLs > Limit alternate URLS to the following pages
A further search in this thread for "Numinix" would have turned up this thread:
http://www.zen-cart.com/showthread.php?199064-Ultimate-SEO-2-200-%28new-features%29-Support-Thread&p=1239458#post1239458
<?php /** * @package admin * @copyright Copyright 2003-2012 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version GIT: $Id: Author: Ian Wilson Thu Aug 16 12:36:12 2012 +0100 Modified in v1.5.1 $ */ require('includes/application_top.php'); $action = (isset($_GET['action']) ? $_GET['action'] : ''); if (zen_not_null($action)) { switch ($action) { case 'save': // demo active test if (zen_admin_demo()) { $_GET['action']= ''; $messageStack->add_session(ERROR_ADMIN_DEMO, 'caution'); zen_redirect(zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cID)); } $configuration_value = zen_db_prepare_input($_POST['configuration_value']); $cID = zen_db_prepare_input($_GET['cID']); $db->Execute("update " . TABLE_CONFIGURATION . " set configuration_value = '" . zen_db_input($configuration_value) . "', last_modified = now() where configuration_id = '" . (int)$cID . "'"); $configuration_query = 'select configuration_key as cfgkey, configuration_value as cfgvalue from ' . TABLE_CONFIGURATION; $configuration = $db->Execute($configuration_query); // set the WARN_BEFORE_DOWN_FOR_MAINTENANCE to false if DOWN_FOR_MAINTENANCE = true if ( (WARN_BEFORE_DOWN_FOR_MAINTENANCE == 'true') && (DOWN_FOR_MAINTENANCE == 'true') ) { $db->Execute("update " . TABLE_CONFIGURATION . " set configuration_value = 'false', last_modified = '" . NOW . "' where configuration_key = 'WARN_BEFORE_DOWN_FOR_MAINTENANCE'"); } $configuration_query = 'select configuration_key as cfgkey, configuration_value as cfgvalue from ' . TABLE_CONFIGURATION; $configuration = $db->Execute($configuration_query); zen_redirect(zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cID)); break; } } $gID = (isset($_GET['gID'])) ? $_GET['gID'] : 1; $_GET['gID'] = $gID; $cfg_group = $db->Execute("select configuration_group_title from " . TABLE_CONFIGURATION_GROUP . " where configuration_group_id = '" . (int)$gID . "'"); if ($gID == 7) { $shipping_errors = ''; if (zen_get_configuration_key_value('SHIPPING_ORIGIN_ZIP') == 'NONE' or zen_get_configuration_key_value('SHIPPING_ORIGIN_ZIP') == '') { $shipping_errors .= '<br />' . ERROR_SHIPPING_ORIGIN_ZIP; } if (zen_get_configuration_key_value('ORDER_WEIGHT_ZERO_STATUS') == '1' and !defined('MODULE_SHIPPING_FREESHIPPER_STATUS')) { $shipping_errors .= '<br />' . ERROR_ORDER_WEIGHT_ZERO_STATUS; } if (defined('MODULE_SHIPPING_USPS_STATUS') and (MODULE_SHIPPING_USPS_USERID=='NONE' or MODULE_SHIPPING_USPS_SERVER == 'test')) { $shipping_errors .= '<br />' . ERROR_USPS_STATUS; } if ($shipping_errors != '') { $messageStack->add(ERROR_SHIPPING_CONFIGURATION . $shipping_errors, 'caution'); } } ?> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <link rel="stylesheet" type="text/css" href="includes/cssjsmenuhover.css" media="all" id="hoverJS"> <script language="javascript" src="includes/menu.js"></script> <script language="javascript" src="includes/general.js"></script> <script type="text/javascript"> <!-- function init() { cssjsmenu('navbar'); if (document.getElementById) { var kill = document.getElementById('hoverJS'); kill.disabled = true; } } // --> </script> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF" onLoad="init()"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> <!-- body //--> <table border="0" width="100%" cellspacing="2" cellpadding="2"> <tr> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo $cfg_group->fields['configuration_group_title']; ?></td> <td class="pageHeading" align="right"><?php echo zen_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" width="55%"><?php echo TABLE_HEADING_CONFIGURATION_TITLE; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CONFIGURATION_VALUE; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?> </td> </tr> <?php $configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key, use_function from " . TABLE_CONFIGURATION . " where configuration_group_id = '" . (int)$gID . "' order by sort_order"); while (!$configuration->EOF) { if (zen_not_null($configuration->fields['use_function'])) { $use_function = $configuration->fields['use_function']; if (preg_match('/->/', $use_function)) { $class_method = explode('->', $use_function); if (!is_object(${$class_method[0]})) { include(DIR_WS_CLASSES . $class_method[0] . '.php'); ${$class_method[0]} = new $class_method[0](); } $cfgValue = zen_call_function($class_method[1], $configuration->fields['configuration_value'], ${$class_method[0]}); } else { $cfgValue = zen_call_function($use_function, $configuration->fields['configuration_value']); } } else { $cfgValue = $configuration->fields['configuration_value']; }DivaVocals:
Right.. and apparently use_function can be used for MORE than this.. wouldn't you guys be interested in some "spirit" of collaboration in making sure that your module plays nice with others.. Thank goodness lhungil was nice enough to help me fix an issue with the Google Product Search module otherwise I'd still be spitting in the wind..
And this was the exact discovery that we made as well.. my apologies for not posting an update to this.. The Numinix modified configuration.php file does NOT work with USU.. The fix posted earlier helped, but wasn't quite the right fix.. Turns out that it required a bit of a BIGGER fix.. I have included my entire modified configuration.php file with the NEW code that I have working on my development site.. It allows BOTH USU and the Numinix modified configuration.php file to co-exist peacefully.. You all don't HAVE to update your products with these changes, but I'm sure as heck gonna suggest folks use it if they are using your Google Product Search product since it's working on my dev site with NO ISSUES whatsoever..
I'll leave it to your code jockey's to hash out the whys and hows.. I only care that I have a WORKING site..
if ((!isset($_GET['cID']) || (isset($_GET['cID']) && ($_GET['cID'] == $configuration->fields['configuration_id']))) && !isset($cInfo) && (substr($action, 0, 3) != 'new')) {
$cfg_extra = $db->Execute("select configuration_key, configuration_description, date_added,
last_modified, use_function, set_function
from " . TABLE_CONFIGURATION . "
where configuration_id = '" . (int)$configuration->fields['configuration_id'] . "'");
$cInfo_array = array_merge($configuration->fields, $cfg_extra->fields);
$cInfo = new objectInfo($cInfo_array);
}
if ( (isset($cInfo) && is_object($cInfo)) && ($configuration->fields['configuration_id'] == $cInfo->configuration_id) ) {
echo ' <tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '\'">' . "\n";
} else {
echo ' <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $configuration->fields['configuration_id'] . '&action=edit') . '\'">' . "\n";
}
?>
<td class="dataTableContent"><?php echo $configuration->fields['configuration_title']; ?></td>
<td class="dataTableContent"><?php echo htmlspecialchars($cfgValue, ENT_COMPAT, CHARSET, TRUE); ?></td>
<td class="dataTableContent" align="right"><?php if ( (isset($cInfo) && is_object($cInfo)) && ($configuration->fields['configuration_id'] == $cInfo->configuration_id) ) { echo zen_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $configuration->fields['configuration_id']) . '" name="link_' . $configuration->fields['configuration_key'] . '">' . zen_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?> </td>
</tr>
</table></td>
<?php
$heading = array();
$contents = array();
switch ($action) {
case 'edit':
$heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');
if ($cInfo->set_function) {
eval('$value_field = ' . $cInfo->set_function . '"' . htmlspecialchars($cInfo->configuration_value, ENT_COMPAT, CHARSET, TRUE) . '");');
} else {
$value_field = zen_draw_input_field('configuration_value', htmlspecialchars($cInfo->configuration_value, ENT_COMPAT, CHARSET, TRUE), 'size="60"');
}
$contents = array('form' => zen_draw_form('configuration', FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=save'));
if (ADMIN_CONFIGURATION_KEY_ON == 1) {
$contents[] = array('text' => '<strong>Key: ' . $cInfo->configuration_key . '</strong><br />');
}
$contents[] = array('text' => TEXT_INFO_EDIT_INTRO);
$contents[] = array('text' => '<br><b>' . $cInfo->configuration_title . '</b><br>' . $cInfo->configuration_description . '<br>' . $value_field);
$contents[] = array('align' => 'center', 'text' => '<br>' . zen_image_submit('button_update.gif', IMAGE_UPDATE, 'name="submit' . $cInfo->configuration_key . '"') . ' <a href="' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id) . '">' . zen_image_button('button_cancel.gif', IMAGE_CANCEL) . '</a>');
break;
default:
if (isset($cInfo) && is_object($cInfo)) {
$heading[] = array('text' => '<b>' . $cInfo->configuration_title . '</b>');
if (ADMIN_CONFIGURATION_KEY_ON == 1) {
$contents[] = array('text' => '<strong>Key: ' . $cInfo->configuration_key . '</strong><br />');
}
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_CONFIGURATION, 'gID=' . $_GET['gID'] . '&cID=' . $cInfo->configuration_id . '&action=edit') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a>');
$contents[] = array('text' => '<br>' . $cInfo->configuration_description);
$contents[] = array('text' => '<br>' . TEXT_INFO_DATE_ADDED . ' ' . zen_date_short($cInfo->date_added));
if (zen_not_null($cInfo->last_modified)) $contents[] = array('text' => TEXT_INFO_LAST_MODIFIED . ' ' . zen_date_short($cInfo->last_modified));
}
break;
}
if ( (zen_not_null($heading)) && (zen_not_null($contents)) ) {
echo ' <td width="25%" valign="top">' . "\n";
$box = new box;
echo $box->infoBox($heading, $contents);
echo ' </td>' . "\n";
}
?>
</tr>
</table></td>
</tr>
</table></td>
<!-- body_text_eof //-->
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
```
Totally Zenned
DivaVocals:
what the heck do I know as I've OBVIOUSLY never used FEC and USU together.. SHRUG that said let me share what I apparently DON'T know..:laugh: Maybe it will be useful for others..:cool:
A search of this thread for "FEC" would have turned up this thread:
http://www.zen-cart.com/showthread.php?199064-Ultimate-SEO-2-200-%28new-features%29-Support-Thread&p=1189830#post1189830Numinix do not have a fix for USU, they do for Magic SEO - the USU fix is only a PARTIAL fix - you would probably know this if you had used both mods together :)
"pages to rewrite" = Configuration > Ultimate (SEO) URLs > Limit alternate URLS to the following pages
A further search in this thread for "Numinix" would have turned up this thread:
http://www.zen-cart.com/showthread.php?199064-Ultimate-SEO-2-200-%28new-features%29-Support-Thread&p=1239458#post1239458
Numinix do not have a fix for USU, they do for Magic SEO - the USU fix for FEC is only a PARTIAL fix - you would probably know this if you had used both mods together :) Just to confirm things for your own benefit why don't you do as I have done, communicate directly (PM) with the authors of both mods and ask them the question(s) :)
However, thanks for your comments anyway Diva, I always get a lot from them in whatever forum they may appear :)
Totally Zenned
In a nutshell, dead on DivaVocals. Until the next release of Ultimate URLs, anyone usung a Numinix module and running into issues is more than welcome to contact me via PM.
@shags38, First - there is a fix. The fix has been communicated to Numinix. DivaVicals was one of those who tested and verified the fix works. The offer to help in the PM I sent earlier still is open. I would also strongly recommend upgrading to Zen Cart 1.5.x in the near future.
Fields marked required must be completed.
Tell staff why this post should be reviewed.