All Questions
Tagged with http-status-code-301 asp.net
73
questions
0
votes
1
answer
149
views
IIS 10 Rewrite 301
I really need help,
I can't figure out how to make a 301 redirection on IIS 10 Windows Server 2016.
I need to redirect
from
https://hostname/folder1/folder2/folder3/folder4/xxxxx_1.jpg
to
https://...
1
vote
1
answer
2k
views
How to use 301 redirect in asp.net
I want use 301 redirect in my website. I try to redirect "http://localhost:54996/AboutUs.aspx" to "http://localhost:54996/About".
I use this code in my page load:
Response.Status = "301 Moved ...
0
votes
1
answer
502
views
Chrome Not Caching HTTP 301 Redirect
I'm working on dynamic HTTP 301 Redirect responses for an ASP.Net project, and they are cached correctly in Firefox, but no matter what I set the cache headers to, the redirect is never cached by ...
3
votes
1
answer
529
views
How can I call global.asax on .asp page open
Hi on redirecting of catalogsmain.asp I want to call Global.asax file and in that I want to call Application_BeginRequest method.
Actual I have one old website which is created in old ASP so it ...
0
votes
1
answer
288
views
SEO - correct way to redirect 301 for crawler
I have a problem with Google's crawling and I am not sure if its a technical problem. Basically we redesigned our site a bit so we 301-redirect users like this:
url.com/ --> url.com/en/items or
url....
1
vote
1
answer
54
views
301 Redirection of website URL
currently we have our website running like this: websitename.com. But we've added multiple languages to it so now all the English content will be available at websitename.com/en and the Russian ...
0
votes
1
answer
54
views
Creating 301 redirects from asp.net website to another
I have a website which i'm planning to close down and replace with another with a different domain, how can i go about setting up 301 redirects from specific pages on my old site to the relevant pages ...
0
votes
0
answers
72
views
change old php page to redirection to asp.net page url using asp.net
I have more than 100 page URL link is on PHP URL. And I want that when anybody enters my old URL it will be redirected to my specific URL for e.g:-
Old URL:-
1) www.abc.com/index.php?option=...
0
votes
1
answer
2k
views
MVC Permanent way to use redirects for HTTP to HTTPS and turn off for Dev Environment
I got this code from here.
Notice I remmed out the part that redirects to ISSExpress 44300 port because I want to use II7.5 on dev box without https.
public class CustomRequireHttpsFilter : ...
2
votes
1
answer
1k
views
web.config redirect to https causing redirect loop
I am trying to use this code in the web.config to redirect all pages on the website to https:// however as soon as I try this I get an infinite loop (Firefox tells me the redirect will never end ...
0
votes
2
answers
164
views
Redirect page traffic to new urls in asp.net appllication
I have a WordPress site. which is now moving to asp.net cms (Sitefinity). In this process my url structures are getting changed but I want to keep the traffic of previous urls on the new urls as well.
...
0
votes
1
answer
31
views
ASP 301 redirect ignoring URL after domain name
I am attempting to redirect specific pages to their counterparts on a new replacement website, but the redirect is keeping the page name from the old website, resulting in a 404.
For example, the ...
0
votes
1
answer
51
views
Rewrite rules not matching anything below 1 sublevel
I'm trying to write a redirect rule for an asp site in the web.config and I'm running into an issue with subfolders.
If I visit http://www.thesite.com/folder it redirects to http://www.thesite.com ...
0
votes
1
answer
73
views
ASP.NET 301 redirect if contains last folder
I need to make a 301 redirect for all old links that contain (/CID-VALUE), e.g. www.example.com/folder1/folder2/CID-1234. These link could have been on any folder so I need something that catches all ...
4
votes
3
answers
3k
views
Why redirects happens on missing of a trailing slash (/) from the URL ?
One of the most wasteful redirects happens when a trailing slash (/) is missing from a URL that should otherwise have one.For example, going to http://example.com/action results in a 301 response ...