0

I am stuck on fixing canonical issue. I found Yoast's .htaccess file, but not understanding what to put in there.

How do I code it into my website?

  • .htaccess should have nothing to do with it. Canonical tags are usually set in the <head> of HTML documents. – Stephen Ostermiller Jan 10 at 16:02
  • Can you tell me the complete procedure how to do that? – souravjns Jan 11 at 4:01
  • Fahad's answer looks correct. – Stephen Ostermiller Jan 11 at 12:13
1

You need to fix it differently, apparently the thing you're asking is not controlled by Yoast but by Wordpress itself. Follow these steps;

  1. Open wordpress dashboard.
  2. Goto settings.
  3. Goto General.
  4. Edit your URL in Wordpress and Site Address bars.

Not the answer you're looking for? Browse other questions tagged or ask your own question.