Jump to content
Sign in to follow this  
BlueYon

Seach Engine Friendly URL Support

Recommended Posts

I updated the manufacturer box as well because when i installed yours it gave an error.

 

You might want to copy the manufacturer box from this contribution to yours.

 

ok works now!!

Great!!

Share this post


Link to post
Share on other sites
BlueYon, which template system and/or other features do you use at itchi-tech.com?

 

 

Dear Jef,

 

About your problem you need to remove this line of code:

 

if ($host != $_SERVER['SERVER_NAME'] && $host != $_SERVER['SERVER_ADDR'])

return $param[1] . $param[2] . $param[3];

 

from url_rewite.php

 

 

I use BTS. I just hope some one out there can come up with a template system for the MS3.

Edited by BlueYon

Share this post


Link to post
Share on other sites
Dear Jef,

 

About your problem you need to remove this line of code:

 

      if ($host != $_SERVER['SERVER_NAME'] && $host != $_SERVER['SERVER_ADDR'])

        return $param[1] . $param[2] . $param[3];

 

from url_rewite.php

I use BTS. I just hope some one out there can come up with a template system for the MS3.

 

Thank you very much for your fast reply. It's working now :)

 

I really like this script, thanks for working on it and sharing with us. This "thank you" goes to all contributors as well.

Share this post


Link to post
Share on other sites

how to manage the accentuated characters (French language)? if there is an accent in the name of the product, the contribution does not function any more.

Share this post


Link to post
Share on other sites
how to manage the accentuated characters (French language)? if there is an accent in the name of the product, the contribution does not function any more.

 

have u seen these charaters in the url bar before?

 

if not then you need to find the charater code for charater and then add it to the strip functin at tyhe top of url_rewrite.php

Share this post


Link to post
Share on other sites
have u seen these charaters in the url bar before?

 

if not then you need to find the charater code for charater and then add it to the strip functin at tyhe top of url_rewrite.php

 

these characters are well in the url bar.

 

but a click on a URL containing these characters carries out systematically on the home page and not on the page of the product.

 

no problem for the products which are not accentuated characters in their name.

Share this post


Link to post
Share on other sites

Hey have this problem if i want to login or back in Nav to home.

 

Forbidden

You don't have permission to access /catalog/ on this server.

 

Can someone help me..

Please

Share this post


Link to post
Share on other sites

did anyone work out the problem with the image popups?

 

java script:popupWindow('http://amazon.dj/popup_image.php/pID/257')

 

works in product reviews but not product description.

 

i did scan the forum but couldnt find an answer. (but its late!)

Share this post


Link to post
Share on other sites

also getting this error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/amazon/public_html/includes/languages/english.php:687) in /home/amazon/public_html/includes/application_top.php on line 549

Share this post


Link to post
Share on other sites
also getting this error:

 

The language files shouldn't send headers, check that file if there are only "define" statements in there.... There should be nothing else in there...

Share this post


Link to post
Share on other sites

Hello,

 

I want to install both Search Engine Friendly v1.5 and BTS v1.4

 

both make huges modifications in catalog/index.php and it's a bit hell to try to merge it...

Does someone already did it and is willing to share his catalog/index.php ?

Share this post


Link to post
Share on other sites
Hello,

 

I want to install both Search Engine Friendly v1.5 and BTS v1.4

 

both make huges modifications in catalog/index.php and it's a bit hell to try to merge it...

Does someone already did it and is willing to share his catalog/index.php ?

 

 

Thats how I have mine set up. To be honest it Search Engine Friendly v1.5 and BTS v1.4 run better together.

 

I try to give instructions tomorrow as going to bed.

Share this post


Link to post
Share on other sites
Thats how I have mine set up. To be honest it Search Engine Friendly v1.5 and BTS v1.4 run better together.

 

I try to give instructions tomorrow as going to bed.

 

Thanks BlueYon, while you'r taking some rest I'll try to figure it out by myself too ;)

 

I saw that you helped someone else before on the same subject here, but the indications you gave to him seems not working on my catalog/index.php

 

Good night, looking forward to read you.

Share this post


Link to post
Share on other sites

What happens with the urls listed in search engines after I install this contribution?

Will they still work?

I have links like that now: index.php/cPath/28_47

 

Thanks

Share this post


Link to post
Share on other sites

I am using Version 1.5 of osCommerce Search Engine Otimized URLs.

 

I have removed from url_rewite.php

if ($host != $_SERVER['SERVER_NAME'] && $host != $_SERVER['SERVER_ADDR'])
return $param[1] . $param[2] . $param[3];

 

This semi worked at getting the urls not to display "ttp" instead of the url.

 

If I clear my cache the first page I go to still shows ttp, if I refresh again its fine, but every time I clear my cache, ttp turns up again....

 

Also did anyone work out the problem with the image popups?

 

java script:popupWindow('http://burrett.net/popup_image.php/pID/1')

 

works in product reviews but not product description.

Share this post


Link to post
Share on other sites
What happens with the urls listed in search engines after I install this contribution?

Will they still work?

I have links like that now: index.php/cPath/28_47

 

Thanks

 

Yes they will still work. :D

 

Also did anyone work out the problem with the image popups?

java script:popupWindow('http://burrett.net/popup_image.php/pID/1')

works in product reviews but not product description.

 

You need to copy and paste the javascript out op product_info.php and put it into index.php... i posted this solution a while back ago :thumbsup:

Edited by RikP

Share this post


Link to post
Share on other sites
I am using Version 1.5 of osCommerce Search Engine Otimized URLs.

 

I have removed from url_rewite.php

if ($host != $_SERVER['SERVER_NAME'] && $host != $_SERVER['SERVER_ADDR'])
return $param[1] . $param[2] . $param[3];

 

This semi worked at getting the urls not to display "ttp" instead of the url.

 

If I clear my cache the first page I go to still shows ttp, if I refresh again its fine, but every time I clear my cache, ttp turns up again....

 

Also did anyone work out the problem with the image popups?

 

java script:popupWindow('http://burrett.net/popup_image.php/pID/1')

 

works in product reviews but not product description.

 

 

This is somthing to do with your SERVER nto being the same as your domain name.

 

Like mine I recently changed my domain name from http://www.itchi-tech.com to http://www.itchi-tech.co.uk. The server still thinks it s http://www.itchi-tech.com.

 

If I still have that code in it thinks the link does not belong to the server so it skips it. Not sure what the problem is on yours.

 

I have added a few more bitys of code to my script.

 

such as

   if (strpos($param, '#')) 
    return $param;

 

on line 68

Share this post


Link to post
Share on other sites

Help!

 

I've just installed. It works for the categories but it doesn't go to product_info.php when I click on the product in product listing....it refreshes the page and shows the products side boxes but it still shows product listing.

Share this post


Link to post
Share on other sites

In "/admin/includes/functions/general.php" 
Before (around line 956):

 } 


Add this code (around line 956):

   @unlink(DIR_FS_CACHE . 'categories_array.cache'); 
   @unlink(DIR_FS_CACHE . 'manufacturers_array.cache'); 
   @unlink(DIR_FS_CACHE . 'products_array.cache'); 


Note: Should be the reset cache function!

I don't get this part of the instructions.

My general.php has 1258 lines and has been modified before.

So "} (around line 956)" is not very helpful.

In which function is that? Can you please post some more code around it?

 

Thanks!

Share this post


Link to post
Share on other sites

Sorry I managed to find the lines.

But still the redirect to product_info.php does not work!!

 

Please help.

Share this post


Link to post
Share on other sites

Could my problem be caused by multiple categories contribution?

This contribution allows me to have the same product in multiple categories.

 

Most probably the error is in my index.php file....both my index.php and my product_info.php have been modified so I didn't use the index.php that came with this contribution. Instead (based on the index.php in this contribution) I tried to assemble my own index.php.

 

You can see the problem here http://www.lekarnar.com/index.php/cPath/29...products_id/309

 

In aplication_top and html_output I commented out the newly added SEF code because this is a live store. So the urls are not currently rewritten(but that part works). The index.php is the new one.

 

As you can see it shows product_listing instead of the product info!?

 

Thanks for any hints you can give me!

Share this post


Link to post
Share on other sites
Could my problem be caused by multiple categories contribution?

This contribution allows me to have the same product in multiple categories.

 

Most probably the error is in my index.php file....both my index.php and my product_info.php have been modified so I didn't use the index.php that came with this contribution. Instead (based on the index.php in this contribution) I tried to assemble my own index.php.

 

You can see the problem here http://www.lekarnar.com/index.php/cPath/29...products_id/309

 

In aplication_top and html_output I commented out the newly added SEF code because this is a live store. So the urls are not currently rewritten(but that part works). The index.php is the new one.

 

As you can see it shows product_listing instead of the product info!?

 

Thanks for any hints you can give me!

 

Why would u install this contribution when oscommerce does this by default.

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
Sign in to follow this  

×