Is there a method to add a 301 redirect for a static physical file?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
8/18/2013 11:58:42 AM
Gravatar
Total Posts 46

Is there a method to add a 301 redirect for a static physical file?

Hi,joe.

   e.g   I have a physical zip file in the dir /Data/a.zip, then I move it to the dir /Data/Sites/1/a.zip.

    I want add a 301 redirect from /Data/a.zip to /Data/Sites/1/a.zip.

    But I found this can't be success.

    How should I do?

   Thanks.

 

8/19/2013 2:05:16 PM
Gravatar
Total Posts 18439

Re: Is there a method to add a 301 redirect for a static physical file?

For static files I recommend use something outside of mojoPortal for redirects. You might be able to configure it with IIS directly, or you could use the IIS Url Rewriting module.

8/20/2013 6:13:02 AM
Gravatar
Total Posts 46

Re: Is there a method to add a 301 redirect for a static physical file?

I see.

Thanks very much.

You must sign in to post in the forums. This thread is closed to new posts.