1
Bigsplash
Getting rid of /xoops
  • 2007/9/28 18:21

  • Bigsplash

  • Just popping in

  • Posts: 20

  • Since: 2007/9/27


My XOOPS seems to be working, when I go to www.mywebsite.com/xoops however none of my vistors will know to write the /xoops afer my address.

Is there any way of making my website accessible by just writing www.mywebsite.com into a browser.

2
Will_H
Re: Getting rid of /xoops
  • 2007/9/28 18:31

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


uhm, you set your doc_root as /xoops

you don't have to do that.

Move all of the contents out of the /xoops folder into your /

open mainfile.php and remove /xoops from the url and docroot

3
nekro
Re: Getting rid of /xoops
  • 2007/9/28 23:10

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


or just include a index.php in your web root with the next code ...
<?php 
header
("Location: /xoops/index.php"?>

4
skenow
Re: Getting rid of /xoops
  • 2007/9/29 1:57

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


Quote:

Bigsplash wrote:
My XOOPS seems to be working, when I go to www.mywebsite.com/xoops however none of my vistors will know to write the /xoops afer my address.

Is there any way of making my website accessible by just writing www.mywebsite.com into a browser.


Copy the index.php file from your /xoops directory to your root directory. Then edit index.php in your root to be like this -

include "xoops/mainfile.php";
//check if start page is defined
if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) {
    
header('Location: '.XOOPS_URL.'/modules/'.$xoopsConfig['startpage'].'/');
    exit();
} else {
    
$xoopsOption['show_cblock'] =1;
    include 
"xoops/header.php";
    include 
"xoops/footer.php";


Best to move your files/folders to your root now, though

5
Will_H
Re: Getting rid of /xoops
  • 2007/9/29 2:15

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


showoffs.


6
Anonymous
Re: Getting rid of /xoops
  • 2007/9/29 6:30

  • Anonymous

  • Posts: 0

  • Since:


Quote:
Biteronboard wrote:

showoffs.



Yeah, but very helpful

Mind you, they concede that your way is best

7
snow77
Re: Getting rid of /xoops
  • 2007/9/29 6:42

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


+1, meaning that I agree with the last current actions (biteronboard, skenow, nekro).

[size=xx-small](OOPS, sorry does +1 mean getting erased from the forums, last time it did)[/size]
www.polymorphee.com
www.xoopsdesign.com

8
Bigsplash
Re: Getting rid of /xoops
  • 2007/9/30 19:18

  • Bigsplash

  • Just popping in

  • Posts: 20

  • Since: 2007/9/27


Got it!
Thanx

Login

Who's Online

143 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits