![]() ![]() |
Jan 19 2005, 10:33 AM
Post
#1
|
|
|
Group: Members Posts: 1,426 Joined: 22-October 03 Member No.: 89 |
Now that ZUG has moved to .org domain and its forums to oesf.org, one problem appeared. All linked to the old forums in zaurususergroup.com are broken. However this could have been avoided by settings up the following:
http://www.zaurususergroup.com/forums should redirect to http://www.oesf.org/forums instead of http://www.zaurususergroup.com/forums. Or http://www.zaurususergroup.org/forums should in its turn redirect to http://www.oesf.org/forums In any case all links to the old forums in .com domain would still work! There are lots of links to the ZUG forums on the net these days and it's a pity to break them all at once. I'm sure this is very easy to set up, since I have similar configuration for cacko.biz: http://cacko.biz/cacko redirects to one page, while http://cacko.biz/cacko/feed - to another one. |
|
|
|
Jan 24 2005, 07:41 AM
Post
#2
|
|
|
Group: Admin Posts: 1,418 Joined: 18-May 03 From: St. Paul, MN Member No.: 4 |
I agree, this would be great to do. I just don't know how to setup a redirect where if someone where to try to visit http://www.zaurususergroup.com/forums/inde...showtopic=10229 and have it redirect to http://www.oesf.org/forums/index.php?showtopic=10229.
If you know how to set this up, can you let me know how, or send me an example of how you have cacko.biz setup? Thanks |
|
|
|
Jan 24 2005, 09:10 AM
Post
#3
|
|
|
Group: Members Posts: 1,426 Joined: 22-October 03 Member No.: 89 |
Actualy Laze did redirection setup for me, I will ask him.
|
|
|
|
Jan 24 2005, 09:18 AM
Post
#4
|
|
|
Group: Members Posts: 704 Joined: 9-October 03 From: Denmark Member No.: 20 |
Actually its my good friend Peter who helped me..
Edit apache httpd.conf For all redirects.. <VirtualHost *> ServerName zaurususergroup.com ServerAlias www.zaurususergroup.com Redirect permanent / http://www.oesf.org </VirtualHost> Just formus <VirtualHost *> ServerName zaurususergroup.com ServerAlias www.zaurususergroup.com Redirect permanent /forums/ http://www.oesf.org/forums/ </VirtualHost> |
|
|
|
Jan 24 2005, 01:14 PM
Post
#5
|
|
|
Group: Admin Posts: 1,418 Joined: 18-May 03 From: St. Paul, MN Member No.: 4 |
Thanks, but that's just a simple redirect, and that's already done. If you go to zaurususergroup.com it will redirect to zaurususergroup.org. If you go to zaurususergroup.com/forums it will redirect to oesf.org/forums.
The problem is I can't figure out how to redirect a direct link to a post, such as: http://www.zaurususergroup.com/forums/inde...showtopic=10229 to be automatically redirected to: http://www.oesf.org/forums/index.php?showtopic=10229 At least now, it will take you to the forums, but not to the specific topic. Is this possible? |
|
|
|
Jan 24 2005, 05:36 PM
Post
#6
|
|
|
Group: Members Posts: 369 Joined: 6-September 04 From: Brisbane, Australia Member No.: 4,488 |
Should be - you can use apache's mod_rewrite to do anything you want to URLs if you can write the appropriate regular expression. Something like this:
RewriteEngine on RewriteRule ^/forums/(.*) http://www.oesf.org/forums/$1 [R,L] stuck before the basic redirect might be all that's needed. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 03:43 AM |