Applies to Version(s): 3.9.0 or Current 

Complexity Level: Average 

Estimated Time for Completion: 8 minutes


Overview

If you're having issues with Duplicate Content being shown on Google, you can create a redirect in your .htaccess file which is built in the control panel. Duplicate content generally refers to substantive blocks of content within or across domains that match other content. Mostly, this is not deceptive in origin. 


Examples of non-malicious duplicate content could include:

  • Discussion forums that can generate both regular and stripped-down pages targeted at mobile devices, 
  • Store items are shown or linked via multiple distinct URLs
  • Printer-only versions of web pages


If your site contains multiple pages with largely identical content, there are a number of ways you can indicate your preferred URL to Google. This is called canonicalization and it will be automatically generated. Another option is 301 redirects. This can be done to automatically forward non-www traffic to www traffic. For example, forwarding http://mywebsite.com to http://www.mywebsite.com.


How to Redirect non-www site to WWW

Redirects can be added for just about any page redirection.  All you need is to do is copy and paste this code into the .htaccess of your site. 

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
  1. In your admin area, go to Marketing >  SEO Settings.
  2. Scroll down and go to the .htaccess Overrides section.
  3. Paste the code that you copied. 


htaccess redirect

Links to Related Articles


301 Redirect


If you didn't get your question answered, please contact the Pinnacle Cart Support Team. To submit a ticket, go to the My Account drop-down menu at the top right of the admin area and select Support.