Go Back   Pligg CMS Forum > Pligg Help > Customization Assistance

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2008, 01:37 AM
nationalchamps's Avatar
New Pligger
 
Join Date: Jul 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
pligg in a subdirectory with a php file at the host root

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, 10:57 PM
nationalchamps's Avatar
New Pligger
 
Join Date: Jul 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Anyone ... anyone....
Reply With Quote
  #3 (permalink)  
Old 08-19-2008, 01:29 PM
New Pligger
 
Join Date: Aug 2008
Posts: 13
Thanks: 1
Thanked 4 Times in 2 Posts
Redirect

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
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
siChunk Series of Templates for pligg Adaman Template Sales 1 10-02-2007 10:17 PM
Pligg IIS install (basics) ButtNutt Installation and Upgrade Help 0 07-15-2006 05:23 PM
/var/log/httpd/error_log messages gr8rcake Bug Report 3 01-28-2006 09:28 PM
Call for Pligg CSS Redesign Yankidank Template Support 7 01-12-2006 09:10 AM
Pligg on localhost (in subdirectory) tagawa Installation and Upgrade Help 2 01-09-2006 12:58 AM


Search Engine Friendly URLs by vBSEO 3.2.0