Skip to:
Content
Pages
Categories
Search
Top
Bottom

Bad URL being generated for registration page

  • @blongwp

    Participant

    Hi I am a newbie to BuddyPress and WordPress.

    I am using WordPress 4.1.1, BuddyPress 2.2.1 with theme Twenty Fifteen (tried with eleven, twelve and thirteen as well)

    * I enabled registration for all.
    * I went to the BuddyPress settings, left the components at the default settings.
    * On the Page tab pages were generated for Members, Activities, Registration and Activation.
    * If I press the view button for the registration page I get a blank page displayed with the following url. <host>:<port>/index.php/register/
    * If I log out and press the register link the url is <host>:<port>/register/ and I get a 404

    I searched your forums and there seems to be a number of people with this or a similar problem but I could not find a solution.

    Any help would be appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @danbp

    Participant

    Did you setup pretty permalinks ? Use what you want, except “by default”.

    @blongwp

    Participant

    Yes permalinks are set to use /index.php/%postname%/

    @danbp

    Participant

    have you the same issue when BP is deactivated ?
    are you on a local install actually ?
    is this exactly what you see: <host>:<port>/index.php/register/

    @blongwp

    Participant

    If I deactivate BP the register link is /wp-login.php?action=register and I get the word press page.
    Sorry, it’s a local installation. BP sounds like its just what I need and I am trying to give it a test drive.
    No I see the greater and less than symbols as expected. The escaping is just from the cut and paste into the post.

    @blongwp

    Participant

    Could my environment be a factor?

    Windows 7
    IIS 7.5
    PHP 5.4.9
    Port 8081

    @blongwp

    Participant

    Let me clarify the greater and les than symbols thing. They are not in my urls.

    @ihavetodothis

    Participant

    Hey,

    I’m running BP on a local setup myself. Also new about two weeks in. But for my local installation, my link is localhost/mysite/pretty-link. Shouldn’t yours be similar?

    @blongwp

    Participant

    My urls are localhost:8081/index.php/pretty-link. I selected the postname example on the permalink settins page.
    How are you setting up your permalinks?

    @blongwp

    Participant

    Problem solved… Thank you to everyone that helped.

    IHaveToDoThis, your comments pointed me to the problem.

    Seems that IIS does not support mod_rewrite.

    I solved the problem using this link. http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module.

    I just installed the rewrite module and added a rewrite rule to my web.config…
    <rewrite>
    <rules>
    <rule name=”wordpress” patternSyntax=”Wildcard”>
    <match url=”*”/>
    <conditions>
    <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true”/>
    <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true”/>
    </conditions>
    <action type=”Rewrite” url=”index.php”/>
    </rule>
    </rules>
    </rewrite>

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bad URL being generated for registration page’ is closed to new replies.
Skip to toolbar