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?

closed as too broad by Rob, MrWhite, John Conde Jan 10 at 16:12

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • .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

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.