Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Recommended Posts

To mfg

 

Windows doesn't recognize .htaccess, so you need to have Linux to use/test Ultimate SEO, I guess.

 

To chooch

 

Which version of this contribution and what is the Operating System you are using?

 

 

Dinesh

Link to comment
Share on other sites

To mfg

 

Windows doesn't recognize .htaccess, so you need to have Linux to use/test Ultimate SEO, I guess.

 

 

Dinesh

 

 

thanks dinesh,

 

now i have installed 2.0b,

it works on my winXP-machine in mode "cname-2

on my live-side with "rewrite"

 

only problem i have found is the "buy-now" button

in each category the buy now buttun do not work

only in the product details i can put items into the cart

i have also tested the redirects

 

always the same problem

 

 

any idea ?

 

thanks

Link to comment
Share on other sites

I am trying to install this contrib but I am confused on the last step, the .htaccess file.

 

I made one in HTMLEditor and uploaded it to /catalog spot, but upon testing, got a error saying page doesnt exist. Tried all sorts of things and nothing would work.

 

So I am wondering if I uploaded it correctly or used the right bit of code.

 

Part of my problem I think is I am not sure how to write out that one bit of code that needs changing ... I use Netfirms and to get to catalog, I go through 4 directories ... do I write it out like this

 

- RewriteBase /www/storename/nfo???/catalog

- RewriteBase /www/storename/nfo???/catalog/.htacess

 

OR just as

 

-RewriteBase /catalog/

 

I uploaded into catalog. I also used the first bit of code; for directories? I believe.

 

Any help appreciate - oh this is a clean install, first contrib/change done to it.

Link to comment
Share on other sites

To mfg

 

Windows doesn't recognize .htaccess, so you need to have Linux to use/test Ultimate SEO, I guess.

 

To chooch

 

Which version of this contribution and what is the Operating System you are using?

Dinesh

it's hosted on some linux... SEO version 2c

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

I installed this contrib. The catalog/index.php page displayed correctly but none of the links worked. With Firefox all I got was blank pages and with IE just got file not found.

 

Help

Link to comment
Share on other sites

Lucky me - I installed this fab contribution and it worked fine straight away!

I have one issue - I have Extra Pages installed, and it doesn't change those, which does not bother me too much, but I have another issue and I'm not sure if it connected with this contribution.

I previously had safe url's turned on, but when I turn them on now so that the pages have no ? in them, my product information redirect won't work. i.e. on the product page, there is a link to extra information pages and that redirect no longer works.

Anyone else had this problem and fixed it? I want the ? out of my extra pages as they actually had some page rank!

Thanks.

 

The link that refuses to work is this one -

www...mysite.com/redirect.php?action=url&goto=www.mysite.com%2Fpage.html

Edited by Miop
Link to comment
Share on other sites

Thanks Chemo for this contribution!!

 

I seem to be running into a problem that I haven't seen yet on this list. Everything seems to working great except when I am checking out. Here is what happens:

 

1) I add something to my cart.

2) I checkout.

3) I enter credit card information.

4) I click on Confirm Order.

 

When I click on Confirm Order the order goes through but ... no order appears in the back-end. Also you normally would see products you ordered listed with checkboxes next to them... there are no products and no checkboxes. The email that gets sent on a successful order has an Order Number of 0.

 

I'm running using:

 

php 4.4.0

apache 2.0.54

Ultimate_SEO_URLs_v2.1c

Authorize.net (the stock OS Commerce Module)

 

Do you have any suggestions?

 

I would greatly appreciate any help!

Edited by mightykip
Link to comment
Share on other sites

Thanks Chemo for this contribution!!

 

I seem to be running into a problem that I haven't seen yet on this list. Everything seems to working great except when I am checking out. Here is what happens:

 

1) I add something to my cart.

2) I checkout.

3) I enter credit card information.

4) I click on Confirm Order.

 

When I click on Confirm Order the order goes through but ... no order appears in the back-end. Also you normally would see products you ordered listed with checkboxes next to them... there are no products and no checkboxes. The email that gets sent on a successful order has an Order Number of 0.

 

I'm running using:

 

php 4.4.0

apache 2.0.54

Ultimate_SEO_URLs_v2.1c

Authorize.net (the stock OS Commerce Module)

 

Do you have any suggestions?

 

I would greatly appreciate any help!

 

Had the same problem - had to completely uninstall this thing.

Have installed this on different sites and there is always one problem or another.

 

When I check out Chemo's profile his status on these forums is set to band.

Link to comment
Share on other sites

Actually, all I had to do was turn off persistent database connections and now everything is working perfectly!

 

I guess I should have looked a bit more before my post... I found the answer about 20 minutes after.

 

Thanks Chemo!!

 

p.s. You may want to update your install docs and make it very clear that persistent connections needs to be off! :)

 

Had the same problem - had to completely uninstall this thing.

Have installed this on different sites and there is always one problem or another.

 

When I check out Chemo's profile his status on these forums is set to band.

Link to comment
Share on other sites

Hi all seems to ne working but in admin/seo i get this above the settings

 

Warning: call_user_func(tep_reset_cache_data_seo_urls): First argument is expected to be a valid callback in /home/kwffzpw/public_html/trade/admin/includes/functions/general.php on line 1195

 

Was a fix ever found for this?

 

I just installed SEO URLs v2.1 and am getting the same exact problem.

 

All seems to work fine except for this warning.

Link to comment
Share on other sites

Was a fix ever found for this?

 

I just installed SEO URLs v2.1 and am getting the same exact problem.

 

All seems to work fine except for this warning.

 

I think I had this problem - turned out I had forgotten to change the admin/includes/functions/general.php

page as per the installation instructions.

Link to comment
Share on other sites

Hi

I installed Ultimate SEO URLs version v2.1c

and now where I am in admin pannel I see at the top:

 

// Function to reset SEO URLs database cache entries // Ultimate SEO URLs v2.1 function tep_reset_cache_data_seo_urls($action){ switch ($action){ case 'reset': tep_db_query("DELETE FROM cache WHERE cache_name LIKE '%seo_urls%'"); tep_db_query("UPDATE configuration SET configuration_value='false' WHERE configuration_key='SEO_URLS_CACHE_RESET'"); break; default: break; } # The return value is used to set the value upon viewing # It's NOT returining a false to indicate failure!! return 'false'; }

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /domain/admin/includes/functions/general.php:1318) in /domain/admin/includes/functions/sessions.php on line 67

 

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /domain/admin/includes/functions/general.php:1318) in /domain/admin/includes/functions/sessions.php on line 67

 

And in admin control panel under Configuration => SEO URLs:

Warning: call_user_func(tep_reset_cache_data_seo_urls): First argument is expected to be a valid callback in /domain/admin/includes/functions/general.php on line 1195

 

Please help me!

Link to comment
Share on other sites

HI al

 

I have instsall this contribution in my PC and it gives me this error:

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

I am not quite sure why, but in instructions it says:

Linux based server capable of mod_rewrite

 

how do I check that the php is mod_rewrite and it is enable?

 

What can it be the error? I think I did everything correct.

 

thanks

 

Salvo

Link to comment
Share on other sites

i am happy with the installation and this brilliant script....

 

...... however........

 

when i de-activate the SEO URL's from the admin and click the items, i get the pages diverted back to catalog/product_info.php BUT none of the pages open?

 

can anyone point out what needs to be done please?

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

Hi All,

I installed this contribution. It works very well for me. But when I use a spider software to analyze my site I get URLs like this one "http://pickwireless.com/?osCsid=f72b24dd423ace87ebf1c39ddfdfd332". Could anyone tell me why and what should I do?

 

Thank you very much.

 

Karl

 

 

i am happy with the installation and this brilliant script....

 

...... however........

 

when i de-activate the SEO URL's from the admin and click the items, i get the pages diverted back to catalog/product_info.php BUT none of the pages open?

 

can anyone point out what needs to be done please?

Link to comment
Share on other sites

HI all again,

I have just noticed that I get the error below because what I put in the htaccess file.

 

this is what I have:

 

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $

#

# This is used with Apache WebServers

#

# For this to work, you must include the parameter 'Options' to

# the AllowOverride configuration

#

# Example:

#

# <Directory "/usr/local/apache/htdocs">

# AllowOverride Options

# </Directory>

#

# 'All' with also work. (This configuration is in the

# apache/conf/httpd.conf file)

 

# The following makes adjustments to the SSL protocol for Internet

# Explorer browsers

DirectoryIndex default.php index.php index.html index.htm

<IfModule mod_setenvif.c>

<IfDefine SSL>

SetEnvIf User-Agent ".*MSIE.*" \

nokeepalive ssl-unclean-shutdown \

downgrade-1.0 force-response-1.0

</IfDefine>

</IfModule>

 

# Fix certain PHP values

# (commented out by default to prevent errors occuring on certain

# servers)

 

<IfModule mod_php4.c>

php_value session.use_trans_sid 0

php_value register_globals 1

</IfModule>

 

 

Options +FollowSymLinks

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-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

 

 

Can anyone help?

 

Thanks

 

PS: without the highlighted RewriteRule, I don't get the error but the extention are the same as before.

 

 

HI al

 

I have instsall this contribution in my PC and it gives me this error:

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

I am not quite sure why, but in instructions it says:

Linux based server capable of mod_rewrite

 

how do I check that the php is mod_rewrite and it is enable?

 

What can it be the error? I think I did everything correct.

 

thanks

 

Salvo

Link to comment
Share on other sites

I am trying to install this contrib but I am confused on the last step, the .htaccess file.

 

I made one in HTMLEditor and uploaded it to /catalog spot, but upon testing, got a error saying page doesnt exist. Tried all sorts of things and nothing would work.

 

So I am wondering if I uploaded it correctly or used the right bit of code.

 

Part of my problem I think is I am not sure how to write out that one bit of code that needs changing ... I use Netfirms and to get to catalog, I go through 4 directories ... do I write it out like this

 

- RewriteBase /www/storename/nfo???/catalog

- RewriteBase /www/storename/nfo???/catalog/.htacess

 

OR just as

 

-RewriteBase /catalog/

 

I uploaded into catalog. I also used the first bit of code; for directories? I believe.

 

Any help appreciate - oh this is a clean install, first contrib/change done to it.

 

I got the exact same problem as mentioned above.

I got a .htaccess in my catalog/includes and in my catalog/admin. I also have a .htaccess outside the catalog directory.

But I could not find a response on the problem that bodytags has. So I thought that I post it again to show more people got the same problem.

 

If there is any body who had the same problem and fixed it please tell us how.

Any help appreciate - oh I have STS installed and jcssmenu.

 

People who got it running say it?s a great contribution and I like to become one of them.

 

Thanks

Indeho.

Edited by indeho
Link to comment
Share on other sites

We are finding that even when NOT using the function tep_href_link to construct an href the osCsid session key parameter is being appended to the link. Anyone any idea how that's occuring? We do have ultimate SEO urls installed.

Link to comment
Share on other sites

HI al

 

I have instsall this contribution in my PC and it gives me this error:

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

 

I am not quite sure why, but in instructions it says:

Linux based server capable of mod_rewrite

 

how do I check that the php is mod_rewrite and it is enable?

 

What can it be the error? I think I did everything correct.

 

thanks

 

Salvo

You need to contact your host and ask them to verify that mod_rewrite is enabled. The kind of error you are getting can be caused by not having mod_rewrite on or because of how the host handles the requests. You should ask them to look at your site and explain why it is failing. If they tell you they don't support such problems because it is an oscommerce shop, then you should look for a new host.

 

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

i am happy with the installation and this brilliant script....

 

...... however........

 

when i de-activate the SEO URL's from the admin and click the items, i get the pages diverted back to catalog/product_info.php BUT none of the pages open?

 

can anyone point out what needs to be done please?

please?

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

You need to contact your host and ask them to verify that mod_rewrite is enabled. The kind of error you are getting can be caused by not having mod_rewrite on or because of how the host handles the requests. You should ask them to look at your site and explain why it is failing. If they tell you they don't support such problems because it is an oscommerce shop, then you should look for a new host.

Jack

 

 

Hi Jack,

 

I am doing all of this on my computer (test site) before uploading. How can I check if I have the mod_rewrite enabled?

 

Thanks

 

My PC

Server Host: (192.168.0.10) Database Host: localhost (127.0.0.1)

Server OS: Database: MySQL 4.0.15-max-debug

Server Date: 10/18/2005 23:12:34 Datebase Date: 10/18/2005 23:12:33

Server Up Time:

 

HTTP Server: Apache/1.3.27 (Win32) PHP/4.3.3

PHP Version: 4.3.3 (Zend: 1.3.0)

Link to comment
Share on other sites

Hi,

 

I have the module installed and working great.

 

I want to avoid having the filtered pages with the ?s spidered, such as page 2,3, price sorts, etc.

 

I tried putting in code under the SEO URL stuff in htaccess, that would check if the user was a spider like googlebot or yahoo, and then would rewrite the dynamic url as the base url without the ?= extension part. however, i was worried that this would conflict with the seo url code above it, and none of my product pages would get indexed...

 

I then added this to my robots.txt file for googlebot, because it recognized wildcards

 

Dsallow: /*?

 

1. Will this conflict with the SEO URL rewrite code in htaccess? i assume it will not, because i believe the htaccess rewrites change the url immediately, and THEN the robots.txt is checkec, but im not sure.

 

2. Is there a better way to do this? Ideally, i do not want any spider to follow any dynamic content, OTHER THAN the pages that are rewritten into static pages from dynamic by this contribution.

 

Any help much appreciated!

Link to comment
Share on other sites

Hey all,

 

First off - thanks to Chemo for such a great contribution. Been using version 2.0b for a while now and it's great.

 

Why did Chemo get banned from these forums? Seems pretty poor... Any ideas??

 

I notice something that Chemo mentioned in his launch message, and wondered if anyone has tried it. I submit my store to Froogle using the EasyPopulate contrib. However, EP uses the old style URL's - not a major problem as they get diverted (303), but anyone know of a way to get EP to product the correct URL's in the first place?

 

Many Thanks,

Scott

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...