Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

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.
0
bs98909
Asked:
bs98909
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
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]
0
 
bs98909Author Commented:
I am just a user on the wiki site -- so sadly no access to the apache code
0
 
bs98909Author Commented:
No answers so I'd like to cancel but cannot
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now