Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Recommended Posts

So as long as the SEO is turned off and the install files are deleted, we should be okay as a clean uninstall?

I haven't tried that but I would imagine so. If you undo the file edits from the install instructions, then turn it off in admin, I guess you would be ok. If you want to eliminate it entirely, just go one step further and delete the fields that are inserted in function SEO_URL_INSTALLER() in file seo.class.php. If you are comfortable in phpmyadmin it's really easy. Just back up first :)

 

David

Link to comment
Share on other sites

I'm having problems with the manufacturer's and can't find a fix anywhere.

 

If you go to my site:

 

http://www.clickcomputersstore.com

 

Click on one of the manufactuerer's. It shows the products for that mfg. fine. But, if you click on a product, it goes to a page saying product not found.

 

The URL of a product coming off the mfg. list is:

 

http://www.clickcomputersstore.com/gigabyt...facturers_id=13

 

It's putting the ?manufacturers_id=# which is what is causing it not work. Also, if any of the mfg. has a product in another category on the pulldown, that's just redirecting to the main page.

 

Please advise and thank you in advance for ANY of your help. It is MUCH appreciated.

Link to comment
Share on other sites

I'm having problems with the manufacturer's and can't find a fix anywhere.

 

If you go to my site:

 

http://www.clickcomputersstore.com

 

Click on one of the manufactuerer's. It shows the products for that mfg. fine. But, if you click on a product, it goes to a page saying product not found.

 

The URL of a product coming off the mfg. list is:

 

http://www.clickcomputersstore.com/gigabyt...facturers_id=13

 

It's putting the  ?manufacturers_id=# which is what is causing it not work. Also, if any of the mfg. has a product in another category on the pulldown, that's just redirecting to the main page.

 

Please advise and thank you in advance for ANY of your help. It is MUCH appreciated.

All seems to be working just fine on this end on your site.

Kunal

Link to comment
Share on other sites

Trying to get the contrib to work LOCALHOST.

 

I tried to search for this issue but couldn't find it. Sorry if it is already out there.

 

I am getting 404 Not Found errors (when clicking on a product) after installing the contrib LOCALHOST. Is this an .htaccess issue? Can you use .htaccess LOCALHOST?

 

Any help/advice would be most appreciated!!!

 

Regards,

Siddall

Link to comment
Share on other sites

Trying to get the contrib to work LOCALHOST.

 

I tried to search for this issue but couldn't find it.  Sorry if it is already out there.

 

I am getting 404 Not Found errors (when clicking on a product) after installing the contrib LOCALHOST.  Is this an .htaccess issue?  Can you use .htaccess LOCALHOST?

 

Any help/advice would be most appreciated!!!

 

Regards,

Siddall

Issue is related to .htaccess file.

Cant help regarding if it will work on local host or not.

I did read about this problem recently some one else faced on a local host.

try reading back the last 10 pages or so.

The answere is there you just have to look for it.

Good Luck.

Kunal

Link to comment
Share on other sites

Issue is related to .htaccess file.

Cant help regarding if it will work on local host or not.

I did read about this problem recently some one else faced on a local host.

try reading back the last 10 pages or so.

The answere is there you just have to look for it.

Good Luck.

Kunal

 

Found some posts regarding the error but no responses with a fix.

 

Regards,

Siddall

Link to comment
Share on other sites

Hi All

 

Firstly, congrats and thanks to Chemo for the great contribution.

 

I have installed the 2.1c version of Ultimate SEO urls on my localhost testing server.  Everything seems to work in terms of the code producing the correct urls but I'm getting the dreaded:

 

Not Found

 

The requested URL /.../catalog/test-c-25.html was not found on this server

 

I'm sure thats an .htaccess problem - I have this .htaccess file in my /catalog/ directory, can anyone help?

 

# $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

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

 

I've tried removing the standard code already added to the .htaccess file before the contriution code was added - but no luck yet

 

Thanks

Stuart

 

Stuart or anyone,

Did you ever get a response to your post that I have quoted? Or did you (or anyone) ever get this contrib to work LOCALHOST? If so, is there a trick or step that I have missed?

 

I too receive the following error when i click on a product or category:

 

The page cannot be found

 

HTTP 404 - File not found

 

Thanks in advance!!!

 

Regards,

Siddall

Link to comment
Share on other sites

Stuart or anyone,

?  Did you ever get a response to your post that I have quoted?? Or did you (or anyone) ever get this contrib to work LOCALHOST?? If so, is there a trick or step that I have missed??

 

?  I too receive the following error when i click on a product or category:

 

The page cannot be found

 

HTTP 404 - File not found

 

?  Thanks in advance!!!

 

Regards,

Siddall

 

If you use this contrib in a windows machine (your developer server is in a win machine) then put this at your httpd.conf to allow the use of .htaccess files:

AllowOverride All

Then restart the server and you have .htaccess in Win. Enjoy :D

Edited by Z3RatuL

There's a diference between living & BEING ALIVE!

Link to comment
Share on other sites

Try removing

Options +FollowSymLinks

from your .htaccess file as this was causing conflicts on my one as some hosts dont allow that.

Try this see if it works without this line.

 

Good Luck!

Kunal

 

Stuart or anyone,

  Did you ever get a response to your post that I have quoted?  Or did you (or anyone) ever get this contrib to work LOCALHOST?  If so, is there a trick or step that I have missed? 

 

  I too receive the following error when i click on a product or category:

 

The page cannot be found

 

HTTP 404 - File not found

 

  Thanks in advance!!!

 

Regards,

Siddall

Link to comment
Share on other sites

I have a set of categories that are the alphabet to sort our bulk herbs and the category for the letter P does not display the products. I get "no products found" when 12 products should have displayed. The problem only exists with the letter/category P. My short word filter is set to 1. The url looks like this

/5-pounds-p-c-28_38_55.html. Is there any way I can get these products to show up?

Thanks!

Millie

Link to comment
Share on other sites

Hi,

 

Every thing works great for me except that when i load the index page for the first time everything work great. But when i click on the index page link in the breaktrumbs, the links in the category becomes : http://www.MYSHOPdir_ws_http_catalog/FIX-TOOLS/ if i refresh the index page i have the save problem, if i log in my account also.

 

Any body to help me !!!! please !!!!!

 

Thks again for this great contrib.

 

Steve

Link to comment
Share on other sites

I have a set of categories that are the alphabet to sort our bulk herbs and the category for the letter P does not display the products. I get "no products found" when 12 products should have displayed. The problem only exists with the letter/category P. My short word filter is set to 1.  The url looks like this 

/5-pounds-p-c-28_38_55.html.  Is there any way I can get these products to show up?

Thanks!

Millie

 

The problem is the -p- in the url. is the product name 5-pounts-p? if it is, try changing it to _p or move the location of the p to the begining. anything to make it not be -p right at the end, that is what is messing it up.

Link to comment
Share on other sites

Hi there,

I have installed "Ultimate SEO URLs" and right now and any orders get loose. People can order but i get not messages, they have ordered!

 

Cant find nothing about this problem... :-(

 

Hope You understood my problem;-)

 

Greetings from Germany ;-)

Stevie

Link to comment
Share on other sites

Chemo-

 

I was looking at the following function:

 

function make_url($page, $string, $anchor_type, $id, $extension = '.html', &$separator){

// Right now there is but one rewrite method since cName was dropped

// In the future there will be additional methods here in the switch

switch ( $this->attributes['SEO_REWRITE_TYPE'] ){

case 'Rewrite':

return $string . $this->reg_anchors[$anchor_type] . $id . $extension;

break;

default:

break;

} # end switch

} # end function

 

Is there any reason why $page is needed for this function as no reference is made to it in the function.

Link to comment
Share on other sites

I just re-installed this Contribution, as it seemed to not function properly before. Now it functions, but when I use a search engine spider simulator to try and test my pages, it shows that there is no indexable text or links, which should not be true. I also had this problem before and was never able to find a solution, thus making this Contribution useless (at least for me anyway :) Below is a link to the simulator I am using. Anyone know what is wrong?

 

http://www.webconfs.com/search-engine-spider-simulator.php

 

-Aaron

Link to comment
Share on other sites

I just re-installed this Contribution, as it seemed to not function properly before. Now it functions, but  when I use a search engine spider simulator to try and test my pages, it shows that there is no indexable text or links, which should not be true. I also had this problem before and was never able to find a solution, thus making this Contribution useless (at least for me anyway :) Below is a link to the simulator I am using. Anyone know what is wrong?

 

http://www.webconfs.com/search-engine-spider-simulator.php

 

-Aaron

 

 

I just answered my own question, and I think this may have been what happened before. If you use the AutoLogon Contribution, it nullifies anything good that SEO URL's can do. As a matter fo fact, it will likely drastically hurt your Search Engine Campaign because it redirects users through the logoff page on their first visit to the site every time. Not good.

Link to comment
Share on other sites

Chemo and others - Thanks for this great contribution. I know it will be invaluable to me once I figure out what I have wrong.

Using Ultimate_SEO_URLs_v2.1c on a virtually clean osC (I don't know enough to modify much safely).

 

I must have a .htaccess problem. When adding the updated code to the .htaccess file in my catalog directory I get a 500 Internal Server Error (In Admin too).

 

www.TFCyberShop.com/catalog (live, but no-one knows about it yet.)

 

Server Information:

 

Server Host: tasmania.globat.com (203.22.204.75)      Database Host: localhost (127.0.0.1) 
Server OS: FreeBSD 4.9-RELEASE-p2      Database: MySQL 4.1.11 
Server Date: 07/12/2005 14:29:29      Datebase Date: 07/12/2005 14:29:29 
Server Up Time: 2:29PM up 11:48, 0 users, load averages: 1.80, 3.18, 4.80 

HTTP Server: Apache/1.3.29 (Unix) FrontPage/5.0.2.2623 
PHP Version: 4.3.6 (Zend: 1.3.0)

 

 

When accessing any part of the site (even homepage: catalog/index.php) I get:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

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

Apache Server at tfcybershop.com

 

 

My .htaccess file in /catalog/

 

# $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

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

 

When I take the rewrite rule info back out of .htaccess, the index page goes back to normal, but my categories and product pages will not open. (not to mention that as a product page is clicked on it stalls forever but counts a page view every few seconds).

The only other contributions I'm using are the USPS Methods, PayPal IPN, Easy Populate, and Current Auctions.

 

Thanks for anyone's input!

Cory K

Link to comment
Share on other sites

Okay, I am putting together my shop with the 2.1.c Version of Ultimate SEO URL, and I am facing the (known) empty cart problem, when I click on "buy now" button within the categories.

 

I searched this board for a solution... either noone has found one right now, or I just didn't find it (if so please point my nose directly on the solution :) ).

 

EDIT:

 

Btw: Other contributions I use are the Basic Template Structure (v1.5f), ADminAccessLevelAccounts v2.1, European VAT-Contri, Deutsche Post Versandmodul (German Post Shipping Module), German Bank transfer

Edited by LennyNero
Link to comment
Share on other sites

Currently the rewrite method changes a URL in the following way (general example):

 

yoursite.com/product_info.php?products_id=123

 

-TO-

 

yoursite.com/67345productname345786-p-123.html

 

 

Is there a way to make the product name all caps for those of us that basically sell by model numbers rather than names? Thus the new url, for example, would be:

 

yoursite.com/67345PRODUCTNAME345786-p-123.html

 

 

Thanks,

Aaron

Link to comment
Share on other sites

Okay, I am putting together my shop with the 2.1.c Version of Ultimate SEO URL, and I am facing the (known) empty cart problem, when I click on "buy now" button within the categories.

 

I searched this board for a solution... either noone has found one right now, or I just didn't find it (if so please point my nose directly on the solution :) ).

 

EDIT:

 

Btw: Other contributions I use are the Basic Template Structure (v1.5f), ADminAccessLevelAccounts v2.1, European VAT-Contri,  Deutsche Post Versandmodul (German Post Shipping Module), German Bank transfer

 

 

Sorry for quoting myself... additional infos:

 

I am running the shop on a WinXP Xampp installation for testing purpose, the live system will be a Linux-Server.

 

I already tried the config.php-modification for the Cookie-Server (setting a point in front of the servername, thus right now => '.localhost' instead of 'localhost')... that didn't help me.

Link to comment
Share on other sites

I've Just moved my site to a different domain, uploaded the database backup and my file backup. But getting the following errors which I think are cache related:-

Warning: fopen(/home/httpd/vhosts/new-domain.co.uk/httpdocs/config_cache/config_cache.php): failed to open stream: Permission denied in /home/httpd/vhosts/new-domain.co.uk/httpdocs/idadmin/includes/configuration_cache.php on line 38

Warning: fwrite(): supplied argument is not a valid stream resource in /home/httpd/vhosts/new-domain.co.uk/httpdocs/idadmin/includes/configuration_cache.php on line 39

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/new-domain.co.uk/httpdocs/idadmin/includes/configuration_cache.php on line 40

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/new-domain.co.uk/httpdocs/idadmin/includes/configuration_cache.php:38) in /home/httpd/vhosts/new-domain.co.uk/httpdocs/idadmin/includes/functions/general.php on line 30

 

Thats what I get when I try to change anything in admin.

 

On my web pages I can't display any images etc only some of the header code displays. I've deleted the files in my tmp my cache and my config_cache folders but still the same problems.

 

Anyone know how I can get round this?

Link to comment
Share on other sites

Hi there,

I have installed "Ultimate SEO URLs" and right now and any orders get loose. People can order but i get not messages, they have ordered!

 

Cant find nothing about this problem... :-(

 

Hope You understood my problem;-)

 

Greetings from Germany ;-)

Stevie

 

 

Steve,

 

check your configure.php in both catalog/includes/ folder and admin/includes folder. Make sure 'use persistent connections' (pconnect) is set to false.

Link to comment
Share on other sites

Yes, the original URLs will still work. In the most current version, I believe that they'll get 301 redirects (I seem to remember you can enable/disable this) to the new SEO-ized URL.

 

-jared

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