Creating a CUSTOM URL for users/members

17 years 7 months ago #21586 by gypsydogg
Replied by gypsydogg on topic Re:Creating a CUSTOM URL for users/members
Not really sure what those last two posts were about, I'm referring to getting www.domainname.com/username to work WITH Open SEF. I can get the mod rewrite to work without Open SEF, but once I turn OPEN SEF on, it goes downhill, I've tried every combo I can think of. I know it can work because I've seen it working at www.mybeatshop.com, Jeffason's site. What in the Heezy do I have to do to get this working?

gypsydogg

Please Log in to join the conversation.

17 years 6 months ago #21807 by houbahop
Replied by houbahop on topic Re:Creating a CUSTOM URL for users/members
This works very well, thank you !

Please Log in to join the conversation.

17 years 6 months ago #21964 by alanjulyan86
Replied by alanjulyan86 on topic Re:Creating a CUSTOM URL for users/members
Hey below is my .htaccess, when i type in ww.mysite.com/name all i get is the index page?!?! quite frustrating... would be greatful for any hlep or ideas to fix it

##
# @version $Id: htaccess.txt 1005 2005-11-13 17:33:59Z 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
##

Options +FollowSymLinks

#
# 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 /NEW/

#
# Rules
#
#
# ProfileRedirector V 1.3
#
# Make sure your host allows option override
# and has ModRewrite installed

# activate Rewrite enginge

RewriteEngine On


RewriteBase /

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

# RewriteRule ^(.*) index.php?cb_username=$1
RewriteCond %{REQUEST_FILENAME} !.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

Please Log in to join the conversation.

17 years 6 months ago #22107 by nuMarc
Replied by nuMarc on topic Re:Creating a CUSTOM URL for users/members
Got it!

1.) Joomla-Administration --> Turn SEO on
2.) Download htaccess.txt from your /root
3.) Put this code into the htaccess.txt

[code:1]
##
# @version $Id: htaccess.txt 1005 2006-10-05 18:00:00Z stingrey $
# @package Joomla
# @copyright Copyright (C) 2006 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##
Options +FollowSymLinks
#
# 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 /

#
# Rules
#
#
# ProfileRedirector V 1.3
#
# Make sure your host allows option override
# and has ModRewrite installed

# activate Rewrite enginge

RewriteEngine On


RewriteBase /

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

# RewriteRule ^(.*) index.php?cb_username=$1
RewriteCond %{REQUEST_FILENAME} !.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
[/code:1]

4.) Upload htaccess.txt to your /root
5.) Rename htaccess.txt to .htacces

That's it! You can access now to the user-profiles with "www.yoursite.com/username"

Tested with:
> Joomla 1.0.11
> CB 1.0.1

;)

Post edited by: nuMarc, at: 2006/10/05 20:18

Not enough cash for a sig :-(

Please Log in to join the conversation.

17 years 6 months ago #22108 by gypsydogg
Replied by gypsydogg on topic Re:Creating a CUSTOM URL for users/members
Getting the basic one to work was not hard for me, but I still can't get it to work with OpenSEF, yet I know some people have, like mybeatshop.com made by jeffason... How did he do that?!?!?

gypsydogg

Please Log in to join the conversation.

17 years 6 months ago #22126 by nuMarc
Replied by nuMarc on topic Re:Creating a CUSTOM URL for users/members
Hum. I noticed, I have another problem. I got an index.html as my mainpage (intro page).

After login to my page, the system redirects me to this index.php instead of the index.php :blink:

Not enough cash for a sig :-(

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.222 seconds

Facebook Twitter LinkedIn