S
S
Snatch082020-02-17 12:21:44
Search Engine Optimization
Snatch08, 2020-02-17 12:21:44

If I have a desktop and mobile version of the site, how can I avoid duplicate content?

on the desktop version like this:

<link rel="alternate" media="only screen and (max-width: 640px)" href="https://сайт.ru/mobile/index.php" />


on mobile like this:
<link rel="canonical" href="https://сайт.ru/index.php" />


How to avoid duplicate content? do I need to write the same title, description, h1 on two versions?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Albert Kazan, 2020-03-02
@Farrien

Canonicle should be good. In robots.txt can you just specify Disallow: /mobile/ ?

A
Artem Gvozdev, 2020-02-17
@arty23_03

Do you have the same content everywhere?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question