View Single Post
  #4  
Old 13 Aug 2014, 18:01
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
If you have a file called index.html and you want to show it in index.php, I think your index.php file can just look like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(I haven't tried that, but I think it would work.)

As I said before, I've never done what you want to do, but I did google it and found this - http://php.about.com/od/advancedphp/p/html_php.htm According to that, the line to add to your .htaccess file is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If that doesn't work, then are you sure your .htaccess file is working? Your host could have the server set up to not allow .htaccess files (they may have AllowOverride set to None instead of All).
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote