Please support our Growing an Online Community advertiser: Get a Free Web Site Analysis!
Reply

Join Date: Jun 2005
Posts: 1
Reputation: cnlifeasitis is an unknown quantity at this point 
Solved Threads: 0
cnlifeasitis cnlifeasitis is offline Offline
Newbie Poster

Custom URL

 
0
  #1
Jan 23rd, 2006
Hi

Is anyone able to please help me achieve custom urls for my profile based website.

I want to provide users with their own domain for example:
www.myprofilewebsite.com/username

Is this a server side scripting issue or is there a better? or easier way around this?

Many thanks
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,040
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 127
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Custom URL

 
0
  #2
Mar 8th, 2006
Assuming you are running a Linux based server, you will need to use something called mod_rewrite. By adding a couple of lines in an .htaccess file you upload into the directory, you could essentially rewrite URLs. For example, you can change www.site.com/profile.php?username=dani to www.site.com/dani/

Check our Apache forum for more information about how to accomplish this

http://www.daniweb.com/techtalkforums/forum33.html
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/daniweb
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Growing an Online Community Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC