test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • marm Friend
    #149712

    I want to set the index priority to give html priority over php till my site goes live. this way I can have a html holding page but still test the site using index.php

    Has anyone used the “DirectoryIndex” directive within a htaccess file to set the priority?

    DirectoryIndex index.html

    I cant get it to work, my htaccess knowledge is limited

    any help would be great

    questbg Friend
    #337225

    Hi marm

    Would it not be easier to create a subdomain for the dev site?

    That way you can leave the html site (holding page) intact until the .php site is working in the subdomain, and then transfer across to replace the html site?

    This is the way I always work.

    marm Friend
    #337229

    Yes that does make sense.

    Do i just ftp the files from the subdomain to the root when i’m ready?

    questbg Friend
    #337231

    Hi marm

    That always works for me!

    Just make sure no ‘hard coded’ links are still pointing at the subdomain … for instance:

    http://subdomain.mysite.com/link

    when it should be:

    http://www.mysite.com/link

    Hope this helps!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  questbg 14 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum