|
#1
|
||||
|
||||
|
We have the default index page set up to display whenever someone creates an account in our reseller hosting account but want the title to be the domain name. Searching the web now for the answer but aren't being successful. Anyone know what would display the domain name variable within the default index page in cpanel?
__________________
best regards, George |
|
#2
|
||||
|
||||
|
Make the index page using php, i.e. in index.php you can have something like this:
Code:
<HTML>
<head>
<?php
echo "<title>{$_SERVER['SERVER_NAME']}</title>"
?>
</head>
<body>
Content here
</body>
</html>
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#3
|
||||
|
||||
|
OK that worked nice for putting the title tag to the domain name, but we also wanted to have the domain name as the heading on the page. Then the next question would be how we would get whm to use a different extension for the default page installed when a new account is created? whether it be index.php or index.shtml
__________________
best regards, George |
|
#4
|
||||
|
||||
|
Thanks I figured out where to change the whm installed page for new accounts. I found them in cpanel3-skel directory.
__________________
best regards, George |
|
#5
|
||||
|
||||
|
Quote:
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 09:55 PM.









