1
eclypto
Changing Directory Names
  • 2004/7/24 3:25

  • eclypto

  • Just popping in

  • Posts: 44

  • Since: 2004/7/24


I've successfully created http://www.eclypto.com/xoops-2.0.7/html/modules/news/ and I would like to know how to make it JUST http://www.eclypto.com, or how to redirect browsers to the correct page (but I'd much rather have the first one).

Then...I'd like to know what I could do in return for someone else.

2
ajaxbr
Re: Changing Directory Names
  • 2004/7/24 5:01

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


If you don't have any real content yet, you can try a new install with files in /html/ going to your site's root.

Another way to correct this would be:
- Generate a DB dump
- Replace "/xoops-2.0.7/html/" with "/" in the dump
- Put that data back in MySQL
- Move your files and directory tree root from /xoops-2.0.7/html/ to /

As you can see in my sig, only lazy people keep unnecessary directories in their paths

3
Anonymous
Re: Changing Directory Names
  • 2004/7/24 5:15

  • Anonymous

  • Posts: 0

  • Since:


Ahhh, I am not sure how to move it now that you have it installed already but....if you dont have content on your site or you have something that is easily recreated, then when you unzip/untar gzip the XOOPS folder you simply unzip it to where you want it to be.

in order to get it to point to http://www.yoursite.com, You will want to move all of the files in the xoops/html directory into your webservers root directory or set your webservers root directory to http://www.yoursite.com/xoops/html


4
tjnemez
Re: Changing Directory Names
  • 2004/7/24 10:27

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


if you have not added content, i would suggest a clean install. by using this url http://www.yoursite.com/xoops/html you create two sub directories. so, when you unzip, click on html and simply upload all the files to your root directory. once uploaded to your root directory just point to yoursite.com/install.php

5
upsadaz
Re: Changing Directory Names
  • 2004/7/25 2:26

  • upsadaz

  • Friend of XOOPS

  • Posts: 174

  • Since: 2004/2/26


This may help you. I had installed my XOOPS site to http://www.mydomain.com/web2. When I had finished putting in all the content, I wanted just http://www.mydomain.com to be the way to my site. So while reading this help forum I stumbled accross my solution on an unrelated search!!

I edited the mainfile.php,
XOOPS_ROOT_PATH I removed the /web2
XOOPS_URL I removed the /web2

making sure to remove the trailing slash.

It has worked on two different sites now. I didn't have to move the database or anything else.

Good luck!

6
simon132
Re: Changing Directory Names
  • 2004/7/25 5:04

  • simon132

  • Just popping in

  • Posts: 48

  • Since: 2003/11/19


This sounds too good to be true. Has anybody else had success with this method?

If so, it should be documented as this is such an important part of SEO.

7
damaster
Re: Changing Directory Names
  • 2004/7/25 6:23

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


yep!
its about 'path', and installer ask for it...
edit mainfile.php, thats all.
I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

8
Mithrandir
Re: Changing Directory Names

Quote:

Damaster wrote:
yep!
its about 'path', and installer ask for it...
edit mainfile.php, thats all.
And physical location of the files, naturally

9
upsadaz
Re: Changing Directory Names
  • 2004/7/25 19:41

  • upsadaz

  • Friend of XOOPS

  • Posts: 174

  • Since: 2004/2/26


I know it is hard to believe such an easy solution!

I found the original information here:
http://wiki.xoops.org/wakka.php?wakka=InstallGuide
It is great info!

10
tjnemez
Re: Changing Directory Names
  • 2004/7/25 20:41

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


it does work i just tested it by going to http://www.eclypto.com

Login

Who's Online

370 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 370


more...

Donat-O-Meter

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

Latest GitHub Commits