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?
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?
Posted
will update code here shortly, if I haven't broken anything major I will update yours later tonight
Posted
I got it!

Posted
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/
Posted
HM I didn't understand, but trust you

Posted
Ah! code seems to be snitz specific as it looks for /forum/ in the url will need to tweak it.
Posted

Posted
I'll check to see if I can figure out why it isn't working, must be something it doesn't like
Posted
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
It redirects to the new domain, but the old adress structure is kept :
http://www.bio.no/enbiolog/topic.asp?TOPIC_ID=68005
Posted
Originally posted by TorborgNo prob, probably not a documented feature, but I added it when I changed the main Snitz forum to point at this version.
Thanks! I worried about this without reason
Posted
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.

Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...