Home arrow Forum Redirect from old forum address - REOPENED
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 08:43:04 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Redirect from old forum address - REOPENED
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Redirect from old forum address - REOPENED  (Read 1395 times)
Paul
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Redirect from old forum address - REOPENED
« on: August 20, 2007, 02:48:13 PM »

Hi all,

I installed the bridge (version 2.0.2) a few months ago and the forum on my web site is working fine. The problem is, I have the new address, http://www.viajeria.com/foro/index.php, connected to the home page, but people are still entering from the old address www.viajeria.com/Foro-de-viajes. Obviously this is a problem in the search engines because of duplicate content, but it's also a problem because users can not sign in on the old page - when they enter their username and password, they get a blank screen.

I'd like people coming to the old address to be redirected to the new forum. The problem is that the index file in the old forum is also used in the new one, so I can't put a meta tag refresh. Any suggestions on how to accomplish this? Please be specific if you don't mind, I'm a bit technically challenged!

Thanks very much in advance,
Paul
www.viajeria.com
« Last Edit: August 22, 2007, 02:49:17 PM by Paul » Logged
sundog_ak
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 9


View Profile
Re: Redirect from old forum address
« Reply #1 on: August 21, 2007, 04:06:08 AM »

Do you use an Apache server and have access to your htaccess file in your root directory of your server?

If so, you can map your old address to the new one this way (assuming I got your links right):

Redirect permanent /Foro-de-viajes http://www.viajeria.com/foro

or generically:

Redirect permanent /old_directory http://www.xyz.com

See here for other examples on how to do:

http://www.everything2.com/index.pl?node_id=1691697
Logged
Paul
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Redirect from old forum address
« Reply #2 on: August 22, 2007, 02:48:27 PM »

Sorry, but I spoke too soon. I put the following code in the htaccess file:

Code:
Redirect permanent /Foro-de-viajes http://www.viajeria.com/foro/index.php

The old forum redirected to the new forum, but stripped the theme so that the forum shows up with a white background and no images. I also tried it using the address http://www.viajeria.com/index.php?option=com_smf&Itemid=139, thinking that maybe it was an issue with the Artio JoomSEF URL. Same result.

What's up with that? Needless to say I removed it. Any idea what could be causing the problem? Thanks a lot.

UPDATE: I asked my hosting company for help, and here's the reply: Since you are redirecting http://viajeria.com/Foro-de-viajes to a new
 location, your style sheet cannot be loaded from
 http://viajeria.com/Foro-de-viajes/Themes/default/style.css?rc3.  This
 will need to be moved to the new /foro directory and called as
 http://viajeria.com/foro/style.css?rc3.

I tried that and it didn't work, I assume because of the peculiarities of Joomla and the bridge component. Any other suggestions? Should I try copying the Themes folder to the main Joomla folder, or to the component folder? Any help would be greatly appreciated.

UPDATE: OK, I think I understand the issue, but not the solution. Since the old folder, Foro-de-viajes is being redirected to the new forum, when the bridged forum tries to access the css file in the Foro-de-viajes folder, this request is being redirected as well. So I guess possible solutions would be to:

1) create a new folder with the SMF forum, and configure the bridge to draw from that folder. Then you could redirect Foro-de-viajes using the .htaccess file. I tried changing the folder name on the server and in the bridge configuration and had the same css problem.

--or--
2) Move just the CSS file and hack the bridge component code so that the css is retrieved from there.

Thoughts? I'd a beginner when it comes to coding (accounting degree), so I appreciate any help with how to make this happen! Thanks a lot.

Paul


« Last Edit: August 23, 2007, 04:20:20 AM by Paul » Logged
Paul
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Redirect from old forum address - REOPENED
« Reply #3 on: September 04, 2007, 03:34:27 AM »

Hi, can anybody answer this? Is there a way to redirect the old forum address to the new bridged, unwrapped forum without losing the css?

Thanks,
Paul
Logged
Paul
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Redirect from old forum address - REOPENED
« Reply #4 on: September 12, 2007, 03:40:22 AM »

Really, can anyone answer this?? I would think that anyone who is had a working forum before using the bridge, and now has an unwrapped, bridged forum would face this issue. The .htaccess redirect won't work because you lose the css. Anyone?

Thanks,
Paul
Logged
Paul
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Redirect from old forum address - REOPENED
« Reply #5 on: September 20, 2007, 03:48:33 AM »

Can anyone PLEASE help me with this? The old forum address works fine for viewing entries, but when users try to sign in they get a blank screen. Sorry to be a whiner, and I really appreciate the functionality of the bridge, but this is a big problem! Thanks,

Paul
Logged
exrace
Joomla Newbie
*

Karma: +5/-3
Offline Offline

Posts: 48


View Profile
Re: Redirect from old forum address - REOPENED
« Reply #6 on: September 20, 2007, 11:55:49 PM »

Does your SMF config reflect the right paths to templates etc?
Maybe you overlooked that?

Like:
Code:
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/var/www/vhosts/mysite.com/httpdocs/forum'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/var/www/vhosts/mysite.com/httpdocs/forum/Sources'; # Path to the Sources directory.

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login