Can plugin URI use a variable for the account domain name ?
Is it possible to have an icon in the cPanel which links to a URL containing the account's domain name?
For simplicity sake, let's say we want to have an icon "Visit your live website"
How to pull the domain name in to http://domain.tld ?
or "Check my WHOIS" - would need 2 variables to link directly to the URL with query string
http://thisserverhostdomain.tld/cgi-sys/whois?query=domain.tld
(instead of linking to a page where the user has to type in his domain mnae)
Is there any built-in variable substitution done on the fly here?
I know I could link to a PHP or perl script that uses ENV vars and attempts to force a page meta refresh - icky.
Perhaps mod_rewrite ? where would I add those directives to turn %%cpanel%%/frontend/x3/mywhois
into http://thisserverhostdomain.tld/cgi-sys/whois?query=domain.tld
-
LOL - mybookshop.tld - .tld is not a valid extension. 0 -
Hello :) The following post, while a bit dated, should help you with this: Icon/URL Question Thank you. 0
Please sign in to leave a comment.
Comments
2 comments