Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * - 2 votes

cDynamic Meta Tags


384 replies to this topic

#81 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 20 March 2005, 06:35

slidmax, on Mar 19 2005, 05:05 PM, said:

Thanks for this great contribution.

After installing it, I could not update/edit meta tags with header tag controller module and easy populate module, is there any way to fix it or this contribution supposedly works that way?

Thanks

<{POST_SNAPBACK}>



It is not a matter of fixing... that is the way thisd contribution works. If you want to manually specify the meta tags then this is not the contribution for you.

This contribution is for stores that want accurate dyanmic data to the page. Also is handy for high product stores where entering meta datad for each product is just too time consuming.

Chris
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#82 mujina

  • Community Member
  • 176 posts
  • Real Name:mujina

Posted 22 March 2005, 11:42

Hi Chris,

I don't know if it is the right place to post... hope so.

I've installed Ultimate cache Manager that works like a charm with ultimate seo & chemo's page cache! :)

Everything seems to work but actually it seems categories & manufacturers boxes are not cached even if I reinstall the files of the core version. How to have those boxes cached?

Maybe my cache settings are wrong, would you mind to have a look at them ?? debug
OSC2.2

#83 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 22 March 2005, 17:08

mujina, on Mar 22 2005, 07:42 AM, said:

Hi Chris,

I don't know if it is the right place to post... hope so.

I've installed Ultimate cache Manager that works like a charm with ultimate seo & chemo's page cache!  :)

Everything seems to work but actually it seems categories & manufacturers boxes are not cached even if I reinstall the files of the core version. How to have those boxes cached?

Maybe my cache settings are wrong, would you mind to have a look at them ?? debug

<{POST_SNAPBACK}>


The cache manager does not control any cache creations. You will have to configure the directory and set it to true in the Admin > Configuration > Cache.

This has nothing to do with page cache, this is a spererate setting too.

Hope this helps.

Chris
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#84 mujina

  • Community Member
  • 176 posts
  • Real Name:mujina

Posted 22 March 2005, 18:03

clarocque, on Mar 22 2005, 06:08 PM, said:

The cache manager does not control any cache creations.  You will have to configure the directory and set it to true in the Admin > Configuration > Cache.

This has nothing to do with page cache, this is a spererate setting too.

Hope this helps.

Chris

<{POST_SNAPBACK}>


Thanks Chris !! Yes your post helped me!!! I can now distinguish page cache from cache tool!! :D

Well if you could tell me more... I've checked my cache directory and it's ok and the cache is also turned on... so do you have any idea why my boxes aren't cached?

Hope I don't disturb you... :blush:
OSC2.2

#85 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 22 March 2005, 21:21

mujina, on Mar 22 2005, 02:03 PM, said:

Thanks Chris !! Yes your post helped me!!! I can now distinguish page cache from cache tool!!  :D

Well if you could tell me more... I've checked my cache directory and it's ok and the cache is also turned on... so do you have any idea why my boxes aren't cached?

Hope I don't disturb you...  :blush:

<{POST_SNAPBACK}>



If Cache is set to true,
FTP in to your cache directory and see if it is making cache files... if not then then I would chack and make sure the path is correct and the the cachel folder is R/W.

To test the UCM upload a sample.cache file to the cache folder and you should be able to see it w/ UCM if paths are correct.

If you can get it PM me.

Chris
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#86 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 02 April 2005, 07:41

I installed this contribution and it is much better then the meta tag controller because it's all dynamic mostly which is what I wanted.

I noticed though that the first time I go to a product page or any page for that matter, it tends to load very slow. Why does it do that? It did not load that slow before I had this contrib installed.

My second issue is the shop name in the title tag after the product name. I only want the product name and it's model number in the title. How do I get rid of the shop name in the title for the product pages?

Thanks,
Mike

#87 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 02 April 2005, 07:52

bugauto, on Apr 2 2005, 03:41 AM, said:

I installed this contribution and it is much better then the meta tag controller because it's all dynamic mostly which is what I wanted.

I noticed though that the first time I go to a product page or any page for that matter, it tends to load very slow. Why does it do that? It did not load that slow before I had this contrib installed.

My second issue is the shop name in the title tag after the product name. I only want the product name and it's model number in the title. How do I get rid of the shop name in the title for the product pages?

Thanks,
Mike

<{POST_SNAPBACK}>



Mike,

There could be many reasons that it might be slower...

Server
myql
php version etc.

It is running queries to get the dat so there is more work to load a pgae and if you have have alot of products and cats it will take long.

How many do you have?

That is why I built in a cache option to it so there was not the added queries on page load.

Look around line 127 for :
$metatitle.=$title .' '.STORE_NAME;

that is where the store name is loading for the product_info pages.

you can comment that line.

Chris

How many Prods and Cats do you have?

What are your server specs?
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#88 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 02 April 2005, 09:25

clarocque, on Apr 2 2005, 12:52 AM, said:

Mike, 

There could be many reasons that it might be slower...

Server
myql
php version etc.

It is running queries to get the dat so there is more work to load a pgae and if you have have alot of products and cats it will take long.

How many do you have?

That is why I built in a cache option to it so there was not the added queries on page load.

Look around line 127 for :
$metatitle.=$title .' '.STORE_NAME;

that is where the store name is loading for the product_info pages.

you can comment that line.

Chris

How many Prods and Cats do you have?

What are your server specs?

<{POST_SNAPBACK}>


I have 9,750 products for the products pages. Categories about 20 but with sub categories about 75.

I commented the line out and I went to a product page and all it showed in the title was the full URL instead of the actual title of the product.

I just installed the ultimate seo and the advance cache class.

I'm on a server running apache which the php is running as a module. I used to have a url I could go to so I can see all the server specs but that was when I had sunshop installed. There was a phpinfo page I could go to. Know how to get to that page with oscommerce installed?

Mike

#89 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 02 April 2005, 09:48

bugauto, on Apr 2 2005, 05:25 AM, said:

I have 9,750 products for the products pages. Categories about 20 but with sub categories about 75.

I commented the line out and I went to a product page and all it showed in the title was the full URL instead of the actual title of the product.

I just installed the ultimate seo and the advance cache class.

I'm on a server running apache which the php is running as a module. I used to have a url I could go to so I can see all the server specs but that was when I had sunshop installed. There was a phpinfo page I could go to. Know how to get to that page with oscommerce installed?

Mike

<{POST_SNAPBACK}>



I am sorry mike you cant comment all of it...

$metatitle.=$title; // .' '.STORE_NAME;

Well to really look in to your speed issue might take some time.

One this you can do is set it up to cache the results.

What pages are seing it run slow on? Any specific pages? index most likely.


Well this might be better if you limit the number of rows it grabs for categories... as thy can't all be displayed any way....

Chris
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#90 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 02 April 2005, 11:12

clarocque, on Apr 2 2005, 02:48 AM, said:

I am sorry mike you cant comment all of it...

$metatitle.=$title; // .' '.STORE_NAME;

Well to really look in to your speed issue might take some time.

One this you can do is set it up to cache the results.

What pages are seing it run slow on?  Any specific pages? index most likely.
Well this might be better if you limit the number of rows it grabs for categories... as thy can't all be displayed any way....

Chris

<{POST_SNAPBACK}>


Commenting it out that way only gave me this error

Parse error: parse error, unexpected T_STRING in /hsphere/local/home/bugauto/bugauto.com/volkswagen/includes/meta_tags.php on line 129

I'll find out my server specs and get back to you.

I also wanted to ask you if you know of a good way to redirect all of my old sunshop product url's over to my new oscommerce product url's?

Example:

Old URL
http://www.bugauto.com/volkswagen/index.ph...tion=item&id=12
To New URL
http://www.bugauto.com/volkswagen/product_...?products_id=12

Note: I have to redirect 9750 url's so what would be the most reliable, efficient way to do it? Also with out messing up my search engine rankings.

I was reading up on .htaccess but I don't know how I would do it.

Mike

P.S. My current oscommerce site is at this address for right now http://d384018.u25.acomhosting.com/volkswagen/ and is where it will be hosted once I change the name servers to point to it.

#91 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 02 April 2005, 11:27

bugauto, on Apr 2 2005, 07:12 AM, said:

Commenting it out that way only gave me this error

Parse error: parse error, unexpected T_STRING in /hsphere/local/home/bugauto/bugauto.com/volkswagen/includes/meta_tags.php on line 129

I'll find out my server specs and get back to you.

I also wanted to ask you if you know of a good way to redirect all of my old sunshop product url's over to my new oscommerce product url's?

Example:

Old URL
http://www.bugauto.com/volkswagen/index.ph...tion=item&id=12
To New URL
http://www.bugauto.com/volkswagen/product_...?products_id=12

Note: I have to redirect 9750 url's so what would be the most reliable, efficient way to do it? Also with out messing up my search engine rankings.

I was reading up on .htaccess but I don't know how I would do it.

Mike

P.S. My current oscommerce site is at this address for right now http://d384018.u25.acomhosting.com/volkswagen/ and is where it will be hosted once I change the name servers to point to it.

<{POST_SNAPBACK}>



Mike that is the fix to do what you want.

As far as server info you can get that in Admin >Tools>server Info.... but that is kinda off the public support of this contribution.

As is the URL issue I do have some ideas but should not be discussed in here.

As far as your error -did you edit anythong else on the page?

Reupload the stock page meta_tags.php and make that once change to it

$metatitle.=$title .' '.STORE_NAME;

to

$metatitle.=$title;

Chris
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#92 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 02 April 2005, 11:43

clarocque, on Apr 2 2005, 04:27 AM, said:

Mike that is the fix to do what you want.

As far as server info you can get that in Admin >Tools>server Info.... but that is kinda off the public support of this contribution.

As is the URL issue I do have some ideas but should not be discussed in here.

As far as your error -did you edit anythong else on the page?

Reupload the stock page meta_tags.php and make that once change to it

$metatitle.=$title .' '.STORE_NAME;

to

$metatitle.=$title;

Chris

<{POST_SNAPBACK}>


$metatitle.=$title; Did the trick. But on product pages still has the trailing slash (-) after the model number. How do I get rid of that ending slash? There is actually two of them but I know one of them is default in the browser.

Server OS: Linux 2.4.9-e.41smp

Database: MySQL 4.0.23-standard

HTTP Server: Apache/1.3.31 (Unix) mod_throttle/3.1.2 PHP/4.3.8 mod_ssl/2.8.18 OpenSSL/0.9.6b FrontPage/5.0.2.2635

PHP Version: 4.3.8 (Zend: 1.3.0)

Server API Apache

Any other server details you need to know?

My pages used to load extremely fast compared to how they load now that the cDynamic Meta Tags contribution is installed.

Where can I discuss my other issues with you?

Mike

#93 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 02 April 2005, 11:59

bugauto, on Apr 2 2005, 07:43 AM, said:

$metatitle.=$title; Did the trick. But on product pages still has the trailing slash (-) after the model number. How do I get rid of that ending slash? There is actually two of them but I know one of them is default in the browser.

Server OS: Linux 2.4.9-e.41smp

Database: MySQL 4.0.23-standard

HTTP Server: Apache/1.3.31 (Unix) mod_throttle/3.1.2 PHP/4.3.8 mod_ssl/2.8.18 OpenSSL/0.9.6b FrontPage/5.0.2.2635

PHP Version: 4.3.8 (Zend: 1.3.0)

Server API  Apache

Any other server details you need to know?

My pages used to load extremely fast compared to how they load now that the cDynamic Meta Tags contribution is installed.

Where can I discuss my other issues with you?

Mike

<{POST_SNAPBACK}>


I am sorry but customizing this contribution is not something I can support on the public forum. There are just to many possibilites.

If you have alot of categories I will suggest you cache the results. This will reduce the server work.

Chris
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#94 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 02 April 2005, 18:28

How do I cache the results? I thought that is why I installed ultra cache class.

#95 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 02 April 2005, 18:55

If you have cache class installed you can use the database. If not you can use the cache folder. You can use either.

(Step 5) # USER SETTINGS
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#96 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 03 April 2005, 19:46

clarocque, on Apr 2 2005, 11:55 AM, said:

If you have cache class installed you can use the database.  If not you can use the cache folder. You can use either.

(Step 5)  # USER SETTINGS

<{POST_SNAPBACK}>


Where is step 5 on user settings. Where is the user settings? I don't get it.

Mike

#97 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 03 April 2005, 20:16

When I go to edit a category in the admin interface I get this following error.

Quote

Warning: Invalid argument supplied for foreach() in /hsphere/local/home/bugauto/bugauto.com/volkswagen/admin/includes/reset_meta_cache.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/bugauto/bugauto.com/volkswagen/admin/includes/reset_meta_cache.php:36) in /hsphere/local/home/bugauto/bugauto.com/volkswagen/admin/includes/functions/general.php on line 18


#98 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 04 April 2005, 00:27

bugauto, on Apr 3 2005, 03:46 PM, said:

Where is step 5 on user settings. Where is the user settings? I don't get it.

Mike

<{POST_SNAPBACK}>



Make sure you have this in categories (and is after the tep_not_null statement :

$action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); if (tep_not_null($action)) {

# cDynamic Meta Tags 
  // If the action will affect the cache entries
   if ( eregi("(insert|update|setflag|confirm)", $action) ) include_once('includes/reset_meta_cache.php');


Step 5 of the install instructions:

STEP 5 - Configure basic parameters

Set settings which are located in includes/languages/english/meta_tags.php

osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#99 clarocque

  • Community Member
  • 559 posts
  • Real Name:Chris
  • Location:VT/USA

Posted 04 April 2005, 00:37

Based on your other post about caching...

change the cache setting to 0 and you will not cache your meta results. But you may see slower page load dependign on your server.

Chris
osC Contributions I have published.

Note: Some I only provided minor changes, updates or additions!

#100 bugauto

  • Community Member
  • 38 posts
  • Real Name:Michael

Posted 04 April 2005, 03:17

clarocque, on Apr 3 2005, 05:27 PM, said:

Make sure you have this in categories (and is after the tep_not_null statement :

$action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); if (tep_not_null($action)) {

# cDynamic Meta Tags 
  // If the action will affect the cache entries
   if ( eregi("(insert|update|setflag|confirm)", $action) ) include_once('includes/reset_meta_cache.php');

<{POST_SNAPBACK}>



I did what you told me and still get this error when editing a product or a category.

Quote

Warning: Invalid argument supplied for foreach() in /hsphere/local/home/bugauto/bugauto.com/volkswagen/admin/includes/reset_meta_cache.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/bugauto/bugauto.com/volkswagen/admin/includes/reset_meta_cache.php:36) in /hsphere/local/home/bugauto/bugauto.com/volkswagen/admin/includes/functions/general.php on line 30

And just to show you how I have the code:
$action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : '');
  if (tep_not_null($action)) {
 	 # cDynamic Meta Tags 
  // If the action will affect the cache entries
  if ( eregi("(insert|update|setflag)", $action) ) include_once('includes/reset_meta_cache.php');
  // Ultimate SEO URLs - by Chemo
  // If the action will affect the cache entries
  if ( eregi("(insert|update|setflag)", $action) ) include_once('includes/reset_seo_cache.php');
    switch ($action) {

Edited by bugauto, 04 April 2005, 03:20.