Results 1 to 6 of 6

Thread: Changing home page

  1. #1
    Join Date
    Aug 2008
    Posts
    2

    Default Changing home page

    Hi all, am new here and a total novice at using this cracking peace of of software, but its awesome none the less.
    Ok as a novice my issue is, I got myself all set up n running but...I set up my site with the index page in www.yourname.com/vshare - how do I change this so that my visitors go www.yourname.com n not the vshare extnt?
    Any help here will be appreciated thanks.

  2. #2

    Default Re: Changing home page

    Create index.html page with the following content

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Redirect</title>
    <meta http-equiv="REFRESH" content="0;url=http://www.yourname.com/vshare"></HEAD>
    <BODY>
    
    Optional page text here.
    
    </BODY>
    </HTML>
    upload to public_html page

  3. #3
    Join Date
    Aug 2008
    Posts
    2

    Default Re: Changing home page

    Great thanks, site is now working. Much appreciation for your help. The only problem was it seems that my configuration does not read html files, I had to change the extn to php for it to work.
    Once again many thanks. :D

  4. #4
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Changing home page

    Another way of doing it (albeit more complicated--but not impossible) is to simply copy everything into the root directory and just change the config files to reflect the new location (removing references to the /vshare directory usually in include/config.php and the cgi-bin config file).
    If it's not fun, stop doing it!

  5. #5
    Join Date
    May 2007
    Posts
    394

    Default Re: Changing home page

    Quote Originally Posted by grynmoors
    Another way of doing it (albeit more complicated--but not impossible) is to simply copy everything into the root directory and just change the config files to reflect the new location (removing references to the /vshare directory usually in include/config.php and the cgi-bin config file).
    I just wonder if any of the mysql tables store the vshare root path... if so they would need to be changed also. Do you know if this is the case, Grynmoors?

  6. #6
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Changing home page

    Just move all files in vshare folder to root folder (public_html, httpdocs, etc...).

    Now edit include/config.php correct the value for

    Code:
    $config['basedir']        =  "/home/web/vshare";
    $config['baseurl']        =  "http://yourdomain.com";
    If you use upload progress bar, update cgi-bin/uu_default_config.pm with new path and url.

Similar Threads

  1. Recent page as home page
    By james739 in forum Template Modifications
    Replies: 3
    Last Post: 07-01-2009, 06:50 AM
  2. Changing "home" link in jw player 4.2
    By tradertt in forum Installation Support
    Replies: 1
    Last Post: 04-18-2009, 09:13 AM
  3. BLANK HOME PAGE... HELP!
    By browniegirl in forum Template Modifications
    Replies: 3
    Last Post: 10-25-2007, 07:31 AM
  4. How to put more videos on the home page?
    By zinctek in forum Template Modifications
    Replies: 12
    Last Post: 09-23-2007, 10:47 AM
  5. Changing the home page filename
    By dapanther99 in forum General Discussions
    Replies: 1
    Last Post: 07-10-2007, 12:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •