Đã Hủy

htaccess that redirects depending of the day and hour

What I need is a script that depending of the day and the hour that it is (using server time not user time) redirects the user to one page or another.

For example:

If it is Wednesday 5pm-8pm redirects to --->/wait/ (folder start)

If it is Friday 9 am - 11 am redirects to ---> /start/ (folder start)

I also need that if the user enters directly to the start folder and it is not time to enter that folder, he is send back to the wait folder. (I mean if my domain is [url removed, login to view] if the user enters to [url removed, login to view] and it is not time to enter to it, he is redirect to [url removed, login to view] )

I think that the easier way to do this is to have 2 .htaccess on the root folder (Ex. [url removed, login to view] ) and one in the start folder (Ex. [url removed, login to view]), so the .htaccess file in the [url removed, login to view] folder sends the user to [url removed, login to view] if is not time to be on it.

I don´t need a backend or page to configurate the days/times of redirection, I can do it just editing a file.

Please enter this code in a PM to know that you read this explanation: joke3

Example of how the configuration page have to look like:

(is just and example, you can do it different if you need, the thing is that you see that the hour have to include minutes, pm and am, and that the same day can have more than:

When redirects to: /start/

Monday 8.37pm-12pm

Tuesday [url removed, login to view]

Tuesday 8pm-10pm

Wednesday [url removed, login to view]

Thursday 15pm-18pm

Friday 15pm-18pm

Saturday 15pm-18pm

Sunday 15pm-18pm

This is an easy proyect if you know what to do, so I can pay max. $50 for it (of course, the less the best!)

Kỹ năng: AJAX, HTML, Javascript, PHP, Kiến trúc phần mềm

Xem thêm: and am, root folder, htaccess, course less, depending, php redirects, htaccess file read, different depending, php htaccess, domain server time, htaccess read, server redirects, htaccess redirect page php, redirects, javascript redirection, redirection javascript, sunday times, php domain redirect script, redirects php, redirects php page, 8pm, redirection using php, course configuration, domain root folder, url redirection script

Về Bên Thuê:
( 10 nhận xét ) Montevideo, Uruguay

Mã Dự Án: #1703976

5 freelancer đang chào giá trung bình $250 cho công việc này

LuigiWidmore

Hi sir , My name is Luigi Widmore and i'm an expert web developer. My areas are HTML/CSS PHP/MYSQL Design/Photoshop. I can deliver this project in 1 days or less. Please check PM for details , you may be impresse Thêm

$250 USD trong 999 ngày
(98 Đánh Giá)
6.3
gvuyk

Hello, please check PM

$250 USD trong 1 ngày
(25 Đánh Giá)
5.0
serpentscode

Hello, I can do it right now, check your pmb.

$250 USD trong 0 ngày
(33 Đánh Giá)
4.6
egibby

I can set up your site to use htaccess to redirect based on the time of the day. Check out my profile for more information about my experience.

$250 USD trong 1 ngày
(8 Đánh Giá)
3.9
gigi4turbo

Check PMB. Thank you.

$250 USD trong 1 ngày
(14 Đánh Giá)
4.1
Smash005

Hi, I'm kinda new here and I'm starting with small projects. I'm pretty sure I understand your explanations and it seems simple. I'm very good in HTML, JavaScript and PHP so I might be the guy for you. Send me a ma Thêm

$250 USD trong 3 ngày
(0 Đánh Giá)
0.0