Previous Thread
Next Thread
Print Thread
Hop To
Joined: Aug 2006
Posts: 583
old hand
old hand
Joined: Aug 2006
Posts: 583
If I currently have my threads installed in /abcforum but I want it to be in /xyzforum what would I need to do to accomplish this?

What I've tried:
I tried going into control panel and in paths&DB settings I changed all the paths from acbforum to xyzforum, then of course renamed the directory abcforum to xyzforum, but I got sent to my 404 not found error when I tried to access the forum using the URL with the new directory in it.

Is there something else I need to no? Changes to the config file maybe?

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
config.inc.php

you will modify paths and urls there

up to 8 changes.. but they will be obvious wink

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Yea if I understand you

You either need to do one or the other.

Edit the complete config.inc.php file and change all of the paths in the file
or if you can access the control panel.

Goto every page and verify the settings and re-save one by one.

One way or the other you may still need to re-save in the cp. Because some info is just in the config file and some info is placed in the db tables

it would be the same as the how to move site faq.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
all path / urls can be edited in one place.. config.inc.php

no db tables are updated on a site move.

i do this all the time..

just edit ONE file wink

only caveat: is if you have people who have posted links HARDWIRED in their posts.... to the old forum... then you're screwed and have to DB query that part wink

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
You might also edit your .htaccess file and put this in:
Code
redirect 301 /old http://www.yourdomain.tld/new
redirect 301 /old/ http://www.yourdomain.tld/new/

All requests to the old URL will instead direct to the new URL.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 583
old hand
old hand
Joined: Aug 2006
Posts: 583
Thanks all for the quick replies !

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Memory recall tells me one item you can't change in the cp is the sessions folder path. That would require a file edit in cofig.inc.php.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)