I have launched my wordpress site www.thebluekingdom.cf but as i connected it with the Cloudflare nameserver the site is showing the padlock and https is enabled but the site is showing 302 Error.
302 is not an error but a redirect and most likely because it redirects from HTTP to HTTPS, which is the intended behaviour.
What should be done to fix the problem
You need to fix this on your server. This is not Cloudflare related.
A redirect is not a ‘problem’.
301 Moved Permanently
Status: 301 Moved Permanently
Date: Mon, 11 Mar 2019 11:41:38 GMT
Expires: Mon, 11 Mar 2019 12:41:38 GMT
Status: 302 Found
Date: Mon, 11 Mar 2019 11:41:39 GMT
Content-Type: text/html; charset=iso-8859-1
Set-Cookie: __cfduid=d1de09576ee526e478a3f0c667c6ef22c1552304499; expires=Tue, 10-Mar-20 11:41:39 GMT; path=/; domain=.thebluekingdom.cf; HttpOnly; Secure
Expires: Mon, 11 Mar 2019 11:40:05 GMT
Expect-CT: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct”
The 301 is a redirect from HTTP to HTTPS, so all visitors see the secure version of the site. You can see from the above that there is then a 302 found, which has the site over HTTPS.
than what can i do to view the site correctly?