HI all,
Need some help, i was working on a web site, adding paypal button, everything went very well, until i install SSL certificate for the domain.
the web site is install on red hat, trougth WHM. I only have access to Cpanel.
Since i have install the SSL certificate with the host manager, start having problem, first the http wasn't forwarding to HTTPS.
then i add the following in htaccess:
*** remove this first ****
RewriteCond %{HTTP_REFERER} !^http://mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://mydomain.com$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mydomain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^https://www.mydomain.com$ [NC]
*** then add this ***
RewriteCond %{HTTP_HOST} ^www.mydomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^(www.)?mydomain.com$
RewriteRule ^(.*)$ [
mydomain.com...] [R=301]
then the image stop loading and the jscript stop working
i then make some search and try out some few thing removed them since it wasn't working
start changing the path for the image, try to put
<h1 id="title"><a href="index.html"><img src="http://mydomain.com/images/logo/logo3.png"/></a></h1>
<h1 id="title"><a href="index.html"><img src="//images/logo/logo3.png"/></a></h1>
<h1 id="title"><a href="index.html"><img src="/home/images/logo/logo3.png"/></a></h1>
instead of
<h1 id="title"><a href="index.html"><img src="images/logo/logo3.png"/></a></h1>
get no change image not changing
i've try to disable hot link protection
then it came worst the CSS jsscrit and the image came in problem.
please help very urgent