Search Engnine Friendly URLs problem

18 years 4 months ago #1523 by hedingsi
Search Engnine Friendly URLs problem was created by hedingsi
Hi

when i activate the SEF on my Website there is one thing that did not work! every thing else works fine.
I have a link to the community builder in the mainmenu to allow the users to change theyr settings. without SEF this menu item works fine. is SEF activatet comes following message:

This profile does not exist or is no longer available

.htaccess:[code:1]##
# @version $Id: htaccess.txt 423 2005-10-09 18:23:50Z stingrey $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##

#
# mod_rewrite in use
#

RewriteEngine On

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update YourJoomlaDirectory (just / for root)

# RewriteBase /YourJoomlaDirectory

#
# Rules
#
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?option=com_comprofiler&task=userProfile&user='$1'
[/code:1]

i tried to make a new installation but there is the same problem.

Demo:
www.soundofdream.com/atv/german/component
user: demo
pass: demo1234

can anybody help me?

Please Log in to join the conversation.

18 years 4 months ago #1631 by beat
Replied by beat on topic Re:Search Engnine Friendly URLs problem
Uncomment this line:

# RewriteBase /YourJoomlaDirectory

to the real base, in your case:

RewriteBase /atv/german

Otherwise not only CB but nothing else will work...

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

18 years 4 months ago #1712 by hedingsi
Replied by hedingsi on topic Re:Search Engnine Friendly URLs problem
I tried it, but it not seems to work.
Thist german/atv is only to test the SEF URLs. The real site is on www.soundofdream.com (SEF Disabled until it works).

what have you done by jp to enable the SEF? Do you use a component for this or simply the built in tool? how does the .htaccess look?

ps: Thanks for your answer!

Please Log in to join the conversation.

18 years 4 months ago #1724 by beat
Replied by beat on topic Re:Search Engnine Friendly URLs problem
hedingsi wrote:

I tried it, but it not seems to work.
Thist german/atv is only to test the SEF URLs. The real site is on www.soundofdream.com (SEF Disabled until it works).

what have you done by jp to enable the SEF? Do you use a component for this or simply the built in tool? how does the .htaccess look?

ps: Thanks for your answer!


- Sef: just turned main sef on and uncommented/adapted the RewriteBase in the renamed .htaccess, for each location.
- Downloaded the latest 404sef from joomlastuff forum.

- Mambelfish: mainly applied the recommendations from Adam aka websmurf (search for mambelfish posts from websmurf on joomla forum).

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

18 years 4 months ago #1746 by hedingsi
Replied by hedingsi on topic Re:Search Engnine Friendly URLs problem
thanks for the help 404sef is not the thing i searched.

I found the reason why i cant open my profil via the menu

[code:1]RewriteRule ^(.*) index.php?option=com_comprofiler&task=userProfile&user='$1'
[/code:1]

with this its possible to access the profile via

www.soundofdream.com/atv/german/demo (you must be logged in)

if there is no posibility to make this work i have to forgett this nice feature...

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.206 seconds

Facebook Twitter LinkedIn