Jump to content
Latest News: (loading..)
Jack_mcs

Header Tags SEO

Recommended Posts

Hi Jack,

 

I've done a bit of testing and it looks like I'm having a conflicting issue with InfoPage add-on and Header Tags SEO. The pages that are part of the InfoPages contribution are displaying default tags. The best I can get them to do is display the pageName with them, which is always "Infopage." The STS system is not causing this problem because I shut it off and tested without it. Is there any kind of fix for this problem? Has anyone run into this issue before? Thanks.

 

Demitry


osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce

Share this post


Link to post
Share on other sites

Never mind, I think I fixed it. In /includes/header_tags.php for all files that use InfoPages, I changed basename($_SERVER['SCRIPT_FILENAME']) to basename($_SERVER['REQUEST_URI'])

 

3 occurrences for each file managed by InfoPages. That seems to have fixed it.

 

Demitry


osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce

Share this post


Link to post
Share on other sites

Hi

Is this add-on compatible with Oscommerce 2.3.4?  On the addons pages it still states osCommerce Online Merchant v2.2

 

Please advise.

 

 

 

 

 

 

 

 


Debbie Harrison

 

Share this post


Link to post
Share on other sites

Yes, it is. It isn't possible to edit the description on an addon page.

Share this post


Link to post
Share on other sites

Hi All

 

I have installed SEO header tags on my website operating on Oscommerce 2.3.4.  We did have Ultimate SEO 5 installed, but uninstalled it.

 

However after installing and configuring Header Tags, everything works fine, except that on the admin panel under Configuration > Header Tags SEO, I keep getting the following warning appear :

 

 

Warning: call_user_func() expects parameter 1 to be a valid callback, function 'tep_reset_cache_data_usu5' not found or invalid function name in http://ourwebname\admin\includes\functions\general.php on line 1328

 

Line 1328 is:

 

 

   return call_user_func($function, $parameter);

 

I have uninstalled, reinstalled, gone through all my changes, run searches on usu5, tep_reset_cache_data and call_user_func and even gone through the database.  There is an usu_cache table in our database.  I did drop it but its made no difference (I have since imported it again).

 

I would appreciate any help or advice.

 

Thanks in advance :)


Debbie Harrison

 

Share this post


Link to post
Share on other sites

To be clear, this addon works fine with SEO 5. The error you are seeing is usually because of a missing function in admin. My guess is that you overwrote or removed it, or some piece of code calling it, by mistake with the installation.

Share this post


Link to post
Share on other sites

I have only one problem with this add on,

 

in page control when I select index.php I can't seem to get the keywords to show when I select : view results

It just shows a red box 

I have three languages and this only happens in the dutch language (german and  english work fine)

 

Off course I entered the keywords

 

Please help me solve this strange problem

Share this post


Link to post
Share on other sites

That usually happens when the admin is not using the same prefix for the domain name as the shop. So if your admin is setup to use mydomain.com and the shop is www.mydomain.com, it may fail. it has been a while since I tested it but I think it only happens if there is an ssl involved.

Share this post


Link to post
Share on other sites

hi, i wanted to know,

what are the main differences between this plugin and the SEO reloaded one?

 

does this plugin have much more features for SEO?

 

Also, since i already have a slightly modified Bootstrap store, should i install everything manually by editing the required files?

 

my websites seo is pathetic so i definitely need to get it onto google.

 

Also, which other SEO plugins for Bootstrap edge /gold can you recommend?

 

What other SEO things should i be doing to improve my site?

 

thanks

Edited by vampirehunter

Share this post


Link to post
Share on other sites

I am not intimately familiar with Reloaded so I can't really answer your question. I can say that it was based on this addon but only some of the features were duplicated. So there are things in this one that help with SEO that are not in that one. However, neither of the addons is the final solution to improving the SEO of your site. Both, along with any other SEO addon, are just tools used to improve your SEO. The SEO of your site will certainly improve with the addition of an SEO addon but that should just be the starting point. If you don't use the tools correctly, having them won't help as much. For example, many sites use the domain name for the main keyword for their site. That is probably the worst choice in most cases.  

 

I list the SEO-related addons I recommend in my profile. The main idea with SEO is to optimize the pages so they focus on particular keywords. And then guide the search engines to those pages so that they get listed more quickly. All of the addons will work with the BS version but some may not have released BS versions and might require editing.

Share this post


Link to post
Share on other sites

I am not intimately familiar with Reloaded so I can't really answer your question. I can say that it was based on this addon but only some of the features were duplicated. So there are things in this one that help with SEO that are not in that one. However, neither of the addons is the final solution to improving the SEO of your site. Both, along with any other SEO addon, are just tools used to improve your SEO. The SEO of your site will certainly improve with the addition of an SEO addon but that should just be the starting point. If you don't use the tools correctly, having them won't help as much. For example, many sites use the domain name for the main keyword for their site. That is probably the worst choice in most cases.  

 

I list the SEO-related addons I recommend in my profile. The main idea with SEO is to optimize the pages so they focus on particular keywords. And then guide the search engines to those pages so that they get listed more quickly. All of the addons will work with the BS version but some may not have released BS versions and might require editing.

hi thanks Jack

 

So for my site which is tshirts and garments, i should focus on the keywords on each product.

Share this post


Link to post
Share on other sites

@@vampirehunter

 

As Jack says, the addons only supply the tools, you have to learn how to use those tools.

 

There is so much information on SEO on the internet. The hard bit is choosing something that is current and good. Best of luck with that.

 

All you can really do is to read lots about SEO and try to apply that to your site. Sort all the onsite stuff first then start working on the off site side of it. Make sure what you do is current and keeps google happy.


REMEMBER BACKUP, BACKUP AND BACKUP

Before installing the official version of oscommerce first look at a responsive version here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

@@vampirehunter Besides what Steve suggest, I would say you should also use your google accounts. Their webmaster tools, along with Bings, can point out things about your shop you may need to know. And google adwords has a tool to help choose keywords (it is free). In the keywords section of this addon, you can see what your customers are searching for. If there are a lot of searches for "blue widget" and you sell widgets but don't use blue as part of the keyword, then you may need to change that. 

Share this post


Link to post
Share on other sites

@@vampirehunter Besides what Steve suggest, I would say you should also use your google accounts. Their webmaster tools, along with Bings, can point out things about your shop you may need to know. And google adwords has a tool to help choose keywords (it is free). In the keywords section of this addon, you can see what your customers are searching for. If there are a lot of searches for "blue widget" and you sell widgets but don't use blue as part of the keyword, then you may need to change that. 

 

hi thanks

 

will try that.

Share this post


Link to post
Share on other sites

Hi Jack,

 

I have a little problem.

When I type an title and description in manufacturer, then it will show up nothing in the source code only the Header Tags Manufacturer Description will show up and the manufacturers name. The title, description, url, title alt will not show up in the source code.

I only see it in my admin pageundef the manufacterer.

The stranges thing is that afer my url (.nl) 2 slashes standing (//) and then the manufacturer name.

Edited by dinopacha

Share this post


Link to post
Share on other sites

The usual reason the manufacturers does show is because the manufacturers check box is not checked in Page Control for index.php.

 

If you see two slashes after the domain name your configure file is not setup correctly. See this thread for fixing that.

Share this post


Link to post
Share on other sites

 hello jack, sorry to bother you but I'm not sure if I should ask my question here or into a new topic.
I would like to put a description under specials, as in the categories is possible.
but now I see that I only can fill in the title, description and keywords, but no text like (text visible on the webpage).

I know that it is possible in categories with seo headertags. but not for the index, specials sitemap etc...

 
I have looked in includes / languages / english / specials.php.
Now I see: define('HEADING_TITLE', 'Specials!');
can I put an <h2> after it like beneath:
define('HEADING_TITLE', 'specials! <br> <h2> here will come the text for specials</h2>');
 
or do I have to make an new define? :wacko:

Share this post


Link to post
Share on other sites

@Jack_mcs

 

Hi Jack, I already know how to do it

I have put the following in specials.php

<div class="contentText">
    <?php echo TEXT_MAIN; ?>
  </div>

and the following in includes/languages/english/specials.php

define('HEADING_TITLE', '<h2> here will come the text for specials</h2>'); :)

Share this post


Link to post
Share on other sites

@Jack_mcs

 

I have found a fault in specials (keywords)

After the last word appears a comma with a space between the last word and the comma.

<meta name="Keywords" content="Specials, free, another ," /

in includes/header_tags.php line 201 you have the following

 $sortOrder['keywords'][10] = $the_specials;;

when I take the [10]  and make it [0] then the comma is gonna.

can I do that or will I damage other files with this.

Share this post


Link to post
Share on other sites

@@dinopacha You can remove that whole line along with the following. Code was removed in that section to prevent the keywords tag from being stuffed with too many words not on the page. The code you found and that below is part of that and it no longer serves a purpose. Thanks for mentioning it.

       // Build a list of ALL specials product names to put in keywords
       $new = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added DESC ");
       $row = 0;
       $the_specials='';

Share this post


Link to post
Share on other sites

@Jack_mcs

 

I have a problem with files that not create in headertags page control.

 error.gif Page not added - file name is invalid - wishlist.php exclude

 

I have a total of 7 different files that are not added.

Please can you tell me how to add those files in headertags because I understand that not completely.

Share this post


Link to post
Share on other sites

When a file is listed like that it means the file isn't setup correctly, as seen by the code in Header Tags, to work in Page Control. There are three conditions for a page to work:

 

1 - The main file, in the root, has to have the Header Tags SEO <head> code. If this is a 2.3 shop then that will automatically be done.

 

2 - An entry in the includes/filenames.php file has to exist for that file. I don't recall for sure but I think it has to match. So if the filename is wishlist and you add an entry for it with the name of FILENAME_MY_WISHLIST, it won't work. It has to be FILENAMES_WISHLIST.

 

3  - A file of the same name needs to be in the languages/english/ or any language,  directory. It can be an empty file but must exist.

Share this post


Link to post
Share on other sites

@@Jack_mcs

 

I'm running 2.3.4 bootstrap

In pagecontrol wishlist.php gives the next error.

Page not added - file name is invalid - wishlist.php exclude

 

When I look at the dropdown it will show up.

When I click in the dropdow on wishlist and type the title, description and keywords it will not showing up on the webpage code.

 

For your numbers above.

1. I have bootstrap

2. It is FILENAME_WISHLIST

3. It is also FILNAME_WISHLIST

 

What else can be the problem Jack????

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×