hi there!
can anybody help me, how to make a code to redirect from http to https in wordpress so i can use also subdomains also ex. http://one.mydomain.com to https://one.mydomain.com
any suggestion will do thanks
hi there!
can anybody help me, how to make a code to redirect from http to https in wordpress so i can use also subdomains also ex. http://one.mydomain.com to https://one.mydomain.com
any suggestion will do thanks
Can you give a little more information?
Does it need to be a link/button or automated?
First you should install or enable SSL(Secure Socket Layer) in your server to have https url.
use this mod_rewrite code in your .htaccess to force SSL:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
dudemike (12-10-2012)
That has nothing to do with your domain but with your website. Your domain is one.mydomain.com. To allow an ecrypted connection, you need to install a SSL on your server.
You will need SSL certificate for redirecting your domain to HTTPS . Google for SSL certificate installation on cpanel.You will get lots of useful & easy tuts.
hi everyone. i need a help. im doing a classified website.i want the advertisements to be displayed when each category is clicked
if any one know the coding for it kindly help me. thank u so so much
Dudemike,
You should purchase SSL certificate from your domain registrar or your webhosting company. After that you can install SSL to your cpanel, and you jus rewrite htaccess.
thanks guys for reply, well what i did i purchased ssl through godaddy and they told me that i need to talk to my webmaster the problem is i got this wordpress theme long ago and cant get in touch with the company, btw the reason i needed subdomain to have https is cause i have a game for fb and on app they ask http address and https address....



So you got ssl so does it work now?? is it converted to https??
no they told me i have to create redirect
Bookmarks