Old eksternal links to topics in the forum - نوشته شده در (561 Views)
Forum Administrator
Torborg
مطلب: 1797
1797
There is one big external site (artsobservasjoner.no) where different posts in our old forum are referred to many times. People are concerned that these links will no longer work. The links are important information.

1) The people running this external site can maybe update the links in their database.
2) But maybe better if we could redirect the call from the hyperlink to the right place in our new database? Could that be done with .htaccass file? And put the file at the old forums address (bio.no/enbiolog/ )? I already have a .htaccass there. It redirects calls to the new domain. With the new forum the urls are to a topic is different . Can a htaccess do yhe translation from old to new url for me?
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Administrator
HuwR
مطلب: 4750
4750
will update code here shortly, if I haven't broken anything major I will update yours later tonight
نوشته شده در
Forum Administrator
Torborg
مطلب: 1797
1797
I got it! thumbsUp
نوشته شده در
Forum Administrator
HuwR
مطلب: 4750
4750
if the url wa this for example https://www.sporenbiolog.no/forum/topic.asp?TOPIC_ID=68005 then it would find the topic ok. I will remove the requirement for /forum/
نوشته شده در
Forum Administrator
Torborg
مطلب: 1797
1797
HM I didn't understand, but trust you smile
نوشته شده در
Forum Administrator
HuwR
مطلب: 4750
4750
Ah! code seems to be snitz specific as it looks for /forum/ in the url will need to tweak it.
نوشته شده در
Forum Administrator
Torborg
مطلب: 1797
1797
thumbsUp
نوشته شده در
Forum Administrator
HuwR
مطلب: 4750
4750
I'll check to see if I can figure out why it isn't working, must be something it doesn't like
نوشته شده در
Forum Administrator
Torborg
مطلب: 1797
1797
I asked the host at bio.no to redirect from bio.no/enbiolog to www.sporenbiolog.no

It redirects to the new domain, but the old adress structure is kept :
http://www.bio.no/enbiolog/topic.asp?TOPIC_ID=68005
نوشته شده در
Forum Administrator
HuwR
مطلب: 4750
4750
Originally posted by Torborg
Thanks! I worried about this without reason thumbsUp
No prob, probably not a documented feature, but I added it when I changed the main Snitz forum to point at this version.
نوشته شده در
Forum Administrator
Torborg
مطلب: 1797
1797
Opprinnelig postet av HuwR
so aslong as the htaccess preserves the topic.asp?TOPIC_ID=71269 then it should get redirected automatically

We have changed domain name. So we need a redirecting htaccess from the old domain and folder to the new domain. thumbsUp