Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Custom Routes Will Not Work For Me...Help

I want to re-route my "Apply for Membership" button to a URL outside of Vanilla (an aMember payment form). For the "Route Expression" I have tried:

1) https://www.ploquickpro.com/community/index.php?p=/entry/register&Target=activity
2) /entry/register&Target=activity
3) /entry/register

I use the full URL for the target and 301 for the type.

Nothing works. What am I doing wrong?

Comments

  • aeryaery Gtricks Forum in 2.2 :) ✭✭✭

    Have you tried via htaccess. I guess it will be easy that way.

    By the way, you should upgrade to latest version of Nebula theme.

    There was an error rendering this rich post.

  • hgtonighthgtonight ∞ · New Moderator

    Does anyone know if routes work properly without pretty urls?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • TamaTama United Kingdom ✭✭✭


    Routed and works without pretty urls

    There was an error rendering this rich post.

    hgtonightaery
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    @hgtonight said:
    Does anyone know if routes work properly without pretty urls?

    It depends on what you route I think, I found that popups do not work with pretty urls, it goes 404. To use full urls in the routes I believe you must escape the characters but not sure on the procedure.

    hgtonightUnderDog
  • Can someone besides aery try to answer my actual question. I appreciate the other ideas, but they don't address my problem. @Aery I can't do it via .htaccess because my pretty urls do not work and therefor come up as index.php?p=/entry/register&Target=activity instead of an actual URL which I suspect is part of my problem. If I had the actual URL then I could make it work I'm sure. Trying to enable pretty URLs breaks my site.

  • x00x00 MVP
    edited July 2013

    entry/register(/.*)? -> http://your-web-addr.com/register

    Permanent (301)

    grep is your friend.

  • LincLinc Detroit Admin

    Try this pattern:

    /?entry/register.*

    Also, are you using SSO? jsConnect has this redirect option built in.

Sign In or Register to comment.