Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Ultimate SEO URLs - by Chemo


Guest

Recommended Posts

I installed the changes made by Emmett and so far no errors however when I update the URLs I don't see the changes. I have reset SEO URLs cache. What is the correct way to enter the URL in the "Products SEO URL" & "Categories SEO URL" boxes? Should it be "product-description.html" or "product-description" or should I be entering the entire URL, i.e http://www.mydomain.. etc.

Thanks for your help!

 

You enter them in the same format as the product name or category name i.e. words and spaces.

Your online success is Paramount.

Link to comment
Share on other sites

  • Replies 1.9k
  • Created
  • Last Reply

Top Posters In This Topic

You enter them in the same format as the product name or category name i.e. words and spaces.

 

Thanks Emmett, I tried it but still doesn't work, i.e. I typed in "product description". Will have a look at the code in categories.php again. I have other contributions installed and encountered some minor errors so I edited some of the code (only the commas and semi-colons) to fit in with my code. I may have installed some bits in the wrong places.

 

One thing though, I could not find "p.products_min_level" in my code. In your instructions, you have this :

---

After:

 

$product_query = tep_db_query("select p.products_min_level, p.products_id, pd.language_id, pd.products_name,

 

Add:

 

pd.products_seo_url,

---

 

I couldn't find "p.products_min_level" so I looked for the code without that bit and entered "pd.products_seo_url" after "pd.products_name," . Not sure if not having "p.products_min_level" in the first place has anything to do with my installation not working.

 

Thanks.

Link to comment
Share on other sites

Hi,

 

thanks for a great conribution. I was wondering how can I add manufacturer name and model to the product info. I already fetch that data when not using seo urls; the sql queries are ready, but how can I make the urls change from

 

name-p-1642.html?cPath=33_49

 

to

 

manufacturer-name-model-p-1642.html?cPath=33_49

 

Thanks in advance.

 

-Jani

Link to comment
Share on other sites

Thanks Emmett, I tried it but still doesn't work, i.e. I typed in "product description". Will have a look at the code in categories.php again. I have other contributions installed and encountered some minor errors so I edited some of the code (only the commas and semi-colons) to fit in with my code. I may have installed some bits in the wrong places.

 

One thing though, I could not find "p.products_min_level" in my code. In your instructions, you have this :

---

After:

 

$product_query = tep_db_query("select p.products_min_level, p.products_id, pd.language_id, pd.products_name,

 

Add:

 

pd.products_seo_url,

---

 

I couldn't find "p.products_min_level" so I looked for the code without that bit and entered "pd.products_seo_url" after "pd.products_name," . Not sure if not having "p.products_min_level" in the first place has anything to do with my installation not working.

 

Thanks.

 

The amendment you made above should be fine - If p.products_min_level was an issue then you should get an sql error.

Your online success is Paramount.

Link to comment
Share on other sites

Thanks Emmett, I tried it but still doesn't work, i.e. I typed in "product description". Will have a look at the code in categories.php again. I have other contributions installed and encountered some minor errors so I edited some of the code (only the commas and semi-colons) to fit in with my code. I may have installed some bits in the wrong places.

 

One thing though, I could not find "p.products_min_level" in my code. In your instructions, you have this :

---

After:

 

$product_query = tep_db_query("select p.products_min_level, p.products_id, pd.language_id, pd.products_name,

 

Add:

 

pd.products_seo_url,

---

 

I couldn't find "p.products_min_level" so I looked for the code without that bit and entered "pd.products_seo_url" after "pd.products_name," . Not sure if not having "p.products_min_level" in the first place has anything to do with my installation not working.

 

Thanks.

 

The amendment you made above should be fine - If p.products_min_level was an issue then you should get an sql error.

Your online success is Paramount.

Link to comment
Share on other sites

Why doesn't Ultimate SEO URLs work on a Windows localhost? I have Ultimate SEO URLs v2.2 working on my live site (as far as I can tell). I've searched and found other posts from people with similar problems, but no real solutions.

 

I have mod_rewrite enabled and the rewrite directory is the correct one. I am getting a 404 error with the contribution enabled. When the contribution is disabled I get 'cannot find server'. Please help.

Link to comment
Share on other sites

Hi folks,

 

When I look at the google crawl stats for my site, google reports that the following URLs are cuasing redirect errors.

 

Does anyone know what is causing this and how it might be resolved?

 

Thanks in advance,

 

Jody

 

http://www.vintagevibrations.com/catalog/i...6068dfd212c7d0c 58d4836&sort=2d&pa ge=1&products_id=100

http://www.vintagevibrations.com/catalog/i...6068dfd212c7d0c 58d4836&sort=3a&pa ge=1&products_id=100

http://www.vintagevibrations.com/catalog/i...mp;amp;amp;page =1&sort=2d&osCsid=568b77e9976068df d212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...mp;amp;amp;page =1&sort=3a&osCsid=568b77e9976068df d212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...dfd212c7d0c58d4 836&sort=2d&page=1&products_id =100

http://www.vintagevibrations.com/catalog/i...dfd212c7d0c58d4 836&sort=3a&page=1&products_id =100

http://www.vintagevibrations.com/catalog/i...age=1&sort= 2d&osCsid=568b77e9976068dfd212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...age=1&sort= 3a&osCsid=568b77e9976068dfd212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...d0c58d4836& sort=2d&page=1&products_id=100

http://www.vintagevibrations.com/catalog/i...d0c58d4836& sort=3a&page=1&products_id=100

http://www.vintagevibrations.com/catalog/i...212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...212c7d0c58d4836

Edited by di11on
Link to comment
Share on other sites

how do you have it so product fields (meta tags, title pages, page descriptions) over-write the defaults set? i forget and i can't find the reference in the install instructions.

Link to comment
Share on other sites

Just tried installing this, seems to work ok until I start adding things into the cart, If I am logged in as a user it logs me out, if I hit buy now it says my cart is empty.

 

 

Anyone out there got any ideas.

 

Thanks

Link to comment
Share on other sites

Just tried installing this, seems to work ok until I start adding things into the cart, If I am logged in as a user it logs me out, if I hit buy now it says my cart is empty.

Anyone out there got any ideas.

 

Thanks

 

Hi,

 

I dont know how many times I have to say this, but use Chemo's official 2.1d version of the contrib that I put in the contrib area. That one works well.

 

Regards,

Chris

Link to comment
Share on other sites

Hi,

 

I dont know how many times I have to say this, but use Chemo's official 2.1d version of the contrib that I put in the contrib area. That one works well.

 

Regards,

Chris

 

Hi Chris,

 

I have the same problem with the buy now button. I installed the version 2.1 you mentioned to install.

 

I realized that is has something to do with the URL and the redirect from to shopping_cart. The parameters are normally separated by a &. After the redirection to shopping_cart the & is replaced by &

 

If you use a form than it works correct - like in the product_info page. But in the product list, where you have a normal link, the & is changed to &

 

I don't know where I can change this behavior. Perhaps you have a solution.

 

On my local server does it work. I have the problem only on my provider.

 

If you wanna look, here is the URL of the shop (it is a test shop) http://www.portal.bioversand.net/catalog/ .

 

Thx in advance for helping. I look since some days for a solution of this problem in the different forums for oscommerce.

 

Ciao Anathema

Link to comment
Share on other sites

Hi all,

 

 

I have the solution :D for my problem.

 

I just changed the Parameter 'Output W3C valid URLs (parameter string)?' in the admin panel for SEO to 'false'. Then the link is no changed with the function: 'htmlspecialchars(utf8_encode($link));' in the function href_link of the seo class.

 

Hope this help you too.

 

By the way I think that the problem is only if you dont use cookies.

 

Ciao anathema

Link to comment
Share on other sites

I've looked through about twenty pages of this thread and didn't see the answer, so I apoligize if this is a repeat.

 

I installed the latest version of this contribution and had no errors at all. Unfortunately all of my urls now resemble this:

 

http://www.bdrgear.com/-p-151.html

 

or

 

http://www.bdrgear.com/-c-30.html

 

I followed the instructions in the install.html file and everything went fine. The only thing I did not do was follow the instructions laid out in the additional_install_instructions.txt file included in the contrib. I didn't see any note or explanation telling me when I might need to use the additional instructions.

 

So, basically, what have I done wrong?

Link to comment
Share on other sites

I installed the "additional instructions" and now I'm seeing some decent URLs. Still some work to do, but it's working in general, which is good.

 

Any optimization suggestions would be helpful...

Link to comment
Share on other sites

I have just installed U SEO urls

and now seem to have a problem which I don't understand

the main page loads OK

http://www.hiroboy.com/catalog/

But when clicking on any product, I get the following browser error

The page isn't redirecting properly

 

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

 

* This problem can sometimes be caused by disabling or refusing to accept

cookies.

 

I have removed it for now till I can find out what is happening.

 

Thanks in advance

Link to comment
Share on other sites

Hi people,

 

just spent wayyyy too long on a stupid oversight when installing this contribution, so thought I better post it here to save others the trouble.

 

If you are running Apache on your development machine (I'm running Apache 2) and you're getting 404 errors when trying to click the links in the categories box, you may have overlooked this:

 

In httpd.conf change the following line in the directory root section (eg. the section starting with <Directory "D:/Apache Group/Apache2/htdocs">):

 

AllowOverride None

 

to

 

AllowOverride All

 

yyyyyeah........ >_<

oh, a little more obvious - you might want to uncomment the line:

LoadModule rewrite_module modules/mod_rewrite.so

 

Yep Thats the very same thing i am getting,

 

Only thing is not running on Apache..

 

Anyone got any suggestions? I would be very gratefully,

 

Thank,

 

Lee

 

and also move the following line to the top of the Load Module section (apparently php4_module loading can disturb mod_rewrite):

LoadModule php4_module "d:/php/php4apache2.dll"

 

have fun :thumbsup:

Link to comment
Share on other sites

Well ive been through this whole topic and i noticed other people have had the same problem, But every fix i try just dont work, i still get the 404 error.

Looks like i wont be able to use this contribution for now, if anyone has any other ideas please let me know.

 

Thanks.

Link to comment
Share on other sites

Well ive been through this whole topic and i noticed other people have had the same problem, But every fix i try just dont work, i still get the 404 error.

Looks like i wont be able to use this contribution for now, if anyone has any other ideas please let me know.

 

Thanks.

 

Hi,

 

What version of the contrib are you using? Have you tried using Chemo's official 2.1d that I put in the contrib area?

 

Regards,

Chris

Link to comment
Share on other sites

hello Chris,

 

Yes that is the version i used as i had read your earlier comments :)

To be honest I really dont know what is wrong, I think everything went 404 on me when i dragged the folders across via ftp. But im also not sure how to edit the htaccess file. with what program?

I really want this but i've had to install my whole site again.. I found some difficulty with the instructions.. I am very new to this.

 

 

Any help would be appreciated and thank you for your time,

 

Lee

Link to comment
Share on other sites

Hi folks,

 

When I look at the google crawl stats for my site, google reports that the following URLs are cuasing redirect errors.

 

Does anyone know what is causing this and how it might be resolved?

 

Thanks in advance,

 

Jody

 

http://www.vintagevibrations.com/catalog/i...6068dfd212c7d0c 58d4836&amp;amp;amp;sort=2d&amp;amp;amp;pa ge=1&amp;products_id=100

http://www.vintagevibrations.com/catalog/i...6068dfd212c7d0c 58d4836&amp;amp;amp;sort=3a&amp;amp;amp;pa ge=1&amp;products_id=100

http://www.vintagevibrations.com/catalog/i...mp;amp;amp;page =1&amp;amp;sort=2d&osCsid=568b77e9976068df d212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...mp;amp;amp;page =1&amp;amp;sort=3a&osCsid=568b77e9976068df d212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...dfd212c7d0c58d4 836&amp;sort=2d&amp;page=1&products_id =100

http://www.vintagevibrations.com/catalog/i...dfd212c7d0c58d4 836&amp;sort=3a&amp;page=1&products_id =100

http://www.vintagevibrations.com/catalog/i...age=1&sort= 2d&osCsid=568b77e9976068dfd212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...age=1&sort= 3a&osCsid=568b77e9976068dfd212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...d0c58d4836& sort=2d&page=1&products_id=100

http://www.vintagevibrations.com/catalog/i...d0c58d4836& sort=3a&page=1&products_id=100

http://www.vintagevibrations.com/catalog/i...212c7d0c58d4836

http://www.vintagevibrations.com/catalog/i...212c7d0c58d4836

 

Anyone?

Link to comment
Share on other sites

have installed the ultiate SEO URL and have made the necessary amends using the additonal instalation file included in the download.

 

the product urls are working fine

 

http://www.office2me.co.uk/connect-gloss-p...k20-p-8832.html

 

but the category urls are still showing

 

http://www.office2me.co.uk/-c-80.html

 

is there something else i need to do in order to get the categories working correclyl or is this how they should appear

 

any help would be appreciated

 

thanks

Link to comment
Share on other sites

  • 2 weeks later...
I've looked through about twenty pages of this thread and didn't see the answer, so I apoligize if this is a repeat.

 

I installed the latest version of this contribution and had no errors at all. Unfortunately all of my urls now resemble this:

 

http://www.bdrgear.com/-p-151.html

 

or

 

http://www.bdrgear.com/-c-30.html

 

I followed the instructions in the install.html file and everything went fine. The only thing I did not do was follow the instructions laid out in the additional_install_instructions.txt file included in the contrib. I didn't see any note or explanation telling me when I might need to use the additional instructions.

 

So, basically, what have I done wrong?

 

 

I had this problem as well and I think it was related to either the .htaccess file (make sure that is correct and publish to the server) or that your database doesn't have the new fields added to the 2 tables.

Run this SQL script from your phpMyAdmin interface.

 

 

ALTER TABLE `categories_description` ADD `categories_seo_url` VARCHAR( 100 ) NOT NULL;
ALTER TABLE `products_description` ADD `products_seo_url` VARCHAR( 100 ) NOT NULL;

 

Then check it again.

Link to comment
Share on other sites

I had this problem as well and I think it was related to either the .htaccess file (make sure that is correct and publish to the server) or that your database doesn't have the new fields added to the 2 tables.

Run this SQL script from your phpMyAdmin interface.

ALTER TABLE `categories_description` ADD `categories_seo_url` VARCHAR( 100 ) NOT NULL;
ALTER TABLE `products_description` ADD `products_seo_url` VARCHAR( 100 ) NOT NULL;

 

Then check it again.

 

NOTE: DO NOT run those 2 SQL commands if you are using Chemo's official 2.1d that I put in the contrib area. These commands are for a newer version, and from what people have said, all the newer versions seem to have big problems.

 

Regards,

Chris

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