Re: Ultimate SEO 2.200 (new features) [Support Thread]
Code:
============================================================
===== URL Generation Log Started 2015-Aug-29T00:22:19
============================================================
Real URI: index.php?main_page=product_info&products_id=50
Request URI: /product-name-p-50.html
Canonical URI:
============================================================
===== Redirect Check Requested.
============================================================
Params from $_GET: products_id=50
Request sent to href_link('product_info', 'products_id=50', 'NONSSL', false, true, false, true)
Parsing Parameters for product_info
array (
0 => 'products_id=50',
)
Generated URL: http://www.websitename.com/product-name-p-50.html
NO REDIRECT: Alternative URI matched the requested URI.
============================================================
===== Generated Alternative URLs
============================================================
Request sent to href_link('product_info', 'products_id=50', 'NONSSL', false, false, true, true)
Parsing Parameters for product_info
array (
0 => 'products_id=50',
)
Generated URL: http://www.websitename.com/product_info.html?products_id=50
Request sent to href_link('index', '', 'NONSSL', true, false, true, true)
Generated URL: http://www.websitename.com/
Request sent to href_link('index', 'cPath=1', 'NONSSL', true, false, true, true)
Parsing Parameters for index
array (
0 => 'cPath=1',
)
Generated URL: http://www.websitename.com/product-name-c-1.html
Request sent to href_link('_info', 'cPath=1&products_id=50', 'NONSSL', true, false, true, true)
Page was not in the list of pages to rewrite, URI not generated!
The above is an example of the error log.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
faithofgod
... I tried running the uninstaller and commenting out the install in the file, but it does not seem to remove everything from the database. Is there specific tables that need to be deleted that I can do manually to try from scratch? ...
What version of Ultimate URLs are you trying to install? The current version does not require any "commenting out of the install in the file". The current version also removes stuff from previous versions during installation and when uninstalled will remove stuff from the current version. Please make sure you use and reference the readme supplied with the current version of Ultimate URLs.
I am unable to duplicate the behavior you are experiencing with a clean install of Zen Cart 1.5.4 and the latest version of Ultimate URLs. So the question is: "How is your store different"? Unless you are willing to supply the other information requested it will be difficult for us to attempt to help you further via the Zen Cart forums.
As a reminder here is what we need to know:
- What is the URL of a website were we can observe the behavior?
- What are the full contents of "/includes/configure.php" (obscure the db password)?
- What are the full contents of "/your_admin_folder/includes/configure.php" (obscure the db password and admin folder name if present)?
- What are the full contents of the .htaccess file at "/user/abc5/"?
- What are the full contents of the .htaccess file at "/user/abc5/public_html/"?
- What are the full contents of the .htaccess file at "/user/abc5/public_html/shop/"?
- What other modifications have been made to the store?
- What version of PHP is being used for Zen Cart ("admin" -> "version")?
- What process was used to upgrade Zen Cart to 1.5.4?
- When you change to the stock "classic" Zen Cart template, does the issue continue?
- What "Product Type" is being used for products in your store ("Product - General", "Document - General", "Product - Free Shipping", etc)?
Quote:
Originally Posted by
faithofgod
Code:
============================================================
===== URL Generation Log Started 2015-Aug-29T00:22:19
============================================================
Real URI: index.php?main_page=product_info&products_id=50
Request URI: /product-name-p-50.html
Canonical URI:
============================================================
===== Redirect Check Requested.
============================================================
Params from $_GET: products_id=50
Request sent to href_link('product_info', 'products_id=50', 'NONSSL', false, true, false, true)
Parsing Parameters for product_info
array (
0 => 'products_id=50',
)
Generated URL: http://www.websitename.com/product-name-p-50.html
NO REDIRECT: Alternative URI matched the requested URI.
...
Request sent to href_link('_info', 'cPath=1&products_id=50', 'NONSSL', true, false, true, true) ...
...
Thank You for supplying an example copy of the Ultimate URLs debug log. The above log shows Ultimate URLs working correctly (and not issuing a 301 redirect). It also shows some code on your site passing an invalid Zen Cart page name (_info) to Ultimate URLs (which is correctly ignored by Ultimate URLs and passed back to Zen Cart to handle). Based upon the limited information provided so far, the problem is more likely with a server configuration (such as not quite correct directives in a .htaccess file) or with other modifications to Zen Cart 1.5.4 present on your site (such as the theme templates or product types).
Re: Ultimate SEO 2.200 (new features) [Support Thread]
A client with an existing store has requested that USU be installed on his site. Once installed and enabled, will USU perform a 301-redirect from the "old style" links to the new, USU-style, ones? I'm concerned that this change might adversely affect his products' rankings and I don't want him to get dinged for any duplicate content.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
If you enable "automatic redirects" it will perform 301s. If not enabled, it still will correctly use canonicals with the configured URIs (to avoid duplicate content penalties among other reasons).
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Perfect, thanks for the detailed answer!
Re: Ultimate SEO 2.200 (new features) [Support Thread]
I just installed this plugin on our test site, www4. carmo.nl. It's been updated to zen-cart 1.5.4 before installing this plugin.
Most of the plugin does work for me, but I found that if I select another language while on the homepage, I get a Not found. The requested URL /index was not found on this server.
The link it goes to is www4. carmo.nl/index?language=fr (or one of the other languages we have on our site).
If I select another language whilst on any other page, the page loads in the selected language, just like I expect it to do.
The .htaccess file is in the root of the site.
The version of Ultimate URLs is 2.215
Enable alternate URLs is true
Generate cPath parameters is auto
Alternate URLs end with is empty (no text here)
Enable SEO cache to save queries is true
Format of alternative URLs is parent
Display categories as directories is off
All the enable ... cache are true
Remove problematic characters is punctuation
Filter rules is empty
Filter short words is 0
Enable automatic redirects is false
It happens both with the original setting for Limit alternate URLS to the following pages and with this being empty.
Is there something I did wrong or a setting I should change? It would be great if people could choose another language on our homepage.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Forgot to add this to my post (the one above this one):
No info in the debug logs, the ones in /logs/ the ones in /logs/ultimate_urls/ after saying in the admin interface I want the ultimate urls debug logs turned on, and also nothing in the regular error logs elsewhere on the server.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
Siem
Forgot to add this to my post (the one above this one):
No info in the debug logs, the ones in /logs/ the ones in /logs/ultimate_urls/ after saying in the admin interface I want the ultimate urls debug logs turned on, and also nothing in the regular error logs elsewhere on the server.
Just fo verification, how does the line read in your includes/confgure.php fle that has DIR_FS_LOGS defined in it?
Re: Ultimate SEO 2.200 (new features) [Support Thread]
It looks like there are "typos" in your header, see
Code:
<!-- Language Container -->
<div class="language-switcher">
<label>Language : </label>
<a href="http://www4.carmo.nl/index?language=en">en</a><a href="http://www4.carmo.nl/index?language=fr">fr</a><a href="http://www4.carmo.nl/index?language=sp">sp</a> </div>
<!-- Language Container ends -->
which should be
Code:
<!-- Language Container -->
<div class="language-switcher">
<label>Language : </label>
<a href="http://www4.carmo.nl/index.php?language=en">en</a><a href="http://www4.carmo.nl/index.php?language=fr">fr</a><a href="http://www4.carmo.nl/index.php?language=sp">sp</a> </div>
<!-- Language Container ends -->
Not an issue with USU.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
mc12345678
Just fo verification, how does the line read in your includes/confgure.php fle that has DIR_FS_LOGS defined in it?
It says:
define('DIR_FS_LOGS', '/var/www/edify/logs');
Lat9:
When I use a backup of the site, made just before installing this plugin, the links work correctly and do have a .php in it. Only when I use this plugin does the link generated for the language buttons make it without .php in it.
Maybe you're right and there is another reason why the buttons have an incorrect link in them with this plugin, but I don't know yet why the links are correct without the plugin.
Thanks for trying to help