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,828

Results 2,181 to 2,200 of 5,058
9 Feb 2009, 10:03 AM
#2181
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Its writeable. And its faster with SSU off. it differs 10-15 seconds.
The shorthand tag stops working with SSU on.

9 Feb 2009, 10:08 AM
#2182
yellow1912 avatar

yellow1912

Totally Zenned

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

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

-martin-:

Its writeable. And its faster with SSU off. it differs 10-15 seconds.
The shorthand tag stops working with SSU on.
This module can NOT in any way affect the short hand tag, but any reason why you must use short hand? It is not recommended anyway.

For the load time, you need to turn on your log and see what is taking too long, is it the parse time or the query time. For your site, I can not visit at all, always get page load error. Is it a local server?

We have no report so far of significant slow down with ssu on, so I cant offer much help unless more info is provided.I suspect something is wrong with the server settings.

9 Feb 2009, 10:14 AM
#2183
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

the short hand is used to navigate to my custom css/javascript files in the template dir.

THe link sholud be:
http://213.113.248.25:8888/zen-cart/

was connected to my work via VPN before.

EDIT:: Checked in firefox and ySlow and the slow prblem seems to be that it cant find the css/javascript files. i.e the shorthand problem. :/

9 Feb 2009, 10:17 AM
#2184
yellow1912 avatar

yellow1912

Totally Zenned

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

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

-martin-:

the short hand is used to navigate to my custom css/javascript files in the template dir.

THe link sholud be:
http://213.113.248.25:8888/zen-cart/

was connected to my work via VPN before.

EDIT:: Checked in firefox and ySlow and the slow prblem seems to be that it cant find the css/javascript files. i.e the shorthand problem. :/

why cant you just use <?php echo DIR_WS_TEMPLATE;?>

If you are writing PHP scripts and plan on distributing them, we suggest that you use the standard form (which includes the ?php) rather than the shorthand form. This will ensure that your scripts will work, even when running on other servers with different settings.

9 Feb 2009, 10:22 AM
#2185
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

its the DIR_WS_TEMPLATE tag thats the problem. not the <?= ?> since im running PHP 5

9 Feb 2009, 10:24 AM
#2186
yellow1912 avatar

yellow1912

Totally Zenned

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

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

-martin-:

its the DIR_WS_TEMPLATE tag thats the problem. not the <?= ?> since im running PHP 5
So you are saying that with SSU on you can not access DIR_WS_TEMPLATE?

May I ask where are you putting this jscript echo?

Also, note that the configure file is loaded before anything else, so I doubt that for any reason SSU can prevent you to echo DIR_WS_TEMPLATE

I dont really get it. First you say that the problem is with the shorthand, now you say that it's the DIR_WS_TEMPLATE that is the problem?

Which one is true? Did you just try to echo DIR_WS_TEMPLATE? What happens? no thing is printed out?

9 Feb 2009, 10:28 AM
#2187
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

it can access it but since the path becomes /zen-cart/sv/sv/includes/templates/minidelar/css it doesnt work.

its in html_header.php

tried to change DIR_WS_TEMPLATE in configure.php but it fails and the page becomes blank.

9 Feb 2009, 10:33 AM
#2188
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

Fond another problem... it seems to be stuck in an redirect loop whem in clicking links. probably the multilanguage thing.. the links become /zen-cart/sv/sv/sv/linkname

9 Feb 2009, 10:37 AM
#2189
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

yellow1912:

So you are saying that with SSU on you can not access DIR_WS_TEMPLATE?

May I ask where are you putting this jscript echo?

Also, note that the configure file is loaded before anything else, so I doubt that for any reason SSU can prevent you to echo DIR_WS_TEMPLATE

I dont really get it. First you say that the problem is with the shorthand, now you say that it's the DIR_WS_TEMPLATE that is the problem?

Which one is true? Did you just try to echo DIR_WS_TEMPLATE? What happens? no thing is printed out?

its an misunderstanding there. with shorthand i ment the DIR_WS_TEMPLATE :oops:

9 Feb 2009, 10:47 AM
#2190
yellow1912 avatar

yellow1912

Totally Zenned

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

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

-martin-:

Fond another problem... it seems to be stuck in an redirect loop whem in clicking links. probably the multilanguage thing.. the links become /zen-cart/sv/sv/sv/linkname
If you turn on multi language, then you have to make sure ssu knows the language codes you use by defining it.
in your includes/classes/ssu you should have the file:

local.config.php.example

This will give you an example.

You can change local.config.php.example to local.config.php, take out the /* */, and define the language codes. In your case you may want to set 'sv' => 'default'

With that you will have the redirection problem fixed. If not please try to clear ssu cache as well.

9 Feb 2009, 10:51 AM
#2191
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

Thank you!
That solved it all :D

9 Feb 2009, 11:02 AM
#2192
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

well... almost :P
It getting the wrong path to the css/images when i navigate. tried to make an language plugin but it did't work either. :/

take a look:
http://213.113.248.25:8888/zen-cart/sv

9 Feb 2009, 4:07 PM
#2193
yellow1912 avatar

yellow1912

Totally Zenned

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

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

-martin-:

well... almost :P
It getting the wrong path to the css/images when i navigate. tried to make an language plugin but it did't work either. :/

take a look:
http://213.113.248.25:8888/zen-cart/sv
I cant access the site. But anyhow, path to css and image should not be generated by zen_href_link anyway, so how can that be wrong? You need to give me more info.

9 Feb 2009, 4:41 PM
#2194
danilovig avatar

danilovig

New Zenner

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

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

Hello

i have problem, 3.6.0
http://www.mainada.es/demo_bebe/?gclid=dffdfdsa

error loop redirection

Set Query Key's Exclude List zenid,gclid,number_of_uploads,number_of_downloads,action,filter_id,sort,alpha_filter_id,cpath,disp_order,page Info
Set SSU Status true
Set SSU Multi Language Status false Info
Set maximum name length 0 Info
Set minimum word length 0 Info
Set Link Alias Status false Info
Exclude list advanced_search_result,redirect,popup_image_additional Info
Set max category level 6 Info
File extension Info
Name delimiter - Info
ID delimiter - Info
Set Auto Alias Status false Info
Set Category Separator /

Thanks

9 Feb 2009, 5:12 PM
#2195
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Open includes/classes/ssu/cores/link.php

Find line 292
$link = str_replace('/?', '?', $link);

Add before that
if(!empty($page))

This will be updated to the package (available within 5 mins) as well

9 Feb 2009, 5:26 PM
#2196
danilovig avatar

danilovig

New Zenner

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

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

Thanks, it work

yellow1912:

Open includes/classes/ssu/cores/link.php

Find line 292
$link = str_replace('/?', '?', $link);

Add before that
if(!empty($page))

This will be updated to the package (available within 5 mins) as well

9 Feb 2009, 5:41 PM
#2197
martin_1 avatar

martin_1

New Zenner

Join Date:
Feb 2009
Posts:
10
Plugin Contributions:
0

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

yellow1912:

I cant access the site. But anyhow, path to css and image should not be generated by zen_href_link anyway, so how can that be wrong? You need to give me more info.

New link:
http://213.113.248.16:8888/zen-cart/sv

example code for getting css/javascript and images

<link rel="stylesheet" href="<?=DIR_WS_TEMPLATE?>css/default.css" />
9 Feb 2009, 6:06 PM
#2198
kbaxta avatar

kbaxta

New Zenner

Join Date:
Feb 2009
Posts:
5
Plugin Contributions:
0

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

yellow1912:

  1. I'm not sure which module you use here. But if the sitemap module uses zen_href_link function to generate links then they should have the correct form. More info will help to answer this.

  2. This has nothing to do with SSU. I believe you have to upload all js and css files found in the template_default folder in IH2 package to your current template folder to fix this.
    .

Thank for your time Yellow!

  1. I am using simple_seo_url_3-5-1. If you take a look here: http://guruseeds.com/sitemapproducts.xml you'll notice that the XML file is not compiling SSU URL's... Is this how they are supposed to be sent to Google even though my site displays SSU URL's?

  2. I have done this 3 times, I've double checked the files, downloaded the module again and re-uploaded the files to both template_default and the classic template folders... Still the problem persists.
    I have searched the forums high and low, and this fix is mentioned numerous times but not one person has reported a successful outcome to this fix... including me!:(

9 Feb 2009, 6:18 PM
#2199
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

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

yellow1912:

First thing would be to use ssu_check.php (see instalation instruction) to see if there is anything wrong with the settings
Second thing you should is to look into the link alias manager and see the link an alias for that particular product/catgory.
Another good thing to do is to find a pattern that triggers the problem

No errors or anything coming up when calling the ssu_check.php file.

Having clicked the alias manager I get :

Fatal error: Call to undefined function retrieve_aliases() in E:\Server\mydomain\admin\ssu.php on line 32

This is on my testing server on my laptop. Does this mean a file is missing?

9 Feb 2009, 9:32 PM
#2200
kdiscrete avatar

kdiscrete

New Zenner

Join Date:
Jan 2009
Posts:
43
Plugin Contributions:
0

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

All my problems are fixed now!

Thank you so much Yellow1912:laugh:

SSU is truly the best and so are YOU!!!!!!