Redirect blog to another domain

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 10 años
Hi,

can I redirect http://www.domain.com/blog to external url like http://domain.myblog.com?

I try to edit web.config file and Global.asax but I am not be able to do it.

Can you help me?

Probably the question is very simple for you!

thank you
Hace 6 años
I am having the same issue, does anyone have an answer to this?

http://pfleming33-001-site5.btempurl.com/blog/

redirects to home page

I have uninstalled the blog.

I have added redirects for it in the web.config and have even tried a redirect .asp page

http://pfleming33-001-site5.btempurl.com/blog/category/bathroom-accessories/

redirects correctly so somewhere there must be a setting that triggers before the web.config file

Any help would be appreciated

Peter
Hace 6 años
andreacaffy wrote:
Hi,

can I redirect http://www.domain.com/blog to external url like http://domain.myblog.com?

I try to edit web.config file and Global.asax but I am not be able to do it.

Can you help me?

Probably the question is very simple for you!

thank you


I think you should do following way.

Go blog controller list action admin side.

You should put like this this


return Redirect("http://domain.myblog.com");


Instead of this


return View("List", model);
Hace 6 años
Can you not use UrlRewrite from IIS?
Hace 6 años
smartegicsys wrote:
Can you not use UrlRewrite from IIS?
.

Can you please explain or give hint or url because I want to know about urlrewrite from iis?
Hace 6 años
Hi sk5202, here is an info on urlrewrite: https://www.iis.net/downloads/microsoft/url-rewrite
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.