Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,797

Results 1,721 to 1,740 of 5,058
28 Dec 2008, 1:07 AM
#1721
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Yep, here's the alias screen and the settings screen:

28 Dec 2008, 1:22 AM
#1722
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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:

28 Dec 2008, 12:25 PM
#1723
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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

28 Dec 2008, 1:48 PM
#1724
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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.

28 Dec 2008, 4:37 PM
#1725
starruby avatar

starruby

Zen Follower

Join Date:
Nov 2007
Posts:
96
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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 On

Change "/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

28 Dec 2008, 6:14 PM
#1726
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Why do you have htaccess rule for Ultimate seo url there?

28 Dec 2008, 10:03 PM
#1727
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Also, the code to redirect www etc has to be placed BEFORE ssu code.

29 Dec 2008, 8:02 AM
#1728
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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

29 Dec 2008, 9:57 AM
#1729
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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?

29 Dec 2008, 1:13 PM
#1730
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

danilovig:

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
Please note that this mod does NOT put .html into category, product name. You must have/use some other module.

29 Dec 2008, 1:14 PM
#1731
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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.

29 Dec 2008, 2:53 PM
#1732
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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.

29 Dec 2008, 2:57 PM
#1733
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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.

29 Dec 2008, 2:59 PM
#1734
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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..

29 Dec 2008, 3:00 PM
#1735
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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.

29 Dec 2008, 3:00 PM
#1736
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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.

29 Dec 2008, 4:31 PM
#1737
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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?

29 Dec 2008, 5:31 PM
#1738
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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.

29 Dec 2008, 6:40 PM
#1739
danilovig avatar

danilovig

New Zenner

Join Date:
Nov 2007
Posts:
65
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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

29 Dec 2008, 6:56 PM
#1740
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

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