pligg in a subdirectory with a php file at the host root

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2008, 02:37 AM
nationalchamps's Avatar
New Pligger
Pligg Template: yget
 
Join Date: Jul 2008
Posts: 7
I looked all over but I can't find the answer for this. If I have pligg installed at a subdirectoy like www.site.com/pligg is there an easy way to have something at the root of the host that points so the user sees


www.site.com and pligg shows up?

I know you can do this with Wordpress by putting an index.php file at the root like this

<?php
/* Short and sweet */
require('./pligg/index.php');
?>

But it won't work here.
Reply With Quote
  #2 (permalink)  
Old 08-18-2008, 11:57 PM
nationalchamps's Avatar
New Pligger
Pligg Template: yget
 
Join Date: Jul 2008
Posts: 7
Anyone ... anyone....
Reply With Quote
  #3 (permalink)  
Old 08-19-2008, 02:29 PM
New Pligger
 
Join Date: Aug 2008
Posts: 13
Try put an index.php file into your root like this:
<?php
header('Location: http://www.site.com/Pligg');
exit();
?>
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/httpd/error_log messages gr8rcake Questions and Comments 4 06-01-2010 12:25 PM
Index.php won't open to install nigelnix Questions and Comments 8 04-15-2010 06:19 PM
New Pligg User - Root or Folder? Doug Heil Questions and Comments 5 01-27-2008 06:12 PM
Call for Pligg CSS Redesign Yankidank Questions and Comments 7 01-12-2006 10:10 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development