Totally Zenned
- Join Date:
- Feb 2007
- Location:
- Pennsylvania
- Posts:
- 856
- Plugin Contributions:
- 0
Ultimate SEO v3 (and v2.200) [Support Thread]
apparently it can. I did merge the html_output.php files though...
Thank You,
John
Views: 427,444
Totally Zenned
apparently it can. I did merge the html_output.php files though...
Thank You,
John
Zen Follower
Hi,
I have been using the version 2.215 of this wonderful module on zencart version 1.5.4 and it is working very fine.
Now, i want to use SSL and make my site secure using https://
My question is :
Can I tweak the configure.php file to redirect the url to https:// even if I am already redirecting my URLs through this mod?
Moreover, will changing to https:// harm my ranking on google? or will it transfer the ranking to the new https:// site?
Kindly reply with steps to do this properly.
thanks in advance.
-muteyaar
zennedOut
muteyaar:
Hi,
I have been using the version 2.215 of this wonderful module on zencart version 1.5.4 and it is working very fine.
Now, i want to use SSL and make my site secure using https://
My question is :
Can I tweak the configure.php file to redirect the url to https:// even if I am already redirecting my URLs through this mod?
Moreover, will changing to https:// harm my ranking on google? or will it transfer the ranking to the new https:// site?
Kindly reply with steps to do this properly.
thanks in advance.
-muteyaar
see:
https://www.zen-cart.com/content.php?56-how-do-i-enable-ssl
pay close attention to #3. i'm assuming you are turning on SSL for the whole site. its actually quite easy:
If you want your ENTIRE site to be served over SSL, then use https on both defines:
define('HTTP_SERVER', 'https://www.YOUR_SHOP.com');
define('HTTPS_SERVER', 'https://www.YOUR_SHOP.com');
define('ENABLE_SSL', 'true');
i make no guarantees with regards to google, but my experience says your rank will be unaffected by this change.
nothing need be done with regards to ultimate SEO....
good luck!
Totally Zenned
Hi there,
I was just wondering, is this module php 7.1 compatible? I am not certain it is the reason for the error, but I get a blank page but part of the url at the top of page. For example, on featured page it shows:-
/featured_products
And so on. I am on 1.55f, I know that it is not 7.2 compatible, so perhaps actually its not 7.1 compatible. The url showing thing just made me wonder if the url rewriting part of this module might need tweaking. Thanks in advance for any replies.
Zen Follower
Hello all,
I used ultimate_urls/ rss/ news etc plus, and i can see the urls with ?* as :http://www.targetmarts.com/womens-handbags-c-11_13?sort=20a&filter_id=6
i hope the urls replace ?* to whate choose ,display as http://www.targetmarts.com/womens-handbags-c-11_13/coach/
rss display as:
http://www.targetmarts.com/rss_feed/ http://www.targetmarts.com/rss_feed/womens-handbags-c-11_13/ http://www.targetmarts.com/rss_feed/womens-handbags-c-11_13/coach/ etc
news display as:
replace http://www.targetmarts.com/more_news?news_id=6 to http://www.targetmarts.com/more_news/%28news_tittle%29
http://www.targetmarts.com/security-cameras-c-1?sort=20a&page=3 replace to : http://www.targetmarts.com/security-cameras-c-1/page=3 or page/3
please let us to know how to work for this ?
My Ultimate URLs set as: configuration-Ultimate URLs-Limit alternate URLS to the following pages: product_info, product_music_info, document_general_info, document_product_info, product_free_shipping_info, products_new, products_all, shopping_cart, featured_products, specials, contact_us, conditions, privacy, reviews, shippinginfo, faqs_all, site_map, gv_faq, discount_coupon, page, page_2, page_3, page_4, manufacturers_all, wishlist, manufacturers_about, links, links_submit, advanced_search_result, advanced_search, unsubscribe, login, account, account_history_info, wishlists, wishlist_edit, about_us, wholesale, ask_a_question, affiliate, products, product_reviews_info, news_archive, more_news, index
.htaccess:
#############################
## General Settings
Options +SymLinksIfOwnerMatch -FollowSymlinks -Indexes
RewriteEngine ON
# Define the default Character Set for Browsers
AddDefaultCharset utf-8
#############################
## Header Settings
<IfModule mod_headers.c>
# Set the default language of your site
Header set Content-Language "en-us"
# Ensure the most current site files are being provided
Header set Cache-Control "proxy-revalidate, stale-while-revalidate=86400, stale-if-error=259200"
# Prevents seeing information not needed to see
Header unset X-Powered-By
# Protection against PHP or Javascript code placed within images and other misinterpretations of your resources.
Header set X-Content-Type-Options "nosniff"
# Protection against Clickjacking
Header set X-Frame-Options "SameOrigin"
# Protection against XSS (Cross-Site Scripting)
Header set X-XSS-Protection "1; mode=block"
# Protection against abuse of Adobe Flash / Silverlight / PDF files
Header set X-Permitted-Cross-Domain-Policies "Master-Only"
</IfModule>
#############################
## EXPIRES CACHING
# Note: You cannot set expires headers for files or content you are loading from a different site.
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 day"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
# Embedded OpenType (EOT)
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType font/eot "access plus 1 month"
# OpenType
ExpiresByType font/opentype "access plus 1 month"
# TrueType
ExpiresByType application/x-font-ttf "access plus 1 month"
# Web Open Font Format (WOFF) 1.0
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType font/woff "access plus 1 month"
# Web Open Font Format (WOFF) 2.0
ExpiresByType application/font-woff2 "access plus 1 month"
</IfModule>
RewriteEngine on
RewriteBase /
RewriteRule ^\.htaccess$ - [F]
#RewriteCond %{QUERY_STRING} ^$
#RewriteRule ^index\.php$ / [R=301,L]
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]
# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2})$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2})$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)$ index\.php?main_page=news_article&article_id=$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]
RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2})$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2})$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-i-([0-9]+)$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
RewriteRule ^producttags/(.*)$ index.php?main_page=producttags&letter=$1&%{QUERY_STRING} [L]
RewriteRule ^producttags/(.*)/([0-9]+)$ index.php?main_page=producttags&letter=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^wishlist/$ index.php?main_page=wishlist [L]
RewriteRule ^wishlist/(.*)$ index.php?main_page=wishlist&letter=$1&%{QUERY_STRING} [L]
RewriteRule ^wishlist/(.*)/([0-9]+)$ index.php?main_page=wishlist&letter=$1&page=$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]
by the way,i found view-source:http://targetmarts.com/ home page url was
<base href="http://www.targetmarts.com/" /> <link rel="canonical" href="http://www.targetmarts.com/" /> <link rel="alternate" href="http://www.targetmarts.com/index?language=gb" hreflang="gb" /> <link rel="alternate" href="http://www.targetmarts.com/index?language=en" hreflang="en" />i want replace to :
<base href="http://www.targetmarts.com/" /> <link rel="canonical" href="http://www.targetmarts.com/" /> <link rel="alternate" href="http://www.targetmarts.com/?language=gb" hreflang="gb" /> <link rel="alternate" href="http://www.targetmarts.com/?language=en" hreflang="en" />how to do ?
New Zenner
Hi,
I wonder if you can help me.
ZC 1.5.5f
USU 2.215
I am having trouble with repopulating the attributes after clicking a product in cart.
With USU enabled, in the cart links look like this:
my-product-name-p-341.html
With USU disabled, in the cart links look like this:
index.php?main_page=product_info&products_id=341:975079f2b110126e0c4ba1af5219705c
Here is the part of .htaccess that deals with USU rewrites:
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]
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]
Thanks!
David
New Zenner
So, after some digging in, I found there are two problems. For an unknown reason, the USU 2.215 no longer passes the attributes to product link.
To fix that, in includes/classes/usu.php uncomment LINE 320. Like so:
$p2[1] = zen_get_prid($p2[1]);
to
// $p2[1] = zen_get_prid($p2[1]);
Next problem will only affect you if you are running Apache on Windows (which in my case I was - for a test server).
The colon is a disallowed character on Windows version of Apache, due to NTFS conventions. I instead opted for using a plus '+' character. I simply added to includes/classes/usu.php LINE 321:
$p2[1] = str_replace(":","+",$p2[1]);
This gives me the SEO link that is formatted like so:
https://www.example.com/seo-page-name-p-341+6662cd9f4515a07efd25ef413b81846f.html
Then, in .htaccess, I added:
RewriteRule ^(.*)-p-([^\+]+)\+(.*)\.html$ index\.php?main_page=product_info&products_id=$2:$3&%{QUERY_STRING} [L]
This splits the value and reassembles it with a colon, to feed it back to PHP that expects it. As in:
Hopefully, I will only need to do this on Windows (test) server and should be unnecessary on the Unix Apache, come deployment time.
New Zenner
So, after some digging in, I found there are two problems. For an unknown reason, the USU 2.215 no longer passes the attributes to product link.
To fix that, in includes/classes/usu.php uncomment LINE 320. Like so:
$p2[1] = zen_get_prid($p2[1]);
to
// $p2[1] = zen_get_prid($p2[1]);
Next problem will only affect you if you are running Apache on Windows (which in my case I was - for a test server).
The colon is a disallowed character on Windows version of Apache, due to NTFS conventions. I instead opted for using a plus '+' character. I simply added to includes/classes/usu.php LINE 321:
$p2[1] = str_replace(":","+",$p2[1]);
This gives me the SEO link that is formatted like so:
https://www.example.com/seo-page-name-p-341+6662cd9f4515a07efd25ef413b81846f.html
Then, in .htaccess, I added:
RewriteRule ^(.*)-p-([^\+]+)\+(.*)\.html$ index\.php?main_page=product_info&products_id=$2:$3&%{QUERY_STRING} [L]
This splits the value and reassembles it with a colon, to feed it back to PHP that expects it. As in:
Hopefully, I will only need to do this on Windows (test) server and should be unnecessary on the Unix Apache, come deployment time.
Totally Zenned
Probably a dumb question but I suppose the new URL is supposed to show up in my Browser URL but it does not, neither for new or existing products.
If I run debug log the new URLs are created OK, if I copy one URL and paste it in my Browser then the correct product shows up.
If I look at my page source then the "link rel="canonical" href" shows the new URL in both languages available on my site.
Maybe I configured something wrong somewhere?
My site is https://www.simmar.ch/catalog, thanks for any help :)
New Zenner
Domain: homepromedical.com
The website cannot "Buy Now" when customers purchase from Manufacturer List.
As I described from this topic...
https://www.zen-cart.com/showthread....ufacturer-List
I suspected this plugin may trigger the problem (the Ultimate SEO version is 2.212).
The "index.html" is the reason of 404 error...
But, website using index.php for all actions.
Therefore, I think the rewrite may lead to this problem.
Zen Follower
nginx How to implement rewrite?
New Zenner
We just migrated to Ultimate from Ceon and are having problems with the way that Ultimate appends extra characters to the URL. For example:
"https://www.filefolderheaven.com/adapted-books-c-49/just-adapted-books-c-49_50/fox-says-good-working-with-core-vocabulary-p-2874"
Is there anyway to remove the "-C-49", etc
We want our URLs to look more like this:
"https://www.filefolderheaven.com/adapted-books/just-adapted-books/fox-says-good-working-with-core-vocabulary"
Thank you
Administrator
That's not the way that USU works. Those "appendages" are how USU's .htaccess maps the URI into a specific page; the p-2874 identifies products_id = 2874 and c-49_50 maps to a cPath of 49_50.
Totally Zenned
treyslay77:
We just migrated to Ultimate from Ceon and are having problems with the way that Ultimate appends extra characters to the URL. For example:
"https://www.filefolderheaven.com/adapted-books-c-49/just-adapted-books-c-49_50/fox-says-good-working-with-core-vocabulary-p-2874"
Is there anyway to remove the "-C-49", etc
We want our URLs to look more like this:
"https://www.filefolderheaven.com/adapted-books/just-adapted-books/fox-says-good-working-with-core-vocabulary"
Thank you
You can lose the C-49 component (cPath) of the url in admin/configuration/ultimate_urls go to 'Generate cPath parameters' and disable 'auto' - that should get rid of the C-49 component - however as lat9 said, you will not get rid of the page number (p-2874) - Ultimate requires it.
cheers,
Mike
Totally Zenned
jiji2018:
nginx How to implement rewrite?
Did you upload the .htaccess file into the root of your store? this file has the rewrite instructions - so if you haven't then go to your plugin downloaded folders and open the folder .htaccess - you will see a 'globe' style icon with .htaccess next to it - upload that into your root.
cheers,
Mike
zennedOut
shags38:
Did you upload the .htaccess file into the root of your store? this file has the rewrite instructions - so if you haven't then go to your plugin downloaded folders and open the folder .htaccess - you will see a 'globe' style icon with .htaccess next to it - upload that into your root.
cheers,
Mike
this is just plain wrong.
.htaccess is meant to be used with apache not nginx.
while there may be some experienced nginx admins on this board, i would think there are better resources for how to implement rewrites using nginx then the zen-cart shopping cart board.
best.
New Zenner
zen cart version is 1.5.5f, php version 5.6.35, apache 2.4.33, mysql 5.7.21
I use Ultimate SEO URLs - Version: 2.215, all is ok.
When there is a #15 character in the product name, I am using the search bar #15, but I can't search for the result. There is no 'keyword=' attribute in the URL. If I uninstall the Ultimate SEO URLs, I can use the search function normally. How can I modify this plugin?
Administrator
viomaze:
zen cart version is 1.5.5f, php version 5.6.35, apache 2.4.33, mysql 5.7.21
I use Ultimate SEO URLs - Version: 2.215, all is ok.
When there is a #15 character in the product name, I am using the search bar #15, but I can't search for the result. There is no 'keyword=' attribute in the URL. If I uninstall the Ultimate SEO URLs, I can use the search function normally. How can I modify this plugin?
I don't understand what the #15 character is, could you provide the full product name that gives you this problem?
New Zenner
bwlinux:
Thank you very much. Your explanation helped me to find and fix the problem using the code below.
href="<?php echo zen_href_link(FILENAME_DEFAULT, 'manufacturers_id='.$manufacturers_id); ?>"
Sorry, I know this is a reply to an old post but I am having the same problem with manufacturers and I can't work out where to check to fix the problem. I have Zen Cart v1.5.5f and Ultimate URLS v2.215 installed. It looks like zen_href_link is being used every where but I'm obviously missing something. I have checked and I can't see the template overriding anything.
The canonical URL for the manufacturer page is correct (<https://www.aliensandstrangersmusic.com/clark-w-fobes-m-30>). If I paste the canonical into the browser the manufacturers page loads correctly. But clicking on the manufacturer in the sidebox the link directed to is the <https://www.aliensandstrangersmusic.com/?main_page=index&manufacturers_id=30> format. Trying to track down where the onchange is processed.```
<select name="manufacturers_id" onchange="this.form.submit();" size="5" style="width: 90%; margin: auto;">
Can you point me in the right direction.
Thanks!
New Zenner
Hello, I'm trying to install Ultimate SEO URL on Zencart 1.5.5e and PHP 5.6
Is this possible? In my case:
I couldn't use the recommended method "Plugin Manager" as I couldn't find where to download it.
I searched hard. Where do you get "Plugin Manager" from?
I couldn't use the alternate manual method either as I get this error:
"An error occurred while replacing / updating content in '/<base_dir>/myshop/<admin_dir>/categories.php'. Backtrack Limit exceeded. This usually indicates an overly conservative pcre.backtrack_limit configured on your server (or restricted by mod_security). Either change the setting or manually merge the required changes."
pcre.backtrack_limit is set to one million
my provider won't change the settings of mod_security
Could somebody either:
By the way is lhungil still working on this project?
Fields marked required must be completed.
Tell staff why this post should be reviewed.