Re: Chemo's Ultimate URL's
Managed to sort my problem with the index page not displaying but all other pages working. (on the last page). :D
added this line to the .htaccess file before the seo rules:-
RewriteRule ^$ /zencart/index.html [L]
so my .htaccess file now reads:-
##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /zencart/
# EZ Pages from Ultimate Seo Urls version 2.1 to 3.X
RewriteRule ^page.html$ index\.php?main_page=page&%{QUERY_STRING} [L,R=301]
RewriteRule ^$ /zencart/index.html [L]
# Seo Urls version 3.x
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index\.php/$1 [L,QSA]
Just in case anyone else has the same problem.
Re: Chemo's Ultimate URL's
Here is my experience:
2.105 - installed fine, everthing works, I get SEO URLs for all categories, products & info pages. All cart, search, email work fine. Only problems: Currencies sidebox - "index.php" is stripped from the URL. I can handle old URLs for Currencies, but not broken ones. News & Articles have old URLs.
3.0.0 Beta 1(with or without patches) - cannot access any categories, products etc. URL I ended up with is e.g. "www.mydomain.com\?cPath=29" & "www.mydomain.com\?products_id=82". And for info pages I get "www.mydomain.com" for all.
At the moment I'm going to go back to 2.105 as I can't see what I have done wrong with the 3.0.0 install. I will need to find a fix for Currencies side box URLs, that's critical. Would be nice to also fix News & Artcles URLs as well.
Re: Chemo's Ultimate URL's
I seem to be having problems logging in.
It takes a few attempts. could SEO URL be the problem? I noticed on my stats that people have been viewing multiple pages but not signing up which made me look into it.
The site is www.houseofmulben.com/farmShop
The login is john [AT] mediasurgery [DOT CO ] DOT UK
drowssap: yamaha
Maybe not a good idea to post details like above but its coded a little im sure you can work it out..
Thanks if anyone can help.
Re: Chemo's Ultimate URL's
If anyone figures out the attribute or search problem where it doesn't allow apostrophe please post here. Until then, I am ditching this mod for good.
Re: Chemo's Ultimate URL's
JohneeMac - Your problem is to do with the inclusion of a ZenId in the redirection URL once you login. When you login, if the URL includes the zenid, you receive the "welcome guest" greeting. https://www.houseofmulben.com/farmSh...=xxxxxxxxxxxxx
If you remove the zenid, you login perfectly. What are your recreate session settings in the admin?
Absolute
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
Absolute
JohneeMac - Your problem is to do with the inclusion of a ZenId in the redirection URL once you login. When you login, if the URL includes the zenid, you receive the "welcome guest" greeting.
https://www.houseofmulben.com/farmSh...=xxxxxxxxxxxxx
If you remove the zenid, you login perfectly. What are your recreate session settings in the admin?
Absolute
Thanks for the reply.
I found this: http://www.zen-cart.com/forum/showthread.php?t=73495
Then i added this
php_value session.use_trans_sid 0
php_value register_globals 1
To htaccess and now everything is working 100%
Many Thanks.
Re: Chemo's Ultimate URL's
Hi Isaacola
I purchase this SEO URL I told you abut, www.magic-seo-url.com for abut 2 weeks with my limited knowledge I was able to put my site down few time ( demo store)
Finally I email the owner of that program and he offer me to install it, less then 5 minute it was all done , and wow it is cool it look perfect you can check it out on my web site just add the /storedemo
I got a question in regard to this , when I will install it on my live store , I do have many links ( the old version) from other publication and all over, will it not make Google see it as duplicate links?
There is anything I should be careful before I install it on my live store?
Thank you
Re: Chemo's Ultimate URL's
Step 3
Open the file Zen Cart Installation/includes/functions/html_output.php
24
Seo Urls for Zen Cart: Complete Guide
Step 4
Remove the zen_href_link function that was installed from version 2.1.x.
Step 5
If you have the original zen_href_link function still in the file but renamed to something
else, such as original_zen_href_link, rename it back to zen_href_link.
If you don’t still have the original function, you may get it from the standard Zen Cart distribution.
Copy and paste it into your file.
I am at the above steps in the Upgrade from 2.1 process. This is the code that is in my file:
//// IMAGINADW.COM
// Ultimate SEO URLs v2.100
// The HTML href link wrapper function
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
/* QUICK AND DIRTY WAY TO DISABLE REDIRECTS ON PAGES WHEN SEO_URLS_ONLY_IN is enabled IMAGINADW.COM */
$sefu = explode(",", ereg_replace( ' +', '', SEO_URLS_ONLY_IN ));
if((SEO_URLS_ONLY_IN!="") && !in_array($page,$sefu)) {
return original_zen_href_link($page, $parameters, $connection, $add_session_id, $search_engine_safe, $static, $use_dir_ws_catalog);
}
if (!isset($GLOBALS['seo_urls']) && !is_object($GLOBALS['seo_urls'])) {
include_once(DIR_WS_CLASSES . 'seo.url.php');
$GLOBALS['seo_urls'] = &new SEO_URL($_SESSION['languages_id']);
}
return $GLOBALS['seo_urls']->href_link($page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
Do I remove all of it or just the "function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {" ?
Thanks! Amy
Re: Chemo's Ultimate URL's
For the above post, can I just replace the file completely with the file from a new install?
Amy