Hi i would like to know is it possible to put a code in .htaccess so that
if anyone accesses the link http://www.example.com/iprequest.php they automatically get redirected to https://www.example.com/iprequest.php

I do not want this to happen if sumone accesses other l;inks such as www.example.com/index.php or so

thank you

You could use a .htaccess file containing a Redirect. Google both words for lots of articles on the subject.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.