Go Back   HostGator Peer Support Forums > General Discussion > Webhosting

Notices

Reply
 
Thread Tools
  #1  
Old 02-07-2012, 09:10 AM
gr00316 gr00316 is offline
Hatchling Croc
 
Join Date: Mar 2009
Posts: 5
Default URL Layout Question

Here's my basic situation. I have a place on a webpage where teachers can great their own webpages. Currently to get to one of the users pages you have to go here:

http://www.siteurl.com/webapps/teach...NAME/index.php

I would like to be able to do:

http://www.teachers.siteurl.com/USERNAME

I tried creating a subdomain for teachers and having it redirect to the teacherwebpage directory and just hoping that then by adding the username at the end it would pick up the index.php file but didn't seem to work.

Sorry if this is a simple question.

Thanks for the help.

Ed
Reply With Quote
  #2  
Old 02-07-2012, 11:11 AM
gr00316 gr00316 is offline
Hatchling Croc
 
Join Date: Mar 2009
Posts: 5
Default Re: URL Layout Question

Solved it, was my own fault, had the document root set incorrectly. Works great now.
Reply With Quote
  #3  
Old 02-17-2012, 12:45 PM
beiker's Avatar
beiker beiker is offline
Baby Croc
 
Join Date: Feb 2012
Posts: 55
Default Re: URL Layout Question

Hi. Got page not found on the siteurl link above. Can you please share what changes you made on the document root?

Thanks.
__________________
You're never a loser until you quit trying.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP to control link-based content within CSS page layout patwa Webhosting 4 06-02-2008 11:07 PM
New URL Robert Paulson Shared Hosting Support 21 03-02-2008 01:04 AM
A dumb question re: url redirects mc9000 Pre-Sales Questions 6 07-27-2007 03:27 PM

All times are GMT -5. The time now is 06:52 AM.