Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo


Recommended Posts

Hello at all,

 

I have installed ultimate seo url v2.6 and it in principle work well. But the column products_seo_url of the table products_description and the column categories_seo_url of the table categories_description, are clean, without any date.

 

Is it ok?

 

Thanks at all.

Link to comment
Share on other sites

Guys - I found that if you get the errors but the URLs look okay (they are re-writing in a SEO friendly manner) when you hold your cursor over any category or product link, it may well be your server does not have mod rewrite enabled, or, as is the case with my site, which is/was a zeus server required different syntax for the rewrites (the .htaccess coding does not work)

 

I reloaded my entire site/database on a different server and bingo! - worked!!

 

Try testing if the mod re-write is working by googling something like "test if mod rewrite is enabled" and following the instructions given from some of the results.

 

I just wanted to post a common problem I see people have here and what I did which fixed it.

 

My problem was similar to what the person above mentioned: After installing this contribution (v. 2.6) on my osCommerce site version 2.2 RC2, I would see that my urls were now structured properly for seo (i.e. http://www.jenenichelle.com/necklaces-c-21.html) but I would get an Error 500 message returned from the server.

 

The problem was in my .htaccess file.

 

My .htaccess fix: Knowing that mod rewrite was enabled on my server I figured out that my fix was to comment out the Options +FollowSymLinks

 

So the first part of my .htaccess file in regards to this contribution looks like this:

 

#Options +FollowSymLinks
RewriteEngine On
RewriteBase /

 

Now it works just fine. It all depends on how your server is set up.

Link to comment
Share on other sites

Hi there,

 

I installed the gg9 template. I then tried putting the latest version of ultimate seo. I get a blank screen. Tried this 3 times and it will not work.

 

Followed each step and no dice.

 

STEP #1 - Upload the class and update files

 

Is there a step I am missing for the update files part? I add them to the folder and then what?

 

any help would be appreciated.

 

Thanks

Link to comment
Share on other sites

There all,

 

I am having problems with SEO URL. I did installed the contribution a while ago, I have rechecked all changes and updated with FWR's last update on 7th Nov, but I cannot find where my problem is.

 

My trouble is with the shopping cart button. When I add a product to the shopping cart(and SSL is enabled), the products are added to http://www.mydomain.com/shopping_cart.php instead of https://www.mydomain.com/shopping_cart. Then when when I want to checkout I lose all the information and shopping_cart gets empty.

 

I have realised that when I put the mouse on the shopping cart button of a product the urls is:

 

http://www.mydomain.com/product-c-number.h...amp;sort=number

 

With other buttons I don't have this problem.

 

I have spent several days looking around the forum, trying different sort of changes, rechecking everything, but I cannot go through the answer.

 

I would be very pleased if someone know how to solve this.

 

Thank you very much,

 

Gemma

Link to comment
Share on other sites

There all,

 

I am having problems with SEO URL. I did installed the contribution a while ago, I have rechecked all changes and updated with FWR's last update on 7th Nov, but I cannot find where my problem is.

 

My trouble is with the shopping cart button. When I add a product to the shopping cart(and SSL is enabled), the products are added to http://www.mydomain.com/shopping_cart.php instead of https://www.mydomain.com/shopping_cart. Then when when I want to checkout I lose all the information and shopping_cart gets empty.

 

I have realised that when I put the mouse on the shopping cart button of a product the urls is:

 

http://www.mydomain.com/product-c-number.h...amp;sort=number

 

With other buttons I don't have this problem.

 

I have spent several days looking around the forum, trying different sort of changes, rechecking everything, but I cannot go through the answer.

 

I would be very pleased if someone know how to solve this.

 

Thank you very much,

 

Gemma

 

It is not an SEO URL problem it is a problem with your configuration.

 

Firstly shopping cart should not be SSL.

Secondly if the session loses state between nonssl and ssl that points to configuration issues.

Thirdly if you are seeing & in the url following redirects you need to add the mod that is well documented in this thread about using str_replace() in tep_redirect()

Link to comment
Share on other sites

Hi,

 

great contribution, but one question though: Is it possible to remove the "P" and "C" with numbers from the URL, or does this has to do with possible duplicates?

 

Thanks!

 

Jacco

 

No it is not possible .. those tags are fundamental to the system.

Edited by FWR Media
Link to comment
Share on other sites

It is not an SEO URL problem it is a problem with your configuration.

 

Firstly shopping cart should not be SSL.

Secondly if the session loses state between nonssl and ssl that points to configuration issues.

Thirdly if you are seeing & in the url following redirects you need to add the mod that is well documented in this thread about using str_replace() in tep_redirect()

 

Ok Robert,

 

So if the url of shopping cart is correct: http://www.mydomain.com/shopping_cart.....

And I have add the mod about using str_replace

Then there should be a configuration problem, as you say. I have checked and rechecked and it seems all right. This is my includes/configure.php:

 

define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.mydomain.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true ); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '########');

define('DB_SERVER_PASSWORD', '######');

define('DB_DATABASE', '#######');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

 

I can't see the error. Is there any in my configure? Where should I go on looking for?

 

Thank you in advance,

 

Gemma

Edited by Gemmeta
Link to comment
Share on other sites

I am about ready to give up.

 

I have tried for a 4th time and all I get is a blank screen after following every step.

 

I am at a loss as what to do.

 

the site is located at www.jayhawkoptics.com/catalog

 

before I edit anything this url brings upp the gg9 template just fine. After perfroming each step, I get a blank screen.

 

Any suggestions?

 

Thanks

Link to comment
Share on other sites

I am trying to "translate" some special characters (V.2.1d)

# Enter special character conversions

* This setting allows a store owner to enter a list of special character conversions. Please note the format below.

* FORMAT: char=>conv, char2=>conv2, char3=>conv3

I tried to use the format as given, but I am unfamiliar with programming. I want to achieve ö=oe

So I tried

ö=>oe,

charö=>convoe,

öchar=>oeconv,

 

none of these combinations work. What am I doing wrong?

 

BTW Thank you for this contribution! It works great and the install ist easy!

Edited by NewBudda

Open Source Newsletter: PhPList

Open Source Questionnaire: Lime Survey

Link to comment
Share on other sites

I have installed this contrib but when i go on to a catagory or subcatagory it comes up with

 

http://www.mysite.co.uk/-c-26.html

 

when it should be

 

http://www.mysite.co.uk/kids-c-26.html

 

which works as a page but for seo it doesnt show the kids text, also is it possible for subcatagories to have it like this

 

http://www.mysite.co.uk/kids/babys-c-26_61.html

Link to comment
Share on other sites

I just installed Ultimate SEO and now I get the following errors when trying to go to my site.

 

Any ideas?

 

Warning: require_once(includes/classes/preventDuplicates.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/b/d/f/bdfdesign/html/catalog/includes/application_top.php on line 530

 

Fatal error: require_once() [function.require]: Failed opening required 'includes/classes/preventDuplicates.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/b/d/f/bdfdesign/html/catalog/includes/application_top.php on line 530

Link to comment
Share on other sites

Found the error with the above but now I get this.

 

Warning: require(includes/classes/logger.php) [function.require]: failed to open stream: No such file or directory in /home/content/b/d/f/bdfdesign/html/catalog/includes/application_top.php on line 76

 

Fatal error: require() [function.require]: Failed opening required 'includes/classes/logger.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/b/d/f/bdfdesign/html/catalog/includes/application_top.php on line 76

 

Looked and I don't have a "logger.php" in my includes/classes directory. Why would it be missing?

Link to comment
Share on other sites

I just updated from 2.2e to 2.6. as of right now, I am receiving an error when I try to access the admin area.

 

Warning: include_once(includes/classes/seo.class.php) [function.include-once]: failed to open stream: No such file or directory in /xxxx/xxxxx/xxxxx/admin/includes/functions/html_output.php on line 21

 

Warning: include_once() [function.include]: Failed opening 'includes/classes/seo.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxx/xxxxxx/xxxxx/admin/includes/functions/html_output.php on line 21

 

Fatal error: Class 'SEO_URL' not found in /xxxx/xxxxx/xxxxxx/admin/includes/functions/html_output.php on line 24

 

I really never had this explained to me to waht this is all saying. But, looking functions/htmloutput.php, it refers to seo.class.php.

 

I do not have such a file as that in admin -> includes -> classes ->

 

Even looking in the contribution download there is such seo.class.php file in that directory. But there is one in catalog/includes/classes/

 

So where am I going wrong here.

 

Thank you.

Link to comment
Share on other sites

I just updated from 2.2e to 2.6. as of right now, I am receiving an error when I try to access the admin area.

 

Warning: include_once(includes/classes/seo.class.php) [function.include-once]: failed to open stream: No such file or directory in /xxxx/xxxxx/xxxxx/admin/includes/functions/html_output.php on line 21

 

Warning: include_once() [function.include]: Failed opening 'includes/classes/seo.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /xxxx/xxxxxx/xxxxx/admin/includes/functions/html_output.php on line 21

 

Fatal error: Class 'SEO_URL' not found in /xxxx/xxxxx/xxxxxx/admin/includes/functions/html_output.php on line 24

 

I really never had this explained to me to waht this is all saying. But, looking functions/htmloutput.php, it refers to seo.class.php.

 

I do not have such a file as that in admin -> includes -> classes ->

 

Even looking in the contribution download there is such seo.class.php file in that directory. But there is one in catalog/includes/classes/

 

So where am I going wrong here.

 

Thank you.

 

Maybe I should state, all was working fine before the update.

Link to comment
Share on other sites

I have recently installed Version 2.1d. all went fine.

Now however I realise that my headet tags (contribution HeaderTags_V_2.6.3_1) do not work anymore. Only the default header Tags are shown. This is a big problem! Has anyone else had this?

What can I do to get individual header Tags for my products back?

Open Source Newsletter: PhPList

Open Source Questionnaire: Lime Survey

Link to comment
Share on other sites

Google started indexing my pages, but comes up with double title tags:

 

‎/-c-4.html?sort=2a&page=2

‎‎/-c-4.html?sort=2a&page=3‎‎

/-c-4.html?sort=2a&page=6

‎‎/-c-6.html?sort=2a&page=5‎

 

All categories (4 and 6) do NOT exist, but why does google index them?

 

Is it possible to redirect to a certain page if the category does not exist???

Edited by 9827579
Link to comment
Share on other sites

I have recently installed Version 2.1d. all went fine.

Now however I realise that my headet tags (contribution HeaderTags_V_2.6.3_1) do not work anymore. Only the default header Tags are shown. This is a big problem! Has anyone else had this?

What can I do to get individual header Tags for my products back?

The headers fr my information pages are OK. Its just for the products that the individual Tags are switched to the default ones. Dont get me wrong the individuals Tag are still shown the the Header Tags contrbution, just not on the rendered page.

I am thinking of rerolling the shop, but that would undo 2 weeks worth of small changes, including many that I dont remember! Please help!

Open Source Newsletter: PhPList

Open Source Questionnaire: Lime Survey

Link to comment
Share on other sites

I installed this mod and everything works fine but I have some questions.

 

I have multilanguage website and my main language is english.

 

Basically google access only english language version? how to make so it'll access also other language versions?

 

Thanks in advance

Link to comment
Share on other sites

I installed this mod and everything works fine but I have some questions.

 

I have multilanguage website and my main language is english.

 

Basically google access only english language version? how to make so it'll access also other language versions?

 

Thanks in advance

 

You can't .. oscommerce will show to a bot as the default language .. to change language you have to have a session and bots shouldn't be attributed sessions.

Link to comment
Share on other sites

Hi all!

 

Great contribution, but now I have problem with Google index.

With categories:

http://mysite.com/great-product-c-48_52.html - right

http://mysite.com/great-product-c-0_48_52.html - wrong

 

Can anybody help me?

Thanks in advance,

Eugene

 

Well that is very odd . .which version are you using?

Link to comment
Share on other sites

Found the error with the above but now I get this.

 

Warning: require(includes/classes/logger.php) [function.require]: failed to open stream: No such file or directory in /home/content/b/d/f/bdfdesign/html/catalog/includes/application_top.php on line 76

 

Fatal error: require() [function.require]: Failed opening required 'includes/classes/logger.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/b/d/f/bdfdesign/html/catalog/includes/application_top.php on line 76

 

Looked and I don't have a "logger.php" in my includes/classes directory. Why would it be missing?

I was getting the same thing after working on it forever I undid everything and reinstalled it works now... go figure

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...