RealArkosoft Posted April 23, 2020 Share Posted April 23, 2020 Hi, i would like to convert with a rule all the links of the template which are .php to .html I tried to insert this rule in the .HTACCESS file: Quote RewriteCond% {THE_REQUEST} (. *) \. Php RewriteRule ^ (. *) \. Php $ $ 1.html [R = 301, L] RewriteCond% {THE_REQUEST} (. *) \. Html RewriteRule ^ (. *) \. Html $ $ 1.php [L] and it actually works, it converts all pages from .php to .html including GET variables. The problem is that other things don't work: how to check if a domain exists, or not to enter the WHMCS panel and more. Is there a way to convert only the template pages to .html and leave the other pages as they are so they can use the WHMCS panel or cart and more? Thank you 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.