/    Sign up×
Community /Pin to ProfileBookmark

HTTP status codes 302, 303, 307 for upcoming page?

see: [url]http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection[/url]

I’m unsure of which to use, I have a events calendar which uses the GET method, if a user manipulates the url to navigate to a month prior to the first event’s month I issue a 301 and redirect them to the first month. However, if a user attempts a url after the last event’s month I need to issue a temporarily unavailable header prior to redirection. I’m a bit unsure if I should issue a 302, 303 or 307.

to post a comment
SEO

0Be the first to comment 😎

×

Success!

Help @bustya 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...