Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

canonical URLS


BenCar

Recommended Posts

@BenCar The code that creates the canonical url uses the stock url function so it isn't possible for it to change the url like that. It is caused by either your configure file not being set up correctly or some redirect code the shop uses. You can post your includes/configure.php file here, without the database detail at the bottom of it, and your shops root .htaccess file if you would like someone to look at them.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

On 11/10/2021 at 2:25 AM, BenCar said:

My webstore is at https://secure.buyfromben.us/oscommerce/10ml-pwd-rush-original-p-29.html

 

However, header tags seo is plugging in the canonical link tag as http://buyfromben.us/oscommerce/10ml-pwd-rush-original-p-29.html

 

How can I correct this?

 

Thank you.

Why do you have all those lines before the Doctype ?


  <base href="https://secure.buyfromben.us/oscommerce/">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
<!--
<link rel="stylesheet" href="lightbox/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="lightbox/prototype.js"></script>
<script type="text/javascript" src="lightbox/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="lightbox/builder.js"></script>
<script type="text/javascript" src="lightbox/lightbox.js"></script>
 -->

 

with OsC 2.2 since 2006 ...

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