Creating a CUSTOM URL for users/members

17 years 8 months ago #18786 by bennieblanco
Replied by bennieblanco on topic Re:Creating a CUSTOM URL for users/members
but even when I do this www.nocniagenti.com/63 instead

www.nocniagenti.com/neo same message apears

and neo.nocniagenti.com is coming back as 404 server error

I use this :

[code:1]
# $Id: htaccess.txt,v 1.10 2003/12/22 10:37:29 rcastley Exp $
#
# htaccess file for SEF
# @package Mambo Open Source
# @Copyright (C) 2000 - 2003 Miro International Pty Ltd
# @ All rights reserved
# @ Mambo Open Source is Free Software
# @ Released under GNU/GPL License : www.gnu.org/copyleft/gpl.html
# @version $Revision: 1.10 $

#
# File modified on Sun Aug 13 13:36:43 2006 by server
# mod_rewrite is not a supported htaccess directive
# mod_rewrite in use
#

RewriteEngine On

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

# RewriteBase /YourMamboDirectory
RewriteBase /
#
# Rules
#

RewriteRule ^content(.*) index.php
RewriteRule ^component/(.*) index.php
RewriteCond %{HTTP_HOST} ([^/]+)\.nocniagenti\.com [NC]
RewriteCond %1 !www$ [NC]
RewriteRule ^(.*)$ www.nocniagenti.com/%1 [R,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L][/code:1]

Please Log in to join the conversation.

17 years 8 months ago #18787 by bennieblanco

Please Log in to join the conversation.

17 years 8 months ago #18788 by bennieblanco
Replied by bennieblanco on topic Re:Creating a CUSTOM URL for users/members
it must be soething with this line

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

Please Log in to join the conversation.

17 years 8 months ago #18789 by bennieblanco
Replied by bennieblanco on topic Re:Creating a CUSTOM URL for users/members
ok now I know it is rewriting when I change the end of this line to mu user ID



RewriteRule ^([^/]+)/?$ index.php?option=com_comprofiler&task=userProfile&user=63 [L]

www.nocniagenti.com/neo works now also if you type
www.nocniagenti.com/blabla is edirecting to my profile

so it must be the end of this line that need to be changed

neo.nocniagenti.com does not work at all

Please Log in to join the conversation.

17 years 8 months ago #18791 by gypsydogg
Replied by gypsydogg on topic Re:Creating a CUSTOM URL for users/members
So did you get this to work with SEF on?

gypsydogg

Please Log in to join the conversation.

17 years 8 months ago #18792 by bennieblanco
Replied by bennieblanco on topic Re:Creating a CUSTOM URL for users/members
yes sef on only las part missing
I think we used simular code for las visitor tab I am triying to find it it is a small peace that comes
right after com_comprofiler&task=userProfile&user= ?????

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.246 seconds

Facebook Twitter LinkedIn