3 posts by 2 authors in: Forums > CMS Builder
Last Post: July 4, 2018   (RSS)

By JeffC - July 3, 2018 - edited: July 3, 2018

Hi

Please can you advise me how to resolve pages appearing as duplicates to Google. These are the same page, but appear as different pages to Google

https://www.domain.co.uk
https://domain.co.uk
http://www.domain.co.uk
http://domain.co.uk

I've been reading up on canonical links but I don't understand how this would work with content pulled from a database?

I see that there is a plugin called Yoast, which works with Wordpress, but I haven't been able to learn from that.

This is the htaccess file:

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^permalinks_dispatcher\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /cmsAdmin/plugins/permalinks_dispatcher.php [L]
</IfModule>

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

<Files 403.shtml>
order allow,deny
allow from all
</Files>

deny from 46.37.162.38/31
deny from 46.37.162.40/29

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-ea-php56___lsphp .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Any advice you could give me would be hugely appreciated

Jeff

By JeffC - July 4, 2018

Brilliant, thank you.

Jeff