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.
Views: 1,113,828
New Zenner
Its writeable. And its faster with SSU off. it differs 10-15 seconds.
The shorthand tag stops working with SSU on.
Totally Zenned
-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.
New Zenner
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. :/
Totally Zenned
-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.
New Zenner
its the DIR_WS_TEMPLATE tag thats the problem. not the <?= ?> since im running PHP 5
Totally Zenned
-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?
New Zenner
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.
New Zenner
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
New Zenner
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:
Totally Zenned
-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.
New Zenner
Thank you!
That solved it all :D
New Zenner
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
Totally Zenned
-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.
New Zenner
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
Totally Zenned
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
New Zenner
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
New Zenner
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" />
New Zenner
yellow1912:
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.
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!
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?
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!:(
Totally Zenned
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?
New Zenner
All my problems are fixed now!
Thank you so much Yellow1912:laugh:
SSU is truly the best and so are YOU!!!!!!
Tell staff why this post should be reviewed.