Jump to content
spidometrs

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

Recommended Posts

Could someone please help with this problem. I have the same problem and I don't know what's wrong.

 

When a fresh customer first arrives and the sid is present, if the first link a customer clicks on is products "details" link the resulting url is this:

 

http://www.mysite.com/save-decal-p-220?osCsid.html

instead of

http://www.mysite.com/save-decal-p-220.html

 

clicking on it results in an error 404 page not found.

 

It doesn't happen once the sid is gone.My .htaccess file is exactly what was provided with Ultimate Seo

 

Also I have noticed that if a customer is not logiged in and adds a product to the cart and proceeds to checkout, they are asked to login, but after they do they are redirected back to index.php instead of continuing through the check out process.

 

Thank You

 

Larry

 

Larry, have you figured out why this is happening? I have been trying to solve this problem with no success.

Anyone else have any ideas?

Share this post


Link to post
Share on other sites
Larry, have you figured out why this is happening? I have been trying to solve this problem with no success.

Anyone else have any ideas?

 

No Mike I was not able to solve the issue, and I received no help with this problem. There are 3 of us now that I know of with the exact same issue. I decided to completely remove the osCid and using cookies instead.

Share this post


Link to post
Share on other sites
No Mike I was not able to solve the issue, and I received no help with this problem. There are 3 of us now that I know of with the exact same issue. I decided to completely remove the osCid and using cookies instead.

 

 

I also noticed that when I hover my mouse over a product, the osCid displays correctly in the taskbar as: /product_info.php?products_id=4293?osCsid=ff186f300093be704da1e887854fe29da

 

but... when i click the link, i get: /SEO-product-name?osCsid.html

 

 

Larry, check your PMs. Can you tell me the steps you took for all cookie use and no OScid?

Share this post


Link to post
Share on other sites

Hello,

I am trying to set up this contribution and after doing everything from the manual, I get this error on the catalog view, while the admin side works ok.

 

Fatal error: Call to a member function add_current_page() on a non-object in /var/www/osc2/includes/application_top.php on line 320

 

Any quick clues on what is this about?

 

EDIT:

OK I found out that commenting out that call for the function on line 320 makes the catalog show again and it seems to be working, but what is that function and can I go on without it? :)

 

EDIT#2:

Eventually I found out some other things don't work too, like checking out the cart:

Fatal error: Call to a member function set_snapshot() on a non-object in /var/www/osc2/checkout_shipping.php on line 18

Edited by Jammerious

Share this post


Link to post
Share on other sites
I wanted my URLs to have a slash between category name and product name. For example:

www.domain.com/category/product-name-here-p-1.html

 

I tried playing with the regx settings in seo.class.php around line 1810 (in function strip) but had no luck. So then I tried the following - and it works for me and what I wanted. I'm sure there is a better way so feel free to post if you have one.

 

Thanks Brian, I had been wondering how to have a slash between category name and product name. I followed your instruction and I could change my URL

from

http://www.xxxxx.com/category-products-p-65.html

to

http://www.xxxxx.com/category/products-p-65.html

 

And I changed '.html' to slash. So currently my URL is

'http://www.xxxxx.com/category/products-p-65/'

 

But I'd like my URL like this finally;

http://www.xxxxx.com/category/products/

 

Does anyone know if it is possible not to show '-p-65' ?

 

Thanks

 

Aki

Share this post


Link to post
Share on other sites

Hi I'm using the Ultimate Seo url and Osc affiliate addons, they work perfectly excpet the banner section

Affiliates are able to build a link threw the build a link page but when you click on the link to direct them to the product

it takes them to:

(1)

catalog/product_info.php?catalog=product_info.php

 

Instead of this:

(2)

catalog/product_info.php?ref=1&products_id=468&affiliate_banner_id=1

 

If I turn off the SEO it takes them to (2) and shows the product and links the affiliate and product just fine but when the SEO is on

it will take you to (1) and shows "product not found".

 

 

So is there a way to add a "rewrite" in the .htaccess file that will transform the (2) to a working with ref ID product ID and affiliate banner ID link?

or a way to set the SEO to ignore rewrite when that string is called on, ignore it?

 

It's a great feature to get a bunch of little (sales) people to help make you money and so far my affiliates aren't able to use it and I really

don't want to get rid of SEO either seeing as how it helps with the item/page searches but I think the affiliates will bring in more cash.

 

I'm not able to figure out how to write the rewrite in the htaccess to do what I want it to do, no clue.

 

Thanks,

I'm sure we can get these 2 great contibutions to work smoothly together. You guys have done wonders on here already.

Angel

Share this post


Link to post
Share on other sites
Hi I'm using the Ultimate Seo url and Osc affiliate addons, they work perfectly excpet the banner section

Affiliates are able to build a link threw the build a link page but when you click on the link to direct them to the product

it takes them to:

(1)

 

 

Instead of this:

(2)

 

 

If I turn off the SEO it takes them to (2) and shows the product and links the affiliate and product just fine but when the SEO is on

it will take you to (1) and shows "product not found".

 

 

So is there a way to add a "rewrite" in the .htaccess file that will transform the (2) to a working with ref ID product ID and affiliate banner ID link?

or a way to set the SEO to ignore rewrite when that string is called on, ignore it?

 

It's a great feature to get a bunch of little (sales) people to help make you money and so far my affiliates aren't able to use it and I really

don't want to get rid of SEO either seeing as how it helps with the item/page searches but I think the affiliates will bring in more cash.

 

I'm not able to figure out how to write the rewrite in the htaccess to do what I want it to do, no clue.

 

Thanks,

I'm sure we can get these 2 great contibutions to work smoothly together. You guys have done wonders on here already.

Angel

 

I think this issue could be because of the way your server is presenting PATH_INFO try the last version of 2.1d UPDATED as uploaded by me .. just replace the seo.class.php and see if that helps. (reset the cache too).

Share this post


Link to post
Share on other sites
I think this issue could be because of the way your server is presenting PATH_INFO try the last version of 2.1d UPDATED as uploaded by me .. just replace the seo.class.php and see if that helps. (reset the cache too).

 

 

YES YES YES!!!!!!!!!! It works!!! Wow thank you so so so so so much! I think that is what I had and decided maybe I should look to see if their are any updates to the SEO and updated it and then it didn't work with the affiliates. I remember it used to work. Wow sorry but you made me so happy and now I can get some sleep and the stress off my back from trying to figure it out, had affiliates emailing me about it not working. And I"ve been having the worst last couple days with other stuff going on and school coming up soon Im so happy...ok enough

 

Can't say thank you enough

but thanks

Angel :lol:

Share this post


Link to post
Share on other sites

Hello to all !

 

I have a problem after installing ultimate SEO.

 

Look here : http://suplimente-online.ro/muscle-builder...amp;language=en

 

when i go down and press NEXT the browser gives me "page cannot be displayed"

 

it gives me this link : http://suplimente-online.romuscle-builders...=en&sort=3a

the corect one should be : http://suplimente-online.ro/muscle-builders-gainers-c-34_55.html?page=2&language=en&sort=3a

 

Tell me please from where to corect the problem !

 

Regards,

Sebastian

Share this post


Link to post
Share on other sites
When i enable the Ultimte SEO URL

i got this Error "

 

Fatal error: Call to undefined function mb_convert_case() in /public_html/includes/classes/seo.class.php on line 1810

Can anyone help me ?

 

the Mb String its just installed correctly!

 

Line 1810 looks like this : $anchor = ereg_replace($pattern, '', mb_convert_case($string, MB_CASE_LOWER, "utf-8"));

Can anyone help me please to get this working ?

 

Thanks in advance.....

 

[php_MBSTRING]

extension=php_mbstring.dll

 

Adding this to my php.ini fixed it for me

Share this post


Link to post
Share on other sites

Hello,

 

I am having some troubles with this module. I completed the installation but nothing has been added to the admin section.

 

Also when links are displayed they will show:

 

http://www.xxxx.com/catalog/index.php?cPath=28

 

but after you click on them you are taken to:

 

http://www.xxxx.com/catalog/software-c-28.html

 

shouldn't the source code href have the new style links aswell?

Edited by kLAcK

Share this post


Link to post
Share on other sites

Hi,

 

i am having trouble with redirect-errors.

 

Which Sitemap-Contribution works best with Ultimate SEO??

 

ImI

Share this post


Link to post
Share on other sites

Just did the install and went gteat. I do have a small issue. When I bring up my site for the first time and click one of the items. It says webpage cannot be found. if I back up and do it again all is good. They come up as 2 different addresses. Is there away to make it work the firs time?

Any info would be great.

 

Thanks


Custom PC's, Components, Liquid Cooling, Notebooks and More

Share this post


Link to post
Share on other sites

open your .htaccess file that is under catalog directory and follow as prompted below: i guess you missed out on this instruction.

 

If you don't have an .htaccess file in your catalog directory create one.

 

If your store is located in a DIRECTORY add this to the /*directory*/.htaccess file:

 

NOTE: you will have to edit the "directory" to match your directory name!

 

SO IF YOU HAVE YOUR STORE IN CATALOG DIRECTORY FIND

# Ultimate SEO URLs BEGIN

Options +FollowSymLinks

RewriteEngine On

RewriteBase /

RewriteCond %{QUERY_STRING} ^options\=(.*)$

 

AND REPLACE IT WITH

 

# Ultimate SEO URLs BEGIN

Options +FollowSymLinks

RewriteEngine On

RewriteBase /catalog/

RewriteCond %{QUERY_STRING} ^options\=(.*)$

 

IF YOUR STORE IS IN ROOT DIRECTORY FOLLOWING IS WHAT IT SHOULD HAVE/SHOW:

 

# Ultimate SEO URLs BEGIN

Options +FollowSymLinks

RewriteEngine On

RewriteBase /

RewriteCond %{QUERY_STRING} ^options\=(.*)$

 

 

HOPE THIS HELPS, I WAS HAVING SAME PROBLEM BUT GOT IT FIXED... GOOD LUCK.

 

---------------------------------------------------------------------------------------------------

Need Help.

 

Installed 2.7 and have got stuck.

 

Its not working I am getting 404 error when I try to click on one of the categories or products. No idea where to start looking. I have checked install guide so many times and can not see what I have done wrong.

Share this post


Link to post
Share on other sites

HEY NICE WORK ON YOUR WEB DESIGN.. THIS COULD BE USED FOR NEW 3.0V ALPHA IF YOU CAN SHARE IT ALL: WOULD BE OF GREAT CONTRIBUTION TO COMMUNITY.

 

I have installed SEO URLs and after a long hard battle with the server declarations finally got it to work. Well, almost. I have one last hurdle I am trying to solve. If anyone can help me with this I would really appreciate it.

 

It seems that whenever I click on any of the categories, the url rewrite works just fine for about a second and then the loaded page gets redirected back to the index.php. This happens if I click on any of the categories or the test product I uploaded. I took a look at the server error logs and there were a bunch of missing image files that were being called by the stylesheet. Since I am using a template I figured these files were not included because they were not necesary. So, I created a few 1px x 1px images with the corresponding missing names in the images folder in the hopes that the "missing" error was causing some kind or 404 or 301 re-direct to happen. This didn't work. Now I am stuck. There are no more errors in the logfile and I don't know where to turn next. Here is the link so you can see what I'm talking about. Any help or ideas would be much appreciated. The DNS is not pointed to this site yet as I want to get it up and running first.

 

http://67.192.61.51/catalog

 

Thanks in advance.

 

-C

 

p.s. I have Ultimate SEO URLs 2.7 by faaliyet updated on the March, 23rd 2009

Share this post


Link to post
Share on other sites

Hi,

 

i hadnt activated "prevent spider sessions" from the start, so now there are URLs in the google-index with the SessionID. I am looking now for a solution that works with ULTIMATE SEO.

 

I installed this code by Chemo in the application_top:

 

if ( $spider_flag == true ){

if ( eregi(tep_session_name(), $_SERVER['REQUEST_URI']) ){

$location = tep_href_link(basename($_SERVER['SCRIPT_NAME']), tep_get_all_get_params(array(tep_session_name())), 'NONSSL', false);

header("HTTP/1.0 301 Moved Permanently");

header("Location: $location"); // redirect...bye bye

}

}

 

But i think it doesnt work with the Contribution: Google gets the original URLs.

 

Is there a solution that works with UltimateSEO??

 

I got so far some sugestions:

 

- to change $add_session_id = true in the functions from true to false

 

- to modify the robots.txt like this: "Disallow: /*osCsid=*"

 

What do you think?

 

Greets

 

ImI

Edited by Imi78

Share this post


Link to post
Share on other sites

Hi

 

I have installed Ultimate Seo Urls v2.7 and it works fine with english language

 

but my store is running and on russian charset "windows-1251"

 

and when I switch to russian it doesn't work correctly

 

russian words are lost in URL with russian language

 

 

for exsample

 

 

http://mysite.com/new-test-one-c-30.html in En

 

http://mysite.com/--c-32.html when switch to Ru

 

is there way to decide this problem?

 

thanks

Share this post


Link to post
Share on other sites

Hi all,

 

I think there is a serious concern with the latest addition to this addon. There was an update on 9th April and also on 15th April by Pektsekye (http://addons.oscommerce.com/info/2823) which says about an autoinstaller of this program which I thought was a great idea. When installing the .php file and refresh my browser nothing happened. I deleted it and thought nothing mor eof it, but now my site has been hacked with a porn front page and my cpanel/ftp password has been changed. I checked his profile and he has never posted anything and only joined on 9th April, which leads me to believe this is a hacker. Can anybody help with taking this update off this site?

 

He has also done the same to the More Pics 6 addons tooon the 17th April: http://addons.oscommerce.com/info/1611

 

I hope this helps!

 

I don't know how to get my site back to normal either! :(

Share this post


Link to post
Share on other sites
[php_MBSTRING]

extension=php_mbstring.dll

 

Adding this to my php.ini fixed it for me

I am having the same problem, can't seem to find my php.ini but even if i make one -

1) which directory do i place it

2) how do i type in the above command you are mentioning!!

 

PLS HELP!

 

thanks

Share this post


Link to post
Share on other sites
I am having the same problem, can't seem to find my php.ini but even if i make one -

1) which directory do i place it

2) how do i type in the above command you are mentioning!!

 

PLS HELP!

 

thanks

 

OK i have SOLVED the problem, someone else here is facing this issue - what you have to do is UPGRADE your PHP to PHP5 - i was running at php4 hence it wasnt working! Now it's fine! :)

Share this post


Link to post
Share on other sites

Just did the install and went great. I do have a small issue. When I bring up my site for the first time and click one of the items. It says web page cannot be found. If I back up and do it again, all is good. When I put cursor over the Item when I first come to site is comes up without the rewrite. If I click it and then hit the back key its ok now. Is there away to make it work the first time?

Any info would be great.

 

 

Anyone have any Ideas???


Custom PC's, Components, Liquid Cooling, Notebooks and More

Share this post


Link to post
Share on other sites
Just did the install and went great. I do have a small issue. When I bring up my site for the first time and click one of the items. It says web page cannot be found. If I back up and do it again, all is good. When I put cursor over the Item when I first come to site is comes up without the rewrite. If I click it and then hit the back key its ok now. Is there away to make it work the first time?

Any info would be great.

 

 

Anyone have any Ideas???

 

Try clearing your Cache files from your browser and see if it works now

Also make sure you're running PHP5

Thirdly did you create/edit the correct .htaccess file - as there is one for having it in the root or if you have yours in the directory

 

Hope this helps! good luck!

Share this post


Link to post
Share on other sites

Has anyone had success running this on a windows installation of apache? I think that is might be my problem.

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

×