Info
- 8 posts
- 2 voices
- Started 2 years ago by Michael3185
- Latest reply from johnhiler
- This topic is resolved
Odd sub-domain + bbPress problem
-
- Posted 2 years ago #
(I'll shorten the domain name, etc., for readability)
I had a forum set up on a sub-domain http://abc.dom.com/bb-login.php which worked fine. The bbPress files were in my server space at public_html/ABC.
I wanted to change the sub-domain name, but not trash and re-upload the bbPress installation. So, I just changed the bbPress files folder to XYZ, and the sub-domain which points to it to http://xyz.dom.com. When I browse to that address, the log-in page shows, but when I log-in it jumps to http://abc.dom.com/bb-login.php, and just keeps doing the same on logging-in from there.
It's obviously not having a problem finding the bbPress files via the new sub-domain name and content folder, but I can't find out why it keeps trying for the old sub-domain name. There doesn't seem to be a link to it in any obvious file. Stumped.
-
- Posted 2 years ago #
My login.php form posts to the following url:
<form method="post" action="<?php bb_option('uri'); ?>bb-login.php">
Did you change your bbPress Address here?
http://xyz.dom.com/bb-admin/options-general.php -
- Posted 2 years ago #
Just tried that, but it jumps to http://abc.dom.com and shows a cPanel page with;
Great Success !
Apache is working on your cPanel® and WHM™ Server???
-
- Posted 2 years ago #
What is your bbPress Address set to now?
And do you mind posting a link to your forum, to help with troubleshooting?
-
- Posted 2 years ago #
No worries. It was talkspirit.letsdoo.org but I didn't like it much, so it's now http://talkzen.letsdoo.org
I've checked the sub-domain, which is pointing to talkzen, and the old talkspirit one is deleted via cPanel. That was all done perhaps 4 or 5 hours ago, so shouldn't be a server filter-through issue.Thanks for taking the time.
-
- Posted 2 years ago #
Your database is still storing variables pointing to talkspirit.letsdoo.org... so your header area is still pointing to talkspirit URL's.
Check out this call to your css file:
<link rel="stylesheet" href="http://talkspirit.letsdoo.org/my-templates/bbVanilla/style.css" type="text/css" />Here's the code that generates that (in my header.php at least):
<link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />You should be able to fix this using phpmyadmin. Try running this query to find the row you need to change:
SELECT * FROMbb_topicmetaWHEREmeta_key='uri'Then edit the row so that the meta_value for that row is the url for your new site...
-
- Posted 2 years ago #
Yay - genius! Many thanks. Hope the topic is of use to another as well.
-
- Posted 2 years ago #
Sweet, glad it's working now! :-)
-
You must log in to post.