After buying SSL certificate how to redirect my old urls and images


#1

hi
after buying SSL certificate how to redirect my old urls and images (everything) which are indexed in google to new one i.e https. in easy method because i don’t have technical knowledge. suggest me simple and easy way…tq

am using wordpress platform


#2

Have you successfully installed SSL on your blog, bro? Is it https now? Have you done anything for the redirection? Like http://example.com to https://example.com?


#3

noting just did ssl setup from godaddy thats it. after that what i need to do? any plugin to redirect all my urls to https


#4

Okay, have a look at this thread, bro. We discussed all the necessary things:

And after implementing that, have a look at this:


#5

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

the given code is for what? I brought SSL certificate . in google some url are indexed with http. if i use the above code all those urls with http will be redirected to https? what about images?

or can i use plugin


#6

Bro, the code is to redirect ‘http’ to ‘https’ and it will take care of all the redirection parts mostly. Kindly take a backup of your .htaccess file before trying.

If it’s redirecting properly then update the new URL in Search Console and Analytics, I shared an article for that above.