Jump to content
BenCar

canonical URLS

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.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
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 ...

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

×