This question about Configuration: Answered
I am able to do this in Apache
Redirect permanent / http://wiki.cfcl.com/Typedia/
And it works as expected. The URL
http://mbtips.info
redirects to
http://wiki.cfcl.com/Typedia/
.
However, I can't figure out what to do to add onto the end of the URL. An attempt to use
http://mbtips.info/WhatsMyType
does not go to
http://wiki.cfcl.com/Typedia/WhatsMyType
(as I think it should, as written), but to
http://wiki.cfcl.com/TypediaWhatsMyType
.
If I put a double
//
into the URL address bar, it works:
http://mbtips.info//WhatsMyType
, but that's a brittle workaround.
Any suggestions?
I've tried
Redirect permanent / http://wiki.cfcl.com/Typedia/
Redirect permanent / http://wiki.cfcl.com/Typedia//
Redirect permanent / http://wiki.cfcl.com/Typedia/\/
They all turn into
.../TypediaWhatsMyType
Apparently these two
do work; I had to clear the Browser cache.
RedirectMatch 301 /(.*)$ http://wiki.cfcl.com/Typedia/$1
RedirectMatch 301 (.*)/(.*) http://wiki.cfcl.com/Typedia/$2
--
VickiBrown - 13 Oct 2015