Forum Replies Created
-
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.Any suggestion?
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
If I remove the socialnetwork part, all pages are redirected to the homepage!
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>
@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?
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
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>
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/
Like where? What could it be for example?
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>
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
Thanks a lot guys, it’s working now 🙂 Many thanks…
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
Okay, I’ll search for how to use filters and try it.
Thank you
@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
HopeGot the solution from this link:
http://wordpress.stackexchange.com/questions/60793/customize-activity-stream-buddypressThanks
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?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
HopeAny idea?
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
HopeAny idea?