/    Sign up×
Community /Pin to ProfileBookmark

Website Forwarding

Hi,

What is the easiest way to automatically redirect people to a webpage based on the URL they originally go to?

My University recently switch to Google apps, which includes google sites, but the sites created have really long URLs, and I would like to make a way to shorten that for other students. Basically, what I am looking to do is, for example, when someone times in:

[COLOR=”Red”]mysite.com[/COLOR]/hpm/calendar they are redirected to [COLOR=”RoyalBlue”]https://sites.google.com/a/umich.edu/[/COLOR]hpm/calendar

For mysite.com/ANYTHING, I would like to redirect them to the page they just typed in, with mysite.com (red above) replaced with [url]https://sites.google.com/a/umich.edu/[/url] (blue above).

What is the best way of doing this? I may or may not be able to use sever side scripting, but I will have access to my site’s DNS management.

Thanks,
Alex

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@jaimegmApr 27.2012 — Check the link:

http://www.instant-web-site-tools.com/html-redirect.html

Just create an html page with the code given in the link and substitute your forwarding url with yours, so it will be something like:

mysite.com/redir.html

That will do the work
×

Success!

Help @ablaty spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...