Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #9900
| From | Robert Wessel <robertwessel2@yahoo.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: 301 permanent redirection help |
| Message-ID | <dpchcelmbfufvb5jnhf4qlvthf04b08885@4ax.com> (permalink) |
| References | <53932dde-ff23-489c-910e-9e7037f60fdd@googlegroups.com> |
| Organization | Forte - www.forteinc.com |
| Date | 2019-04-30 15:51 -0500 |
On Tue, 30 Apr 2019 05:30:07 -0700 (PDT), baileygeorge019@gmail.com
wrote:
>Hello all, hope you all are doing well. I have a website and its URL has been changed and i want to implement 301 permanent redirection on my website. The home page URL is same but inner page URL's have been changed. My Home page website URL is unchanged- http://www.emulateinfotech.com but the inner URL's have been renamed. here are some old and new URL's of my website-
>
>Old URL- http://www.emulateinfotech.com/about-us.aspx
>New URL- http://www.emulateinfotech.com/about-us
>
>Old URL- http://www.emulateinfotech.com/portfolio.aspx
>New URL- http://www.emulateinfotech.com/portfolio
>
>Old URL- http://www.emulateinfotech.com/contact-us.aspx
>New URL- http://www.emulateinfotech.com/contact-us
>
>Can anyone tell me the 301 permanent redirection code from old aspx page to new php website. It would be very helpful if anyone could help. Thanks in advance.
Without knowing what web server you're using, the question can't be
answered. You can see some of the techniques at:
https://css-tricks.com/redirect-web-page/
That includes some documentation for Apache.
If you're using IIS, look here:
https://docs.microsoft.com/en-us/iis/configuration/system.webserver/httpredirect/
Often it's easiest to just do a pure HTML redirect. If you can create
a static web page with the desired name (if you're on IIS, the system
will likely be set up to process .aspx pages as ASP pages), you can
just do something like the following as the contents of that page:
<meta http-equiv="refresh" content="0;
URL='http://website.com/newpage'" />
You often see that with a non-zero timeout and actual content on the
page ("This is the old page, you'll be redirected to the new page in
five seconds.").
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
301 permanent redirection help baileygeorge019@gmail.com - 2019-04-30 05:30 -0700
Re: 301 permanent redirection help Robert Wessel <robertwessel2@yahoo.com> - 2019-04-30 15:51 -0500
Re: 301 permanent redirection help baileygeorge019@gmail.com - 2019-05-01 22:19 -0700
Re: 301 permanent redirection help Chad <cdalten@gmail.com> - 2019-05-02 11:58 -0700
csiph-web