Creating a CUSTOM URL for users/members

18 years 1 month ago #5571 by revo2001
Replied by revo2001 on topic Re:Creating a CUSTOM URL for users/members
Any update on this? The suggested method does not work. I tried adding the code to my htacccess file and no success. I even tried registering a new user afterword.

Please Log in to join the conversation.

18 years 1 month ago #5572 by revo2001
Replied by revo2001 on topic Re:Creating a CUSTOM URL for users/members
THis is what is actually needed for this to work:

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



Works like a charm!

Please Log in to join the conversation.

18 years 1 month ago #5597 by SIGHUP
Replied by SIGHUP on topic Re:Creating a CUSTOM URL for users/members
Hmm any reason why this wouldn't work? Server options? I did all the steps and still can't get it to work.

SEF works so I suppose mod_rewrite is enabled.

I know its recogizing the RewriteRule ^([^/.]+)/?$ index.php?option=com_comprofiler&task=userProfile&user='$1' [L]
rule. Because when I try www.site.net/administrator/ it gives me a page not found.

But when I try to access a profile via www.mysite.com/userprofile it also gives me a 404 not found.

Now would the fact that my domain is able to have subdomains in the form of sub-directories have an impact on this? And if so is there a workaround?

I also access my cpanel through www.mysite.com/cpanel

Any ideas?

Post edited by: sighup, at: 2006/02/05 10:43

Please Log in to join the conversation.

18 years 1 month ago #5606 by hedingsi
Replied by hedingsi on topic Re:Creating a CUSTOM URL for users/members
I tried to ad the file but i cant edit this post-file so i have to make 2 posts sorry for that!!

Post edited by: hedingsi, at: 2006/02/05 12:17
Attachments:

Please Log in to join the conversation.

18 years 1 month ago #5607 by hedingsi
Replied by hedingsi on topic Re:Creating a CUSTOM URL for users/members
so
finaly heres my htaccess: -missing-
i have sef and seo off

you can try it at www.cyberrambo.com/cyberrambo

[Edit: removed file which was missing]

Post edited by: beat, at: 2006/09/28 02:10
Attachments:

Please Log in to join the conversation.

18 years 1 month ago #5658 by hedingsi
Replied by hedingsi on topic Re:Creating a CUSTOM URL for users/members
Sorry it was the wrong url
www.soundofdream.com/cyberrambo

PS: i am unable to edit my post... :ohmy:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.233 seconds

Facebook Twitter LinkedIn