Website redirect - htaccess or canonical tag?

3 replies
  • SEO
  • |
Need some advice on this question. I am aware that there is a canonical tag for redirecting the non www to the www. version of the site. I am aware this can also be done in htaccess file. My question is for the purpose of SEO which method is preffered?
#canonical #htaccess #redirect #tag #website
  • Profile picture of the author Sillysoft
    I prefer htaccess with a 301 redirect so that people themselves see the correct page.
    {{ DiscussionBoard.errors[7612059].message }}
  • Profile picture of the author mishraabhi67
    Obviously htaccess with a 301 redirect
    {{ DiscussionBoard.errors[7612162].message }}
    • Profile picture of the author Venus Brown
      Canonical tag is rather used to tackle two duplicate pages in search engine results, But when you want to show a single page for indexation, then probably putting 301 redirect is the best option.
      {{ DiscussionBoard.errors[7613722].message }}

Trending Topics