Link to home
Start Free TrialLog in
Avatar of Brian S
Brian SFlag 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.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

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
Avatar of Brian S
Brian S
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Brian S

ASKER

No answers so I'd like to cancel but cannot