Viewing 15 replies - 1 through 15 (of 18 total)
  • The relevant codes are listed in the Login Welcome Page section of s2Member, if you then click on Replacement Codes.

    But I am intrigued as to why you’d want to send members to a wp-admin page at all.

    Thread Starter collinsavenue

    (@collinsavenue)

    Thanks and I tried that but the problem still exists. “ERROR: Invalid username for this site.”
    All I need is a “universal” login form that would direct to their username subfolder wp-admin.

    I do not want them to go to domain.com/username/wp-admin to login , I want them to go to domain.com/wp-admin and then get redirected to domain.com/username/wp-admin after login.

    As for why? I have a different project than regular membership site, one which involves wp-admin.

    OK, thanks for the still-intriguing explanation!

    Is there such a page as domain.com/username/wp-admin?

    Thread Starter collinsavenue

    (@collinsavenue)

    Not sure I understand what you mean.

    The %%current_user_login%% from the Replacement Codes is multisite username.

    What I am looking for is a single page to login for multisite users and then they get redirected to their wp-admin dashboard. What I don’t get is why it says “invalid username for this site” even tho password and username are correct and can login from username subdomain but not root website.

    I understand what the code is.

    My point is that, if I were the user, how would there be a page called domain.com/kts915/wp-admin? Don’t you just want to use %%current_user_login%% without the /wp-admin tacked on to the end?

    @kts915, Rather than being argumentative, you might want to read up on multisite networks. It only takes a few minutes right here on wp.org and it’s the first result when searching for multisite. http://codex.wordpress.org/Create_A_Network

    For multisite set up for paths rather than subdomains, new subsites go in a folder of the root install so, domain.com/kts915 would be YOUR subsite and so domain.com/kts915/wp-admin would be the wp-admin for YOUR subsite and domain.com/kts915/wp-login would be your login page for your subsite. Being as YOU would be the admin for your subsite, it makes sense that you would need access to the admin area to build and edit your subsite. A subsite has an entire admin area just like a full install and someone needs to administer it. That would be a member with admin privileges. Roles on a multisite network are a little different than single site. Admin has slightly reduced capabilities and Super-admin is the new top dog.

    I really find it hard to believe that someone answering support questions for a membership plugin that “supports multisite” doesn’t know the very basics of how multisite works. Seriously, use the link above. It’s only 10 minutes of reading. This is very basic stuff that you should know.

    @jhnpldng,

    I really find it hard to believe that someone making such comments on wordpress.org doesn’t know how to recognize the difference between a support rep and an ordinary user.

    I never said you were a support rep. I said “someone answering support qyuestions”.
    Your name is all over the place on this forum so if you want to take it upon yourself to be helpful, educate yourself instead of arguing with someone so you don’t look so ignorant.

    I know this is an old topic but……….
    @collinsavenue
    With multisite, there’s an entire new set files for each subsite, including an entire admin folder, wp-config, wp-admin, wp-login etc so the only way you can login to domain.com/subsite01 is through domain.com/subsite01/wp-login

    SO if you have the main site plus 9 subsites, there’s 10 different wp-login/php files.

    The admin for the subsite, just needs to go to the subsite. To make it easier, you could use multisite dropdown plugin which would give you a dropdown of all your sites.
    Other than that, I think it would take some coding to redirect someone to their subsite from the main site. Probably extensive rewrite of wp-login for the main site.

    @jhnpldg,

    I bow to your obviously greater knowledge of multisite, and look forward to your helping others here in future.

    And, obviously, you’ll never ask any questions, because you’ll know all the answers already, so you’ll be quite perfect.

    actually, I don’t know much and if I don’t know about something, I don’t try to answer questions about that subject because I would just be wasting someone’s time.(and I might make myself look like a jackass)

    I don’t think I’ll be answering many questions on this plugin. Something that overwrites the core is way over my head. I have read somewhere before though that rule #1 for wp developers is “don’t touch the core”.

    But hey, what good is all that reading, etiquette and rules stuff anyway.

    So you’re just someone who says nothing (except, apparently today) and lets the forums go cold. Great! That’s exactly what it was like here 18 months ago. No-one got any replies; no-one helped one another. Everyone was either too lazy or too worried about being called a jackass, so paralysis set in.

    If that’s how you like your forums, fine. Personally, I’d prefer them to be active. And yes, it’s a community forum, so people (including me) will make mistakes. That’s why I don’t claim to know everything and do ask questions when I’m not sure. But we now have several people around here helping others.

    Apparently, you think my questions on this thread were “argumentative.” Actually, as I said, I was intrigued. I wanted to know something, and so I asked. If that gets me criticized or being a jackass, then so be it. I can take it.

    Unfortunately, throwing such epithets around tends to put others off from helping out though, because they don’t want to be on the wrong end of such barbs. So good job!

    collinsavenue went away with his/her question unanswered and probably gave up and left more frustrated than when he/she first asked the question. Not productive, Not helpful. End of story.

    And silence would have changed that?

    Yeah, right.

    A lot of people will click on a topic that has no replies but will ignore the ones with replies thinking that someone is already being helped. Especially if the reply is by someone who’s name shows up repeatedly because they might assume the person is getting help from someone knowledgeable.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘How to redirect to multisite username wp-admin?’ is closed to new replies.