change url
-
Hello,
WordPress MU 2.7.1.
BuddyPress 1.0.2
Do you know how to manage the url address out of the standard buddypress theme.
Like for example to transform:www.domaine.com/GROUPS
into
http://www.domain-name.com/COMMUNAUTIES
Thank you
Have a good day
-
Thank you but me, in my wp-config.php i have not
01.define ( ‘BP_ACTIVITY_SLUG’, ‘streams’ );
02.define ( ‘BP_BLOGS_SLUG’, ‘journals’ );
03.define ( ‘BP_MEMBERS_SLUG’, ‘users’ );
04.define ( ‘BP_FRIENDS_SLUG’, ‘peeps’ );
05.define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );
06.define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );
07.define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );
08.define ( ‘BP_XPROFILE_SLUG’, ‘info’ );
09.
10./* Some other non-component slugs */
11.define ( ‘BP_REGISTER_SLUG’, ‘signup’ );
12.define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );
13.define ( ‘BP_SEARCH_SLUG’, ‘find’ );
14.define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );
Do you know where is this?
You have to add whichever custom slug definition you want to use into your wp-config.php file.
It’s ok
It’s solved.
One part is in bp-core.php, the other part is in bp-groups.php
thank you for helping me.
Have a good day
Just remember, when you make changes to the core code, like it appears you have, those changes will be lost the next time you upgrade BuddyPress.
That is why you should use the wp-config.php file for customizing your slugs.
Okay thank you,
But how can i use the wp-config.php fil because in this file i have not this code:
01.define ( ‘BP_ACTIVITY_SLUG’, ‘streams’ );
02.define ( ‘BP_BLOGS_SLUG’, ‘journals’ );
03.define ( ‘BP_MEMBERS_SLUG’, ‘users’ );
04.define ( ‘BP_FRIENDS_SLUG’, ‘peeps’ );
05.define ( ‘BP_GROUPS_SLUG’, ‘gatherings’ );
06.define ( ‘BP_MESSAGES_SLUG’, ‘notes’ );
07.define ( ‘BP_WIRE_SLUG’, ‘pinboard’ );
08.define ( ‘BP_XPROFILE_SLUG’, ‘info’ );
09.
10./* Some other non-component slugs */
11.define ( ‘BP_REGISTER_SLUG’, ‘signup’ );
12.define ( ‘BP_ACTIVATION_SLUG’, ‘enable’ );
13.define ( ‘BP_SEARCH_SLUG’, ‘find’ );
14.define ( ‘BP_HOME_BLOG_SLUG’, ‘news’ );
So how can i change?
You must have missed my second post in this thread where I answered:
You have to add whichever custom slug definition you want to use into your wp-config.php file.
Sorry!
And do you know where in wp-config.php?
wp-config.php can be found in:
http://example.com/wp-config.php
Basically the directory which you installed WPMU in.
r-a-y
I think he means where within the wp-config file should he place new slug definitions.
As Andy’s article states:
paste the lines you need for those slugs … into your wp-config.php file somewhere before the “Stop Editing!†line.
Ahh you’re right, Jeff (as always!).
Misread rickgoz2009’s post!
Yes I input those slugs in wp-config.php juste before the “Stop Editing!†line.
BUT input done; my little avatar in the profil menu (Activities, Wire, Message, Friends, Groups..) disappeared
Have you got an idea?
Nobody can help me?
If I put those slug in the config.php, my little avatar in Groups Page, near friends, messages, wire, disappear ..
Yep, the CSS matches the default names of the slugs. You need to enter custom CSS to get the icons back. If I get time when I’m back in from work, I’ll post what you need here.
Thank you very much!
I have not solved my problem..
I did not find where i have to change CSS data..
So I waiting for you!
Thanks!
@DJ PAUL
Can you help me to put my little avatar again?
I understand that you cannot do this for me BUT can you give some advice?
Thank you very much
When you say avatar – if you mean the user’s picture, changing the custom slugs ought to not break this (famous last words). Check you didn’t change that part of the HTML – did you edit any of the template files or the CSS?
Can you give us the web address of your site so we can maybe look at what is wrong?
Hello,
Thank you for your answers.
See the picture i talking about this:
<img src=”http://phigoz.free.fr/slugs.jpg” alt=”problem” />
When I put this :
define ( 'BP_ACTIVITY_SLUG', 'activité' );
define ( 'BP_BLOGS_SLUG', 'journals' );
define ( 'BP_MEMBERS_SLUG', 'membres' );
define ( 'BP_FRIENDS_SLUG', 'peeps' );
define ( 'BP_GROUPS_SLUG', 'leschallenges' );
define ( 'BP_MESSAGES_SLUG', 'messages' );
define ( 'BP_WIRE_SLUG', 'pinboard' );
define ( 'BP_XPROFILE_SLUG', 'profil' );in the wp-config.php i have new url adress BUT my little pictures disappear
Have you got an idea?
Nobody can help me?
- The topic ‘change url’ is closed to new replies.