1
vimana
Cloning a xoops website - changing the XOOPS_ROOT_PATH.
  • 2007/4/3 22:57

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


I'm running a web site www.mydomainname.com/html/ i want to pump up in search engines in a determinate keyword so i was thinking to change XOOPS_ROOT_PATH:
from
www.mydomainname.com/html/
to
www.mydomainname.com/keyword/ or to www.mydomainname.com/html/keyword/

I think i can easy change XOOPS_ROOT_PATH somewhere in mySql db.

I have only a problem I already indicized a lot of pages on majors search engine under the url: www.mydomainname.com/html/modules/url so if change the path from html to keyword i will lose visitors because all the urls change and i've to wait at last 3-4 mounths until search engines will re-indicized new urls.

So i i'm thinking to run a XOOPS clone web site for the beginning.
do anyone know a way to clone a XOOPS site or automatic redict do new urls.
I donno, maybe i can use "find" and "replace" to change in php pages of clone site:
from
XOOPS_ROOT_PATH.
to
XOOPS_ROOT_PATH."/keyword".
but i don't know if i have to change it in all php pages or or just in some pages.

I'm not a php programmer and i don't know well the structure of xoops.
Maybe someone have already cloned a XOOPS web site based on the same sql database and can help me
sorry for my english and thanks in advice
cheers

2
Will_H
Re: Cloning a xoops website - changing the XOOPS_ROOT_PATH.
  • 2007/4/3 23:31

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


Easy fix, just change it as you would and drop an htaccess with rewriterules into your root.

http://www.javascriptkit.com/howto/htaccess.shtml

3
vimana
Re: Cloning a xoops website - changing the XOOPS_ROOT_PATH.
  • 2007/4/4 1:47

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


Thanks man

Login

Who's Online

163 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

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

Latest GitHub Commits