Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 81 total)
  • Profile photo of Hope
    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.

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Any suggestion?

    Profile photo of Hope
    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

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

    Profile photo of Hope
    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>
    Profile photo of Hope
    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?

    Profile photo of Hope
    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

    Profile photo of Hope
    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>
    Profile photo of Hope
    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/

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Like where? What could it be for example?

    Profile photo of Hope
    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>
    Profile photo of Hope
    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    That’s why I said “without using “BuddyPress Xprofile Custom Fields Type” plugin” ^_^ The default BP profile fields don’t include Email field, that’s why I’m using “Text Box”.
    I cannot use the mentioned plugin for now because I’ve done a special processing for some fields, that won’t work with this plugin….

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    I posted this issue in bbpress support forums but haven’t got an answer yet, maybe here I can get one.

    Thanks
    Hope

    Profile photo of Hope
    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

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

    Thank you

    Profile photo of Hope
    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Thanks @danbp for your reply.

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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Profile photo of Hope
    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?

    Profile photo of Hope
    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

    Profile photo of 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

    Profile photo of 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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Any idea?

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