Monday, January 6, 2020

How do I redirect a link to another link on my website with loosing SEO for the page

I know this questions has been asked several times and I've tried researching the answer online but every answer seems different so I'm asking this again here.

What's the best way to redirect a link to another on the same domain without loosing SEO. Also what is the best way to redirect http to https without loosing SEO and without facing a 404 problem when someone clicks on an http link from before.

I'm using Wordpress + WooCommerce on a Linux server.

Any help would be appreciated.

P.S: One of the solutions I found online:

RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain\.com [NC] RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 
submitted by /u/thoughtsonrepeat
[link] [comments]

from Search Engine Optimization: The Latest SEO News https://www.reddit.com/r/SEO/comments/el71n5/how_do_i_redirect_a_link_to_another_link_on_my/>

No comments:

Post a Comment