Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SEO URL has &


Monika in Germany

Recommended Posts

Posted

Hi,

 

after installing SEO by chemo my urls are rewritten, like I've seen it before on other sites I installed it on... but in this case I get a weird look to it:

 

.../men-schuhe-c-54_65.html?y=10&x=17&find_manufacturers_id=10&sort=3a

 

see those & thingies?

I'm sure that's why my filter system that had worked perfectly before down't pick up the parameter for $find_manufacturers_id.

 

Anyone ever seen a similar thing and/or have a solution for me?

 

TIA!

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

It looks as though you have not edited the tep_href_link in includes/functions/html_output.php, which includes this code:

 

if (tep_not_null($parameters)) {
  $link .= $page . '?' . tep_output_string($parameters);
  $separator = '&';
} else {
  $link .= $page;
  $separator = '?';
}

 

to this:

 

////
// Ultimate SEO URLs v2.1
// The HTML href link wrapper function
 function tep_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true) {
global $seo_urls;		
	if ( !is_object($seo_urls) ){
		if ( !class_exists('SEO_URL') ){
			include_once(DIR_WS_CLASSES . 'seo.class.php');
		}
		global $languages_id;
		$seo_urls = new SEO_URL($languages_id);
	}
return $seo_urls->href_link($page, $parameters, $connection, $add_session_id);
 }

 

Vger

Posted

thanks Rhea, but I wish ... that part is in, and all other pages working just fine.

 

I noticed that advanced search does not get rewritten ...

 

So now I thought what if I didn't rewrite index.php in the cPath version either?

 

Do you happen to know how I can proceed with rewriting the rest (products_info and index.php for manufacturers, or even only products_info) while leaving the filter mod alone in the old version?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

There is a setting in the admin control panel about outputting W3C valid URLs. Disable this option then reset the cache.

Posted
There is a setting in the admin control panel about outputting W3C valid URLs. Disable this option then reset the cache.

 

Thanks Devx, I tried that yesterady and again this am after your post, but no joy.

Rhea told me she is getting perfect URLs, but not me or the shop owner - and not his customers. Sounds like caching??

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

Notice the last thing I said was "reset the cache". I meant all cache files including the SEO URLs, categories, manufacturers, and the also purchased.

 

Admin Control Panel -> Tools -> Cache Control -> [ Reset Them All ]

Posted
Notice the last thing I said was "reset the cache". I meant all cache files including the SEO URLs, categories, manufacturers, and the also purchased.

 

Admin Control Panel -> Tools -> Cache Control -> [ Reset Them All ]

 

they do not use caching files, thus there is no reset all link ... host restarted teh webserver, but still same results. I think it's something in the modrewrite going wrong.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
they do not use caching files, thus there is no reset all link ... host restarted teh webserver, but still same results. I think it's something in the modrewrite going wrong.

 

looks like a bug ....

 

see post 224 here: http://www.oscommerce.com/forums/index.php?sho...6&hl=SEO&st=220, all working fine now.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...