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

Results 4,541 to 4,560 of 5,058
4 Oct 2010, 9:51 AM
#4541
tavikki_adbuddy avatar

tavikki_adbuddy

New Zenner

Join Date:
Oct 2010
Posts:
8
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Solution 1 has not been tested since im not sure of the path to the config.php file. Looked at the configuration.php, but the paramerters as described was not in there.

4 Oct 2010, 1:54 PM
#4542
yellow1912 avatar

yellow1912

Totally Zenned

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

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

tavikki_adbuddy:

Solution 1 has not been tested since im not sure of the path to the config.php file. Looked at the configuration.php, but the paramerters as described was not in there.
You can post your current .htaccess content here, we will see if there is anything can be tested out. The final solution tho, may still be contacting your host.

4 Oct 2010, 6:17 PM
#4543
tavikki_adbuddy avatar

tavikki_adbuddy

New Zenner

Join Date:
Oct 2010
Posts:
8
Plugin Contributions:
0

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

Base" line below:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /https://www.i-spy.no/

From Ultimate SEO URLs

RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.
)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-ezp-([0-9]+).html$ index.php?main_page=page&id=$2&%{QUERY_STRING} [L]

For Open Operations Info Manager

RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

For dreamscape's News & Articles Manager

RewriteRule ^news/?$ index.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.)-a-([0-9]+)-comments.html$ index.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.
)-a-([0-9]+).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]

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} [L]

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On

Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
#RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
RewriteRule ^(.+) index.php?/$1 [E=VAR1:$1,QSA,L,PT]

EOF SSU

I just noticed that there is some info from ultimate seo, not sure how this have gotten here, but i have no clue if this is the problem.

4 Oct 2010, 6:20 PM
#4544
yellow1912 avatar

yellow1912

Totally Zenned

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

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

You should remove all Ultimate Seo Url htaccess rules

Your htaccess should look like this

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On

Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
#RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
RewriteRule ^(.+) index.php?/$1 [E=VAR1:$1,QSA,L,PT]

EOF SSU

4 Oct 2010, 6:23 PM
#4545
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Also note that, if you have not removed all ultimate seo url file, they may interfere with how ssu work

5 Oct 2010, 12:00 AM
#4546
boby avatar

boby

New Zenner

Join Date:
Sep 2010
Posts:
21
Plugin Contributions:
0

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

Hello
I installed a multisite module and there are problems with urls when the seo url is active; that shows error for all other pages than main page"
so how can I arrange that;
thank you

5 Oct 2010, 2:24 AM
#4547
yellow1912 avatar

yellow1912

Totally Zenned

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

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

boby:

Hello
I installed a multisite module and there are problems with urls when the seo url is active; that shows error for all other pages than main page"
so how can I arrange that;
thank you

For multi site module, I don't know. SSU relies on the HTTP_CATALOG and HTTPS_CATALOG etc to build the links. I'm not sure how the multisite module sets those, so I'm not sure

5 Oct 2010, 7:14 AM
#4548
boby avatar

boby

New Zenner

Join Date:
Sep 2010
Posts:
21
Plugin Contributions:
0

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

thank you for your answer;
so which files you need for know how to arrange that;
I found sites who use seo url.
So please ask me the file and I search it at multisite;

thank you

5 Oct 2010, 9:56 AM
#4549
nintendoparts avatar

nintendoparts

New Zenner

Join Date:
Jul 2010
Posts:
49
Plugin Contributions:
0

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

Thanks yet again for all the help.

yellow1912:

Not really, that is how it should work.

When you visit the site for the first time the session starts and thus you see zenid in there (note that this shows for only real users, not search engine bots, also by first time I mean everytime you open your browser and go to your site)

When I visit my site my zenid is hanging around even when I click on different products and/or pages. The zenid is the same, so it's not registering a new session, it just keeps adding the same zenid to all subsequent pages. But if I click on the home button an then browse around my site the zenid disappears.

I checked that Configuration>Sessions>Prevent Spider Sessions set to True, as I've read in other threads this is supposed to prevent zenid from being displayed.
I've read a few other threads, with nothing describing this exact problem.

5 Oct 2010, 11:14 AM
#4550
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Nintendoparts:

Thanks yet again for all the help.

When I visit my site my zenid is hanging around even when I click on different products and/or pages. The zenid is the same, so it's not registering a new session, it just keeps adding the same zenid to all subsequent pages. But if I click on the home button an then browse around my site the zenid disappears.

I checked that Configuration>Sessions>Prevent Spider Sessions set to True, as I've read in other threads this is supposed to prevent zenid from being displayed.
I've read a few other threads, with nothing describing this exact problem.
SSU actually relies on Zencart code to add zenid to the end of the link if needs to.

The behavior you describe when clicking on the homepage link and then the zenid is removed is correct. I'm not sure why for other pages it is behaving differently though. There are a bunches of settings regarding the zenid, you may want to paste your current settings here. In any case tho, this issue relates to zencart settings rather than SSU

5 Oct 2010, 11:34 AM
#4551
nintendoparts avatar

nintendoparts

New Zenner

Join Date:
Jul 2010
Posts:
49
Plugin Contributions:
0

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

yellow1912:

SSU actually relies on Zencart code to add zenid to the end of the link if needs to.

The behavior you describe when clicking on the homepage link and then the zenid is removed is correct. I'm not sure why for other pages it is behaving differently though. There are a bunches of settings regarding the zenid, you may want to paste your current settings here. In any case tho, this issue relates to zencart settings rather than SSU

My session settings are:
Session Directory /home2/ndsparts/public_html/cache
Cookie Domain True
Force Cookie Use False
Check SSL Session ID False
Check User Agent False
Check IP Address False
Prevent Spider Sessions True
Recreate Session True
IP to Host Conversion Status True

I don't thing the Session Directory /home2/ndsparts/public_html/cache is correct as my website is nintendoparts.com.au
ndsparts.com was another domain I purchased from bluehost.com but never used.
I changed it to
Session Directory //cache
and to
Session Directory /cache
but it made no difference.

As this is slightly off topic from SSU and I don't want to take the focus of this thread away from SSU, I've posted this question here:

http://www.zen-cart.com/forum/showthread.php?t=153852

please reply in the above thread if possible. Thanks.

5 Oct 2010, 11:40 AM
#4552
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Session Directory /home2/ndsparts/public_html/cache
This actually should be the same with the cache folder (path found in your includes/configure.php, last lines)

I have checked your site, indeed the way how zenid is attached to all links on all sub pages is weird

6 Oct 2010, 1:42 AM
#4553
nintendoparts avatar

nintendoparts

New Zenner

Join Date:
Jul 2010
Posts:
49
Plugin Contributions:
0

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

yellow1912:

Session Directory /home2/ndsparts/public_html/cache
This actually should be the same with the cache folder (path found in your includes/configure.php, last lines)

I have checked your site, indeed the way how zenid is attached to all links on all sub pages is weird

I have tried:
Session Directory /home2/ndsparts/public_html/cache
Session Directory //cache
Session Directory /cache

It hasn't made any difference. At the moment it's set to /cache

When I log into my bluehost.com account the 'stats' are:
Main Domain nintendoparts.com.au
Home Directory /home2/ndsparts

so maybe Session Directory /home2/ndsparts/public_html/cache is correct after all?

In my configure.php the last lines are:

** // The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', '/home2/ndsparts/public_html/cache');

// EOF**

My site had been logging debug files corectly, such as

/public_html/cache/zc_339c7e6bb4fe68547b272b7ec5401b17.sql
/public_html/cache/myDEBUG-911699-1286090555.log

Any ideas. I'm stumped.

6 Oct 2010, 4:19 AM
#4554
yellow1912 avatar

yellow1912

Totally Zenned

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

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

I believe you can put it in any existing folder on your server (that your script has write permission)

Usually I use the zencart cache folder which in your case is

/home2/ndsparts/public_html/cache

Nintendoparts:

I have tried:
Session Directory /home2/ndsparts/public_html/cache
Session Directory //cache
Session Directory /cache

It hasn't made any difference. At the moment it's set to /cache

When I log into my bluehost.com account the 'stats' are:
Main Domain nintendoparts.com.au
Home Directory /home2/ndsparts

so maybe Session Directory /home2/ndsparts/public_html/cache is correct after all?

In my configure.php the last lines are:

** // The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', '/home2/ndsparts/public_html/cache');

// EOF**

My site had been logging debug files corectly, such as

/public_html/cache/zc_339c7e6bb4fe68547b272b7ec5401b17.sql
/public_html/cache/myDEBUG-911699-1286090555.log

Any ideas. I'm stumped.

6 Oct 2010, 11:07 AM
#4555
nintendoparts avatar

nintendoparts

New Zenner

Join Date:
Jul 2010
Posts:
49
Plugin Contributions:
0

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

yellow1912:

I believe you can put it in any existing folder on your server (that your script has write permission)

Usually I use the zencart cache folder which in your case is

/home2/ndsparts/public_html/cache

Debug files have been logged correctly in the past so the cache folder specified in the configure.php must have been be set up correctly (correct path & correct permissions). There are no new debug files being logged. I think home2/ndsparts/public_HTML/cache is correct.

But if this is correct how come changing it didn't break anything (or change anything)?

I only ever noticed the zenid after installing SEO URLS, but maybe this just because I was never looking at the URL's very closely before.

8 Oct 2010, 9:58 AM
#4556
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Nintendoparts:

Debug files have been logged correctly in the past so the cache folder specified in the configure.php must have been be set up correctly (correct path & correct permissions). There are no new debug files being logged. I think home2/ndsparts/public_HTML/cache is correct.

But if this is correct how come changing it didn't break anything (or change anything)?

I only ever noticed the zenid after installing SEO URLS, but maybe this just because I was never looking at the URL's very closely before.

Huhm, I really cant think of any reason, can you test 2 things:

  1. Turn off SSU via admin and check the site again, btw when you do so you may want to clear session, cache etc to make the system think you visit the site for the first time
  2. Copy and paste the admin setting of SSU here, I dont think it has anything to do with this but I will have a look just to make sure
9 Oct 2010, 9:39 AM
#4557
nintendoparts avatar

nintendoparts

New Zenner

Join Date:
Jul 2010
Posts:
49
Plugin Contributions:
0

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

yellow1912:

Huhm, I really cant think of any reason, can you test 2 things:

  1. Turn off SSU via admin and check the site again, btw when you do so you may want to clear session, cache etc to make the system think you visit the site for the first time
  2. Copy and paste the admin setting of SSU here, I dont think it has anything to do with this but I will have a look just to make sure

I turned SSU off and cleared the cache. The zenid's are still hanging around. Now when I look at the old URL's I think the zenid's were probably hanging around before SSU was installed. I don't think it has anything to do with SSU, but here are my SSU settings (note, I have SSU turned off at the moment, but usually it's turned on):

ID delimiter -
Name delimiter -
File extension
Set max category level 2
Exclude list advanced_search_result,redirect,popup_image_additional,download,wordpress
Set Link Alias Status true
Set minimum word length 0
Set maximum name length 0
Set SSU Status false
Set SSU Multi Language Status true
Set Query Key's Exclude List zenid,gclid,number_of_uploads,number_of_downloads,action,sort,page,disp_order,filter_id,alpha_filter_id,currency
Set Auto Alias Status true
Set Category Separator -
Hide default language identifier true
Cache reset time 1286616060

11 Oct 2010, 1:11 PM
#4558
noleafclover2007 avatar

noleafclover2007

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

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

Hello everyone,

I have just installed SSU ver 3.8.5 as a module to my Zen-cart ver. v1.3.9f. Seems I have installed it all right, with the hand-edited html_output.php, module installer, using the htaccess that cam in package with ver 3.8.5, etc. The links that I see through the anchors are fine and clickable, however I have 2 immediate problems:

  1. whenever any of the SEO links are followed, they KEEP REDIRECTING me to ‘index’ root page.
  2. when ‘local.config.php’ (coming in package with ver 3.8.5) is enabled (my language code is RU), then returned is “500 Internal Server Error”. Both “SSU Status” and “SSU Multi Language Status” are true.

My environment is Apache/2.2.10 (Win32) PHP/5.2.9-1; MySQL: 5.0.67-community-nt

Can anyone please explain how to fix this or please direct me to where this is covered within this threat ?? (spent some 1 hour reading through the posts, but no luck).

11 Oct 2010, 1:14 PM
#4559
noleafclover2007 avatar

noleafclover2007

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

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

not actually a redirect, rather, I am being shown the index page.

noleafclover2007:

  1. whenever any of the SEO links are followed, they KEEP REDIRECTING me to ‘index’ root page.
11 Oct 2010, 6:18 PM
#4560
nagelkruid avatar

nagelkruid

Zen Follower

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

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

hello raine et all,

i have the same problem with the main page that is showed instead of the actual page that it should (and is shown in the URL bar).
I know in my heart it has to be something with the .htaccess but cannot lay my finger on the soar spot ...:) (it's a dutch saying, not sure if it's an englis saying as well hehe)

i am running older version of ssu and i am trying to upgrade in dev environment first which is where i have the problem.
dev is xampp with php 5.3 <--something to do with it?

any pointers in the right direction are very welcome!

(.htaccess is as plain as it should be like the one coming with the module)

thanks,
Jeroen