Pointing last year's website to different url - web

I am using Bluehost to host my website.
Website needs to be refreshed and start anew each year, but I want to keep the current website in subdirectory.
How can I point current website (example.com) to something like example.com/2020-2021 and start creating new website in example.com? while keeping the same layouts

If you can edit the website's html directly, try this. It should redirect the page automatically.

Related

How do I rewrite old URLs without affecting default redirects?

Let me see if I can explain this.
I used to have mydomain.com as my default page. The login page would be mydomain.com/login and every content created would become mydomain.com/topic1, mydomain.com/topic2 etc.
But I have created a subdirectory, so it's now mydomain.com/sub/login and mydomain.com/sub/topic1 etc.
I then set mydomain.com to redirect to mydomain.com/sub/login via my host's panel (Hostinger).
If a user accesses the website from one of the old links, I would like it to change the URL to include the new subdirectory automatically, without affecting the redirect I have created.
How can I do so? Is it possible?
Thanks, folks!

Connect WIX to subfolder of domain

I have a website example.com that is hosted on AWS. The main site is being produced by a development team. I have a landing page created through WIX.com. I would like to point the landing page to something like "example.com/promo" without interfering with the rest of example.com. Is this possible?
Yes, it is possible, you just need to use URL Rewrite on your code, so when people browse to example.com, it will automatically redirect to example.com/promo.

Is it possible to have a url redirect to another page and keep the original url in the title bar?

A marketer in my company has a landing page on our site: www.importantcompany.com/amazingproduct
They have a vanity url that goes to the landing page:
www.amazingproduct.com
I successfully created the iis redirect rule. However, the marketer has comeback and would like to keep the redirect rule, but keep the address in the bar www.amazingproduct.com instead of www.importantcompany.com/amazingproduct
I'm assuming that this is not possible.
The only way to make this work is to create a new site in iis and copy the landing page into the new site and set the new site to go to www.amazingproduct.com
Please let me know if my assumption is correct.
Thanks!
Your assumption is incorrect.
You could write a filter on IIS that looks at the requested URL and notes if "www.amazingproduct.com" is sent in to do a "Server.Transfer" of the request to the subfolder that would be one solution that wouldn't require a new site at all.
URL Rewrite could also be another way to configure a way around this to some degree.

Only internally re-directing old website to new website within the new website's .htacess file only. How do I do this?

Old website: luffyforums.com/
New website: captainluffy.net/
Lets say I don't have access to my old website. Hence, I can't change the htaccess file from my old website.
I want all links within my new website, which lead to old website to automatically get re-direct to my new website.
It's a vbulletin website.
Example:
A user has posted the following link:
1) http://luffyforums.com/showgroups.php
2) luffyforums.com/faq.php
I want it to be changed to:
1) http://www.captainluffy.net/showgroups.php
2) captainluffy.net/faq.php
if anybody clicks it.
Basically, I'm looking for a coding which makes the new website re-direct all links associated with "luffyforums.com" to "captainluffy.net" without having to access the old domain server.
Preferably a coding which I only have to add to my new website's .htaccess file.
Help would be greatly appreciated :)
You're screwed. When someone goes to http://luffyforums.com/ the browser sends a request right to luffyforums.com, and it isn't even aware that such a place called www.captainluffy.net even exists. The request will be handled by your old website and that's it.
Since your new website (htaccess, the server, the code, everything) isn't even remotely part of this equation, you can't do any redirect from your old website unless you have control over it.
If you were able to do such a thing, people would be redirecting links from banks or ebay or paypal to their private phishing sites to scam people.

Site move but old site still being shown

We have moved our site to a new server about a week ago. (we kept the same domain name)
We set the TLL to a very short period of time before we moved.
On the old server i put up a page that we had moved server.
NOW, i am still getting reports that people are seeing the old server message over a week later. What have i done wrong? how can i tell the old site to redirect to the new site?
As it stands we have now redirected to a sub domain. which does not really work because the whole site runs under HTTPS and the redirect subdomain is not under HTTPS.
EDIT - further question: am i messing things up by keeping the old server alive with a working web page? If the site at the old ip was dead would that force a new DNS look up?

Resources