Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"&" instead of "&" in URL


Recommended Posts

Hi,

have installed 'Ultimate_SEO_URLsv21da' and now it is not possible to order products because if i hit the order button of any product the URL is rewritten and

"&" instead of "&"

appears.

Have someone else had the same problem with 'Ultimate_SEO_URLsv21da'?

 

Because i'm not really sure if the changes of 'Ultimate_SEO_URLsv21da' are the reason of this issue. Maybe it is something else.

 

THX

JJ

Link to comment
Share on other sites

means

"& amp ;" instead of "&"

 

 

Hi,

 

There are so many versions of SEO URLs you can never be sure what you get!

 

Do you have the following?

 

 

# BC Redirects shouldn't have '&'s in them

$url = preg_replace('/&/','&',$url);

 

Around line 1890 in includes/classes/seo.class.php

 

It fixed the issue for me

 

HTH

Please use forum for support rather than PM - PMs unrelated to my contributions will be ignored.

Google Site Search is your friend

My contributions: Tracking Module | PDF Customer Invoice | Subcategory textboxes

Link to comment
Share on other sites

Hi,

 

There are so many versions of SEO URLs you can never be sure what you get!

 

Do you have the following?

# BC Redirects shouldn't have '&'s in them

$url = preg_replace('/&/','&',$url);

 

Around line 1890 in includes/classes/seo.class.php

 

It fixed the issue for me

 

HTH

 

Hi Chris,

 

I have the same problem. I use Ultimate SEO URLs v2.1d

Is it important in which line i put this fix?

 

Thanks,

Eric :rolleyes:

Link to comment
Share on other sites

Hi Eric,

 

I'm using 2.1d and the code:

 

# BC Redirects shouldn't have '&'s in them
$url = preg_replace('/&/','&',$url);

 

is immediately before the closing

 

?>

 

at the end of catalog/includes/classes/seo.class.php

 

Cheers

 

Chris

Please use forum for support rather than PM - PMs unrelated to my contributions will be ignored.

Google Site Search is your friend

My contributions: Tracking Module | PDF Customer Invoice | Subcategory textboxes

Link to comment
Share on other sites

Hi Eric,

 

I'm using 2.1d and the code:

 

# BC Redirects shouldn't have '&'s in them
$url = preg_replace('/&/','&',$url);

 

is immediately before the closing

 

?>

 

at the end of catalog/includes/classes/seo.class.php

 

Cheers

 

Chris

 

Hi Chris,

 

So it doesn't have to be inside the function: function do_redirect(){ or before the statement: } # end class ???

 

Thanks,

Eric

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