OESF Portables Forum
Everything Else => Site Specific Forums => Site Suggestions, Requests, and Updates => Topic started by: maslovsky on January 19, 2005, 01:33:18 pm
-
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 (http://www.zaurususergroup.com/forums) should redirect to oesf.org[/b]/forums]http://www.oesf.org/forums (http://www.[b) instead of zaurususergroup.com[/b]/forums]http://www.zaurususergroup.com/forums (http://www.[b). Or http://www.zaurususergroup.org/forums (http://www.zaurususergroup.org/forums) should in its turn redirect to https://www.oesf.org/forums (https://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 (http://cacko.biz/cacko) redirects to one page, while http://cacko.biz/cacko/feed (http://cacko.biz/cacko/feed) - to another one.
-
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 (http://www.zaurususergroup.com/forums/index.php?showtopic=10229) and have it redirect to https://www.oesf.org/forums/index.php?showtopic=10229 (https://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
-
Actualy Laze did redirection setup for me, I will ask him.
-
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 / https://www.oesf.org (https://www.oesf.org)
</VirtualHost>
Just formus
<VirtualHost *>
ServerName zaurususergroup.com
ServerAlias www.zaurususergroup.com
Redirect permanent /forums/ https://www.oesf.org/forums/ (https://www.oesf.org/forums/)
</VirtualHost>
-
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 (http://www.zaurususergroup.com/forums/index.php?showtopic=10229)
to be automatically redirected to:
https://www.oesf.org/forums/index.php?showtopic=10229 (https://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?
-
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/(.*) https://www.oesf.org/forums/$1 (https://www.oesf.org/forums/$1) [R,L]
stuck before the basic redirect might be all that's needed.