| 
Welcome, Guest

Howto: create homepages and 'subdomains' per user
(1 viewing) (1) Guest

TOPIC: Howto: create homepages and 'subdomains' per user

Re:Howto: create homepages and 'subdomains' per us 5 years, 7 months ago #16147

  • Posts:
  • Karma:
hey

maybe i'm too stupid for this ....

i want to have a profile link like domain.de/user/Lemm
i have tried to edit your htaccess code but nothing work
cann u help me pls to solve this ?

mfg Lemm

Re:Howto: create homepages and 'subdomains' per us 5 years, 7 months ago #16429

  • Posts:
  • Karma:
Hi,

I saw this and was thinking...

If the only reason a subdomain.mydomain.com structure is not possible because of the joomla cookie, then would it be possible to create the webpages outside of Joomla?

For example;

1) User subscribes to Joomla site, say "mysite.com"
2) Specifies page name, say "seeme"
3) Joomla component then creates a folder called called www.mysite.com/seeme/index.html
4) User edits homepage etc - the Joomla system updates index.html under /seeme/ folder - extra pages created etc

When user wishes to "show" their site their describe it as www.seeme.mysite.com which uses the redirection method used here (or whatever modification is required).

In this sense, Joomla is the "editor" and the "content" remains standalone outside of Joomla.

Your thoughts?
Michael

Re:Howto: create homepages and 'subdomains' per us 5 years, 7 months ago #16483

  • Posts:
  • Karma:
i am having slight trouble with this... i have corrected the htaccess as directed... but the page only says 'This profile does not exist or is no longer available'

I change the end of the rewrite to [R,L] so i could see the url that was being outputted... and i noticed that it had replaced the username with index.php

I can only assume that the rewrite is being to clever for itsself and re-writing the redirected rule and using index.php instead of the username... effectively this is where the huge loop comes in that i think was mentioned before...

Now i believe i am running php in cgi mode as the hosts say this is more secure... and i beleive this is where the problem arises from... I have seen this mentioned on the SMF forum forum.

Any ideas how to solve it?
Thanks N

Re:Howto: create homepages and 'subdomains' per us 5 years, 7 months ago #16631

  • Posts:
  • Karma:
if my joomla is in a subdir

wil my htaccess be like this??

 
RewriteEngine On
 
Options +FollowSymLinks
 
 
DirectoryIndex /index.php
RewriteBase /
 
RewriteCond %{HTTP_HOST} ([^/]+)\.dejungle.nl\dejungle\.nl [NC]
RewriteCond %1 !www$ [NC]
RewriteRule ^(.*)$ http://www.dejungle.nl\dejungle/%1 [L]
 
 
RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d

#
# usernaam toestand
#

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


or must it be like this?

 
RewriteEngine On
 
Options +FollowSymLinks
 
 
DirectoryIndex /index.php
RewriteBase /jungle/
 
RewriteCond %{HTTP_HOST} ([^/]+)\.dejungle\.nl [NC]
RewriteCond %1 !www$ [NC]
RewriteRule ^(.*)$ http://www.dejungle.nl/%1 [L]
 
 
RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d

#
# usernaam toestand
#

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

Re:url/username, no prob, now link on profile? 5 years, 7 months ago #16668

  • Posts:
  • Karma:
I have had the url/username virtual subdomain working for a while now but would like to know if someone's created a plugin or hacked the code yet to have an image and/or link like myspace.com has show members can announce automatically their URL on the website:

Link to my profile:
http://mywebsite.com/username

or

My URL on *this website*
http://mywebsite.com/username

... you get the picture... having an image next to the link also adds a bit more pizazz

Lisa

Re:Howto: create homepages and 'subdomains' per us 5 years, 7 months ago #16841

  • Posts:
  • Karma:
Hello


I am having a bit of trouble with this. zapfoo.com

It is referring back to the home page


Can you help ?

This e-mail address is being protected from spambots. You need JavaScript enabled to view it
Time to create page: 1.05 seconds