Totally Zenned
- Join Date:
- Oct 2007
- Location:
- Australia
- Posts:
- 814
- Plugin Contributions:
- 0
Views: 1,113,797
Totally Zenned
Totally Zenned
Yay! As per PM instructions, upgraded to version 3.6.2 and the page links are working the way they should now! Thanx Yellow! :clap:
Zen Follower
yellow1912:
Check if you are using an old version, you may have the exact problem with the other 2 people above.
Upgrade, mmm... i copied all the files from the latest distro over the old ones except classes/local.config.php and the .htaccess
That should do it right?
Now keep my fingers crossed
Totally Zenned
nagelkruid:
Upgrade, mmm... i copied all the files from the latest distro over the old ones except classes/local.config.php and the .htaccess
That should do it right?
Now keep my fingers crossed
And then clear cache. Always always clear cache when you upgrade (ssu cache)
See if you still have the same error now.
Zen Follower
Hi yellow,
I just installed SSU v3.5.2 (php5) on my another store
When ssu is turned on, the main page of the store loads fine but for the categories and products "Redirect Loop" error is displayed.
My store url is: http://www.starruby.in/store
Contents of store/.htaccess file before installing ssu:
NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
#RewriteBase /store/From Ultimate SEO URLs
RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING}
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING}
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING}
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING)
RewriteRule ^(.)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING)For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING}
For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING}
RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING}
RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING}
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING}
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING}
RewriteRule ^news/(.)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING}
RewriteRule ^news/(.)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING)All other pages
Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING}RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.* [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301]
Contents of store/.htaccess file after installing ssu:
NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
#RewriteBase /store/BOF SSU
Options +FollowSymLinks
RewriteEngine OnChange "/zencart/ to the correct setting
if your site is located at root folder, then you should have RewriteBase /
Go to your include/configure.php, this value should be the same with the value of DIR_WS_CATALOG
RewriteBase /store/
Deny access from .htaccess
RewriteRule ^.htaccess$ - [F]
RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
EOF SSU
For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING}
For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING}
RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING}
RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING}
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING}
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING}
RewriteRule ^news/(.)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING}
RewriteRule ^news/(.)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING)All other pages
Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING}RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.* [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301]
I am sure this error has something to do with the .htaccess file.
Also one more problem is that I had configured the .htaccess file so as to automatically redirect non-www users to the www version of the site (that is from http://starruby.in/store to http://www.starruby.in/store). However after adding the ssu code to .htaccess file even that code does not work.
I have turned off ssu temporarily until this problem is sorted out.
Thanks,
Harshil
Totally Zenned
Why do you have htaccess rule for Ultimate seo url there?
Totally Zenned
Also, the code to redirect www etc has to be placed BEFORE ssu code.
New Zenner
a Problem duplicate:(.html)
http:/...../sillas-de-paseo-bebe-confort-c-217_242.html
http://..../sillas-de-paseo-bebe-confort-c-217_242
If in the url I put with http:/...../sillas-de-paseo-bebe-confort-c-217_242.html me has to transform it in http://..../sillas-de-paseo-bebe-confort-c-217_242 or error404
Zen Follower
This mod is awesome!!! However, I'm having a problem with the Wordpress integration (WOZ) I used. Before installing SSU the url for my wordpress install was http://www/sitename.com/index.php?main_page=wordpress
SSU wants to rewrite it to http://www.sitename.com/wordpress
which breaks my wordpress page.
Does anybody have any familiarity with this?
Totally Zenned
danilovig:
a Problem duplicate:(.html)
http:/...../sillas-de-paseo-bebe-confort-c-217_242.html
http://..../sillas-de-paseo-bebe-confort-c-217_242If in the url I put with http:/...../sillas-de-paseo-bebe-confort-c-217_242.html me has to transform it in http://..../sillas-de-paseo-bebe-confort-c-217_242 or error404
Please note that this mod does NOT put .html into category, product name. You must have/use some other module.
Totally Zenned
swamyg1:
This mod is awesome!!! However, I'm having a problem with the Wordpress integration (WOZ) I used. Before installing SSU the url for my wordpress install was http://www/sitename.com/index.php?main_page=wordpress
SSU wants to rewrite it to http://www.sitename.com/wordpress
which breaks my wordpress page.Does anybody have any familiarity with this?
Simple, just put wordpress into the page exclude list.
New Zenner
I was using "ultimate seo"
yellow1912:
Please note that this mod does NOT put .html into category, product name. You must have/use some other module.
Totally Zenned
danilovig:
I was using "ultimate seo"
Note that currently ssu does not understand links generated from ultimate seo url. You may give it a try by modifying this file:
includes/classes/ssu/cores/parser.php
Find this
static protected function getID($string, $delimiter){
Insert right after that line:
$string = str_replace('.html', '', $string);
I have never tested that before though, let me know how it go.
New Zenner
redirect well, the only(unique) thing is that it makes the html put..
There is some way of doing that the original url transforms to the redirect without html..
New Zenner
Thanks , i prove
yellow1912:
Note that currently ssu does not understand links generated from ultimate seo url. You may give it a try by modifying this file:
includes/classes/ssu/cores/parser.php
Find this
static protected function getID($string, $delimiter){
>
> Insert right after that line:
> ```php
$string = str_replace('.html', '', $string);
I have never tested that before though, let me know how it go.
Totally Zenned
danilovig:
redirect well, the only(unique) thing is that it makes the html put..
There is some way of doing that the original url transforms to the redirect without html..
You may also want to check the htaccess, try to take out/comment out all the rules belong to ultimate seo url as well.
Zen Follower
yellow1912:
Simple, just put wordpress into the page exclude list.
Can't believe I didn't see that option! This works but just for the wordpress index page. All the other links in wordpress just redirect to my store index now.
Is there any way to exclude an entire directory?
Totally Zenned
swamyg1:
Can't believe I didn't see that option! This works but just for the wordpress index page. All the other links in wordpress just redirect to my store index now.
Is there any way to exclude an entire directory?
Just exclude every link belongs to wordpress module. If I can see your site, I can give a better advice.
New Zenner
Paypal
v1.3.7 last version de paypal, and simple seo 3.5.2 and
PDT works perfectly
But asynchronous it me does not go i I have concentrated on this mistake(ipn_main_handler.php)
http://www.mainada.es/tienda_bebe/ipn_main_handler.php
Fatal error: Call to a member function ssu_link() on a non-object in /var/www/mainada.es/datos/web/tienda_bebe/includes/functions/html_output.php on line 29
Totally Zenned
go to includes/functions/html_output.php
Find this line
global $ssu;
Add below
if(is_object($ssu) && method_exists($ssu,'ssu_link'))
However, lets make it clear: without this fix, does the order go through? On my demo site I all my orders still go through and recorded.
danilovig:
Paypal
v1.3.7 last version de paypal, and simple seo 3.5.2 and
PDT works perfectly
But asynchronous it me does not go i I have concentrated on this mistake(ipn_main_handler.php)
http://www.mainada.es/tienda_bebe/ipn_main_handler.php
Fatal error: Call to a member function ssu_link() on a non-object in /var/www/mainada.es/datos/web/tienda_bebe/includes/functions/html_output.php on line 29
Tell staff why this post should be reviewed.