Jump to content
Chemo

[Contribution] Ultimate SEO URLs - by Chemo

Recommended Posts

They removed the + and EVERYTHING after that (ALL the rewrites). They said there was an error with that code causing the 500 error

 

 

What is the differnece between having the + and not having it?

Share this post


Link to post
Share on other sites

new problem:

 

did install using the latest package and then tried chemo's last contribution before being banned. both had same result.

 

when i head to www.somesite.com i am greeted with:

Error!

Unable to determine page link!

 

 

so i revert back to my original includes/html_output.html and the error disappears.

but now my urls are not rewritten.

 

but...

if i manually type a rewritten url into my browser it works fine.

 

 

so the problem lies within html_output.php and i cannot figure out why.

 

 

fyi: i am on godaddy hosting. most likely they disabled something that didn't need to be disabled, but this is the most popular seo contrib on here, so i doubt i'm the first on godaddy trying to use this.

 

 

- default seo from stock oscommerce is ALREADY disabled.

Share this post


Link to post
Share on other sites

I have been speaking to my host and it appears that the htaccess protected Admin folder was causing errors with the rewrite commands. Is there a way to prevent the Admin folder from using the SEO facility/rewrite commands?

Share this post


Link to post
Share on other sites

the admin folder shouldn't be using the rewrites unless you placed the htaccess rules in the /admin folder's .htaccess

 

or does your host use the inherit option for all rules?

 

 

onto my question in the most recent post:

when i head to www.somesite.com i am greeted with:

Error!

Unable to determine page link!

this is a host-specific problem. they don't play well with the +FollowSym or whatever command, and it seems to break the contrib if this line is removed from htaccess.

 

anyone on godaddy's server probably can't use this. but if anyone has figured out a workaround, i'd love to hear it!

 

 

it's a shame bobby can't post here anymore, to make an add-on for this contrib to be compatible with strict hosts :(

Share this post


Link to post
Share on other sites
Why was he banned?

i don't know for sure because i wasn't exactly an active member here when the drama occured, but it seems like a bunch of project/forum-related politics.

 

he has his side of the story available on his blog.

Share this post


Link to post
Share on other sites

Up and running but...........

 

I understand that my URL in the top of the screen should be changing with each product/page I display. Right?

 

Well it shows the name of the site but doesn't change when I change pages on my site. What needs to be done to make this happen?

Share this post


Link to post
Share on other sites
Up and running but...........

 

I understand that my URL in the top of the screen should be changing with each product/page I display. Right?

 

Well it shows the name of the site but doesn't change when I change pages on my site. What needs to be done to make this happen?

 

Hi,

 

I do not believe the heading should be changing. It should just display your company name unless you have installed one of the Dynamic Meta Tag contribs (I use cDynamic Meta Tags).

 

Cheers,

Chris

Share this post


Link to post
Share on other sites

Hi all

 

I have asked this before but so far not found any tips/answers - so has anyone solved this issue?

 

How does Ultimate treat links to products that have gone out of stock?

 

On my install v2 it just shows a blank page!

 

What I want is the system to show a message on the lines of "sorry - but this product is currently unavailable" when someone clicks on an old search engine link for a product that is "Out off stock" and not live on site.

 

I tried searching but did not come across any posting with a similar issue - if I have missed the solution then please point me to it.

 

I have also played around with the settings in the SEO Urls config for "Enable automatic redirects" is set to False. Setting it to TRUE also does not help. This setting I belive is sort of unrelated as my guess is it deals mainly with product name changes.

 

Are there any settings that would help me achieve my end result?

 

Any tips?

Share this post


Link to post
Share on other sites
Hi all

 

I have asked this before but so far not found any tips/answers - so has anyone solved this issue?

 

How does Ultimate treat links to products that have gone out of stock?

 

On my install v2 it just shows a blank page!

 

What I want is the system to show a message on the lines of "sorry - but this product is currently unavailable" when someone clicks on an old search engine link for a product that is "Out off stock" and not live on site.

 

I tried searching but did not come across any posting with a similar issue - if I have missed the solution then please point me to it.

 

I have also played around with the settings in the SEO Urls config for "Enable automatic redirects" is set to False. Setting it to TRUE also does not help. This setting I belive is sort of unrelated as my guess is it deals mainly with product name changes.

 

Are there any settings that would help me achieve my end result?

 

Any tips?

 

Hi,

 

If I understand you correctly, then the problem you are expericing has nothing to do with Ultimate SEO URL's at all. This contrib simply changes the way the URLs look, and that is it. It shouldn't matter whether the product is in stock or not. If you have your configuration set to not display products that aren't in stock, then you need to change that. Otherwise, if a product is deleted when it is not in stock, then you need to try another contrib that will sort your problem out (maybe something like "product doesn't exist but..." - cant remember if that is its exact name or not, and I have never used it so I dont know what it is like).

 

So sorry, but if your URLs are looking SEO'd, then this contrib is working fine to my understanding.

 

Regards,

Chris

Share this post


Link to post
Share on other sites

Hey guys,

 

I read through many of the pages but must have missed it somewhere between the lines.

 

How do I change the number of keywords this contribution produces. I want to have more than 2 keywords in the meta tag if that is possible.

 

Thanks

Edited by Xtreme_Stunts7

Share this post


Link to post
Share on other sites
Hey guys,

 

I read through many of the pages but must have missed it somewhere between the lines.

 

How do I change the number of keywords this contribution produces. I want to have more than 2 keywords in the meta tag if that is possible.

 

Thanks

 

Hey,

Is this what you are talking about:

Configuration -> SEO URLs -> Filter Short Words

 

Cheers,

Chris

Share this post


Link to post
Share on other sites

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in /xxxxxxxxxx/htdocs/includes/functions/html_output.php on line 16

 

That's the error I'm getting on this website - www.ElectricQuarter.com whewn I have it in place, right now I have my un-altered html_output.php in place and it seems to be working fine. Here's my html_output.php code that I'm having a problem with:

<?php

/*

$Id: html_output.php,v 1.56 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

////

// Ultimate SEO URLs v2.1

// The HTML href link wrapper function

function 'NONSSL', $add_session_id = true, $search_engine_safe = true) {

global $seo_urls;

tep_href_link($page = '', $parameters = '', $connection = if ( !is_object($seo_urls) ){

if ( !class_exists('SEO_URL') ){

include_once(DIR_WS_CLASSES . 'seo.class.php');

}

global $languages_id;

$seo_urls = new SEO_URL($languages_id);

}

return $seo_urls->href_link($page, $parameters, $connection, $add_session_id);

}

 

 

 

////

// The HTML image wrapper function

// "On the Fly" Auto Thumbnailer using GD Library, servercaching and browsercaching

// Scales product images dynamically, resulting in smaller file sizes, and keeps

// proper image ratio. Used in conjunction with product_thumb.php t/n generator.

function tep_image($src, $alt = '', $width = '', $height = '', $params = '') {

 

// Set default image variable and code

$image = '<img src="' . $src . '"';

 

// Don't calculate if the image is set to a "%" width

if (strstr($width,'%') == false || strstr($height,'%') == false) {

 

Theres much more after that, but I can't imagine the problem is down there. Help appreciated!


Feedback on our new OSC Online store greatly appreciated in any thread!

Share this post


Link to post
Share on other sites

Hi,

 

Can anyone please help.

 

I have followed the exact instructions give to install ultimate seo and whenever i upload the amended .htaccess file my site always returns a server internal 500 error???

 

I am on a shared server and my hosting company has told me that i need to upload a php.ini file to enable the mod-rewrite function.

 

Does the mod-rewrite function just allow you to use .htaccess files in the first place???

 

If so then this should already be active as a .htaccess file is being used already in the main /catalog/ folder (this is the one we amend in the installation instructions)?

 

I am at a loss now and cannot get this contrib working.

 

Any help would be greatly appreciated.

 

Many Thanks

d4

Share this post


Link to post
Share on other sites

Okay,

 

I've solved my problem and here's what I did to resolve all Internal Server 500 Errors when clicking on any link on your site with this mod installed.

 

My site is not in the root it's /catalog/ just for reference:

 

The .htaccess file in the /catalog/ directory I left alone and did not add the amendments as suggested in the installation instructions.

 

At root level (in the public_html directory) I created a new .htaccess file with the following:

 

RewriteEngine On
RewriteBase /catalog/

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}

 

Other than that I followed all other instructions as laid out.

 

The .htaccess fille seems to be a common ground fault for a number of users and I hope this can rectify a few of your issues like it did mine.

 

Many Thanks

D4

Share this post


Link to post
Share on other sites

This contrib does not seem to work with SSL pages. Is this expected?

 

Instead of giving the nice looking URL it gives the oscCid=45574623542353576blah blah blah.

 

 

Any ideas?

Share this post


Link to post
Share on other sites

I have the same problem & I'm sure this is hurting my SEO ranking rather than helping.

 

When a product page is first viewed I get an OsCID# appended. Any views after that are OK, but since the search engne spiders are mainly picking up on first views they are recording the results based on the OsCID in the URL.

 

I've tried everything I know & YES I have RTFM but I can't stop this from happening. It's the same on another site, on a totally different server, also running the same version of OsC & the same version of Ultmate SEO URLs.

 

I have to say although like the basic idea if I can't get a resolution I'll probably have to de-instal it & go back to the origional or try another SEO URL mod.

 

 

Mikey.

 

This contrib does not seem to work with SSL pages. Is this expected?

 

Instead of giving the nice looking URL it gives the oscCid=45574623542353576blah blah blah.

Any ideas?

Share this post


Link to post
Share on other sites
I have the same problem & I'm sure this is hurting my SEO ranking rather than helping.

 

When a product page is first viewed I get an OsCID# appended. Any views after that are OK, but since the search engne spiders are mainly picking up on first views they are recording the results based on the OsCID in the URL.

 

I've tried everything I know & YES I have RTFM but I can't stop this from happening. It's the same on another site, on a totally different server, also running the same version of OsC & the same version of Ultmate SEO URLs.

 

I have to say although like the basic idea if I can't get a resolution I'll probably have to de-instal it & go back to the origional or try another SEO URL mod.

Mikey.

 

Hi,

 

I do not believe the OsCID problem has anything to do with this mod. In all OSC shops, by default they should display the OsCID in the URL for the first page or so, and then it will drop off.

However, this should not happen for Search Engines.

 

In your admin area, go to Configuration -> Sessions, and make sure "Prevent Spider Sessions" is set to true. That is all that you should need to do.

 

Also, ensure that you have Chemo's official SEO URL's 2.1d that I uploaded in the contrib area (that is the version I use and heaps of people use without any problem, and Google is going well with my site).

 

Also, try using Chemo's Search Engine Simulator to see whether it picks up the OsCID's (use the Google one on there): http://mesoimpact.com/spider/

 

Hope this helps.

 

Cheers,

Chris

Share this post


Link to post
Share on other sites

Hi Chis,

 

Thanks, I managed to miss that somehow. Chemo's page returned OsCIDs for Google searches & chaging the setting cleared it up.... Now I can only wait to see if it made any difference. I think it will as I could see my site visitors & plainly SE crawlers were picking up a mixture of URLs with & without OsCIDs. Undoubtedly this was causing confusion at the SEs.

 

Man, you think you know enough, then you learn something new that pulls the rug from under your feet.

 

Thnaks, from

 

Mikey by.

 

Hi,

 

I do not believe the OsCID problem has anything to do with this mod. In all OSC shops, by default they should display the OsCID in the URL for the first page or so, and then it will drop off.

However, this should not happen for Search Engines.

 

In your admin area, go to Configuration -> Sessions, and make sure "Prevent Spider Sessions" is set to true. That is all that you should need to do.

 

Also, ensure that you have Chemo's official SEO URL's 2.1d that I uploaded in the contrib area (that is the version I use and heaps of people use without any problem, and Google is going well with my site).

 

Also, try using Chemo's Search Engine Simulator to see whether it picks up the OsCID's (use the Google one on there): http://mesoimpact.com/spider/

 

Hope this helps.

 

Cheers,

Chris

Share this post


Link to post
Share on other sites

Hello Chemo,

 

Need a little help... installed Ultimate SEO and it did function great but realized that for some reason my clients are not assigned IDs so I tried to uninstall, step by step but at the end still have SEO in Admin ?nel with the following error:

 

Warning: call_user_func(tep_reset_cache_data_seo_urls): First argument is expected to be a valid callback in /home/.sites/4/site141/web/bobbee/includes/functions/general.php on line 1200

 

Line 1200 looks like this:

 

return call_user_func($function, $parameter);

} elseif (PHP_VERSION < 4) {

 

And still have the client problem.

 

Where did I go wrong?

Share this post


Link to post
Share on other sites

Hello there!

 

At first I'd like say sorry for my english - I'm from Poland.

 

 

And of course I have a problem that looks like this:

 

I have installed Ultimate SEO URLs by Chemo in my shop with two languages - Polish and German.

Everything is OK, but i'd like to have adress looks like

 

http://www.address.eu/de/conditions.php

and

http://www.address.eu/pl/conditions.php

 

instead of

 

http://www.address.eu/conditions.php

 

because spiders when reading conditions.php don't know which language to assign to this site.

Address looks exactly the same in both languages.

 

If there is no other way, address could also look like this:

 

http://www.address.eu/conditions.php?language=de (or 'pl')

 

But the very best solution will be when address of every site in specified language will look like catalogue ( /pl/ or /de/ ) on server.

 

 

My shop is almost complete to work and start selling so i dont even think of splitting languages to different catalogues, different shops or antyhing like that.

 

I think that it is possible to do this using mod_rewrite and Ultimate SEO Contribution, so here is my question:

 

Could You please show me how to do this?

 

 

Best regards and thanks for Your help!

Adam

 

P.s. I've used 'search' a lot and still haven't found it.

Share this post


Link to post
Share on other sites
Hello there!

 

At first I'd like say sorry for my english - I'm from Poland.

And of course I have a problem that looks like this:

 

I have installed Ultimate SEO URLs by Chemo in my shop with two languages - Polish and German.

Everything is OK, but i'd like to have adress looks like

 

http://www.address.eu/de/conditions.php

and

http://www.address.eu/pl/conditions.php

 

instead of

 

http://www.address.eu/conditions.php

 

because spiders when reading conditions.php don't know which language to assign to this site.

Address looks exactly the same in both languages.

 

If there is no other way, address could also look like this:

 

http://www.address.eu/conditions.php?language=de (or 'pl')

 

But the very best solution will be when address of every site in specified language will look like catalogue ( /pl/ or /de/ ) on server.

My shop is almost complete to work and start selling so i dont even think of splitting languages to different catalogues, different shops or antyhing like that.

 

I think that it is possible to do this using mod_rewrite and Ultimate SEO Contribution, so here is my question:

 

Could You please show me how to do this?

Best regards and thanks for Your help!

Adam

 

P.s. I've used 'search' a lot and still haven't found it.

 

But the very best solution will be when address of every site in specified language will look like catalogue ( /pl/ or /de/ ) on server.

 

very best solution for what exactly?


Treasurer MFC

Share this post


Link to post
Share on other sites

erm probably a dumb ass question but which is the complete and latest package cos all I see are old packages... about 5 revised versions and lots of bug fixes...

 

is there no one complete and up to date package? :-"

Share this post


Link to post
Share on other sites

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/xxxx/xxxxx/xxxxx/includes/functions/cache.php on line 60

 

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/xxxxx/xxxxx/xxxxx/includes/functions/cache.php on line 60

 

I havnt touched cache.php This is since i installed seo urls...

 

Help site is all screwy and catogorys have vanished and been replaced by that horrible error code

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

×