Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 74 total)

  • Hope
    Participant

    @amalsh

    If any one faces the same issue, the problem is not in the .htaccess file (it’s correct)! The problem is in the apache configuration file, assure that you put AllowOverride all in the virtual host directive.


    Hope
    Participant

    @amalsh

    Any suggestion?


    Hope
    Participant

    @amalsh

    I’ve already tried to change the location of the https lines in the htaccess file but nothing changed :S the file is in the wordpress directory i.e in the socialnetwork directory in my case.

    Thanks


    Hope
    Participant

    @amalsh

    If I remove the socialnetwork part, all pages are redirected to the homepage!


    Hope
    Participant

    @amalsh

    The entire content is as follows:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    RewriteBase /socialnetwork/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /socialnetwork/index.php [L]
    </IfModule>

    Hope
    Participant

    @amalsh

    @henrywright sure, turning a wordpress website into https requires as mentioned in most of the references:
    1- adding:

    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    to the htaccess file
    2- Modifying site and wordpress addresses (in the general settings).

    Talking about the htaccess file led us to what we were talking above (to assure that the basic htaccess file is right)…

    So again, have I missed something?


    Hope
    Participant

    @amalsh

    Yes I gave WordPress its own directory under the site root and Buddypress is working fine! My website is working fine from about a year an a half, the problem is in turning it into HTTPS which is not working :S


    Hope
    Participant

    @amalsh

    Don’t I need to mention the site folder? like if my website is http://your-site.com/wordpress, I put:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>

    Hope
    Participant

    @amalsh

    I get this error when trying to open any page except homepage (example the login page):

    Not Found
    The requested URL /socialnetwork/wp_login/ was not found on this server.

    In the error log I got for example:
    [Wed May 20 00:22:24 2015] [error] [client ............] File does not exist: /var/www/favicon.ico, referer: https://......./socialnetwork/wp_login/


    Hope
    Participant

    @amalsh

    Like where? What could it be for example?


    Hope
    Participant

    @amalsh

    Don’t worry… I have the basic .htaccess file:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /socialnetwork/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /socialnetwork/index.php [L]
    </IfModule>

    Hope
    Participant

    @amalsh

    Hi @henrywright,

    Thanks for replying… Actually I’ve already done this and modified the site URL as mentioned in the guide but got the issue mentioned previously! Have I missed something?

    Thanks


    Hope
    Participant

    @amalsh

    Thanks a lot guys, it’s working now 🙂 Many thanks…


    Hope
    Participant

    @amalsh

    Thank you for replying… Actually I’m not using any BP search plugin, it’s included in the theme I’m using. I’m using “Custom Community” theme.

    Hope


    Hope
    Participant

    @amalsh

    Okay, I’ll search for how to use filters and try it.

    Thank you


    Hope
    Participant

    @amalsh

    @hnla Thanks for your reply and help!

    would you please give me an example of how to use the filters? and where to find it? for example, in “bp_core_validate_user_signup” function there are:
    $result = apply_filters( ‘wpmu_validate_user_signup’, $result );
    and
    return apply_filters( ‘bp_core_validate_user_signup’, $result );

    Are those the filters you meant? How can I use it?

    Unfortunately I cannot prevent underscores in usernames since the naming policy in my institution for the users is: name_number and it should be used the same in the social network.

    Thanks
    Hope


    Hope
    Participant

    @amalsh

    Thanks @danbp for your reply.

    Wow @qobalt, thanks a lot.. This solved the issue for me… Thaaanks 🙂


    Hope
    Participant

    @amalsh


    Hope
    Participant

    @amalsh

    Dear @mehdi-w,
    Thanks for replying… Actually I don’t want to convert the whole interface to RTL, I just want the activity updates and comments to be RTL when writing Arabic. Any solution?


    Hope
    Participant

    @amalsh

    Hi @mehdi-w,

    I noticed that you posted a topic about this issue but it’s closed now! Did you find any solution?

    Thanks in advance
    Hope


    Hope
    Participant

    @amalsh

    Dears,

    In my case, the problem was in naming the wordpress directory. The name should not contain capital letters. I renamed it and made it all small letters & the problem was solved..

    Regards
    Hope


    Hope
    Participant

    @amalsh

    Thanks guys for replying,


    @mercime
    , it’s an upgrade for the latest versions of WP & BP. I’m using “Custom Community” theme which is BP compatible.

    Thank you @r-a-y, it works now after I applied the changeset.

    Thanks
    Hope


    Hope
    Participant

    @amalsh

    Any idea?


    Hope
    Participant

    @amalsh

    Hi meg@info,

    Thanks for replying… Actually I need to add restrictions on the entered email so this plugin is not what I need.
    I already did modifications on the function but in the core file and this is not right, core files should not be modified. There should be a way to do this (overwrite a core function).

    How could this be done?

    Thanks in advance
    Hope


    Hope
    Participant

    @amalsh

    Any idea?

Viewing 25 replies - 1 through 25 (of 74 total)
Skip to toolbar