SEF Advance extension for Community Builder
- Saka
-
Topic Author
- Offline
- Administrator
-
How did you achieveit without SEF Advance? Using mod_rewrite? In that case it may work with SEF Advance installed. All you need to do is to download the free trial and test.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- illPhever
-
- Offline
- New Member
-
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Fersac
-
- Offline
- New Member
-
- Thank you received: 0
I put the debug on and I realize that all the link started to redirect to one link only. The link to edit the profile.
When I click on the member list it redirects to members profile.
When I create account, it redirects to members profile.
So I get always you are not authorized to see this page...
Did anyone have this kind of problem???
Saka do you know why this is happening?
Please Log in or Create an account to join the conversation.
- Saka
-
Topic Author
- Offline
- Administrator
-
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- illPhever
-
- Offline
- New Member
-
- Thank you received: 0
I downloaded the trial version of SEF Advance to test it with the modrewrite code i'm using to redirect user profiles. I haven't been successful yet. Mike's rewrite doesn't work at all with SEF Advance, so I tried Trail's suggestion from the CB forums, which adds the following to .htaccess:Having it in form www.mydomain.com/username would cause unneccessary high load because SEF would need to check wheter "username" is a component, section, static page or username, going through the whole userlist (imagine 100.000 users).
How did you achieveit without SEF Advance? Using mod_rewrite? In that case it may work with SEF Advance installed. All you need to do is to download the free trial and test.
RewriteEngine On
DirectoryIndex index.php
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L]
I haven't been able to successfully incorporate this into the default SEF Advance .htaccess file. It appears that these 2 rewrite rule lines are stepping on each other:
RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L]
and
RewriteRule ^(.*) index.php
Any suggestions to get these to play nicely together so that I can use SEF Advance?
Please Log in or Create an account to join the conversation.
- Saka
-
Topic Author
- Offline
- Administrator
-
mydomain.com/username
even if it could be achieved would cause unneccessary load and many problems.
I suggest you drop that idea, install CB extension and settle on:
mydomain.com/profile/username
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.