Avatar of Brian S
Brian S
Flag for United States of America asked on

redirect wiki blog page to a sharepoint blog site

I have a blog on a wiki page (wiki version 1.13.1 r4310) and I have converted my blogs to a sharepoint server.

My question is now that many folks have my wiki blog bookmarked (I hope) I'd like to redirect folks automatically from my wiki blog to the sharepoint.

I have tried the commands
#REDIRECT [[https://sharepoint.foo.bar/blog]]

and the script
<script>
  document.location = "https://sharepoint.foo.bar/blog";
</script>


Neither of these do the redirect. They bring up a page with a link and if you click on the link it takes you to my new blog site.

the script also keeps getting parsed by wiki to be the &lt;script&gt; notation for <script>, even though I do type the text in the Wikitext mode.
Apache Web ServerWeb Languages and StandardsWeb Servers

Avatar of undefined
Last Comment
Brian S

8/22/2022 - Mon
David Johnson, CD

on the apache server add the following to the  httpd.conf or the .htaccess if you have many websites on that apache server

RewriteEngine on
RewriteRule   ^/~(.+)  http://newserver/~$1  [R,L]
ASKER CERTIFIED SOLUTION
Brian S

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Brian S

ASKER
No answers so I'd like to cancel but cannot
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy