Different page for different users

Hi guys

i have created a download page

www.mysitedotcom/downloadpage

i have create 2 download page:

mysitedotcom/downloadpage0 for user level0

mysitedotcom/downloadpage1 for use level1

how can i easily redirect users so when they click on a button ww.mysite.dot.om/downloadpage for them to land on the right page.

I dont want level0 member to see/land the ww.mysite.dotcom/downloadpage1 for use level1

thx a lot

If you are sending all users to the same page and then showing them a link to the download page, I’d use simple shortcode conditionals. Something like this:

[s2If current_user_is(s2member_level0)]
    Download Link for Level 0
[/s2If]
[else]
  [_s2If current_user_is(s2member_level1)]
     Download Link for Level 1
  [/_s2If]

hi Jedishark

This is what i m doing atm but i was wondering if there were a way to force to different pages instead of splitting page in 2 with shortcodes

thx

There might be some way to do this with redirection, but not natively with s2Member as far as I know. [s2If] is a powerful tool. Is there some reason you feel it is not meeting your needs?

yes i m using page builder and when i use such a code:

[s2If current_user_is(s2member_level0)]
Lot of text
picture
lot of text
Download Link for Level 0
[/s2If]
[else]
[_s2If current_user_is(s2member_level1)]
Lot of text
picture
lot of text
Download Link for Level 1
[/_s2If]

the 1st part (text+image+Download Link for Level 0) is not on same level as (text+image+Download Link for Level 1)

you can see that 2nd part is below

Ah, I hate page builders. :wink: HTTP redirection is not my area of expertise, sorry.

I hate page builders too! :disappointed:

But what does this mean?

How does everything look if you change the alignment like this:

[s2If current_user_is(s2member_level0)]Lot of text
picture
lot of text
Download Link for Level 0[/s2If][else][_s2If current_user_is(s2member_level1)]Lot of text
picture
lot of text
Download Link for Level 1
[/_s2If]

I have often found that playing around with where you put the shortcodes changes the appearance significantly.