Very Basic Website Question...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clickity click
    So Fecking Bummed
    • Aug 2014
    • 3682

    #1

    Very Basic Website Question...

    Hey,

    I have a website that I don't wish to be made public yet. I have a "holding page".
    It is mysite.com/index.htm

    I would like to make a fancy wordpress site which I installed. It's address is mysite.com/index.php

    The problem is if I go to the index.php it just loads the index.htm Does htm take precedence over .php?

    How can I edit and view my new wordpress site but hide the root domain?
  • AdultKing
    Raise Your Weapon
    • Jun 2003
    • 15601

    #2
    .htaccess

    Let me google that for you

    Comment

    • clickity click
      So Fecking Bummed
      • Aug 2014
      • 3682

      #3
      Originally posted by AdultKing
      Can you read?

      Because your answer doesn't help me at all. I don't want people not to see my site. Actually I want them to see the main page but I want to edit the rest of the pages. See?

      Comment

      • AdultKing
        Raise Your Weapon
        • Jun 2003
        • 15601

        #4
        Originally posted by clickity click
        Can you read?

        Because your answer doesn't help me at all. I don't want people not to see my site. Actually I want them to see the main page but I want to edit the rest of the pages. See?
        You can still do that with .htaccess rules.

        Fuck you're stupid.

        Comment

        • clickity click
          So Fecking Bummed
          • Aug 2014
          • 3682

          #5
          Originally posted by AdultKing
          You can still do that with .htaccess rules.
          Look stupid. If you are not going to help get TFOOMT.

          Thanks.

          Comment

          • clickity click
            So Fecking Bummed
            • Aug 2014
            • 3682

            #6
            Still need help.

            Comment

            • CPA-Rush
              small trip to underworld
              • Mar 2012
              • 4927

              #7
              hahahaha

              automatic exchange - paxum , bitcoin,pm, payza

              . daizzzy signbucks caution will black-hat black-hat your traffic

              ignored forever :zuzana designs

              Comment

              • Serge Litehead
                Confirmed User
                • Dec 2002
                • 5190

                #8
                Originally posted by clickity click
                Hey,

                I have a website that I don't wish to be made public yet. I have a "holding page".
                It is mysite.com/index.htm

                I would like to make a fancy wordpress site which I installed. It's address is mysite.com/index.php

                The problem is if I go to the index.php it just loads the index.htm Does htm take precedence over .php?

                How can I edit and view my new wordpress site but hide the root domain?
                it shouldn't load index.htm file if you go to index.php (unless something somewhere defined or tells it to do so, which is not a default behaviour)

                if you are going to yoursite.com/ and seeing index.htm that's what you wanted actually. your visitors can see your index.htm at yoursite.com/ and you can work on your index.php that your can preview by going to yoursite.com/index.php directly

                index.htm may have a precedence - it usually defined in httpd.conf or can be added to .htaccess, or possibly could be somewhere in cpanel

                Comment

                • Serge Litehead
                  Confirmed User
                  • Dec 2002
                  • 5190

                  #9
                  just realized it's a WP that doing redirect to the root of domain and you end up with index.htm

                  you'll need to find a work around to that which is going to suit you best. like a maintenance plugin that allows custom page. or just put an index.htm and setup development version on a subdomain or folder.

                  some .htaccess voodoo may get you both files working fine as intended though

                  Comment

                  • moln4r
                    Confirmed User
                    • Apr 2010
                    • 146

                    #10
                    Install some "coming soon" plugin to wp, for example the SunshinePlugin allows you to define that only you can see the index page visitors only see the coming soon page.
                    Webcam Performers Wanted
                    Cheap Dedicated Servers
                    Affiliate revenue calculator
                    Make as much $$$ as you want

                    Comment

                    • 420
                      cuck
                      • Mar 2003
                      • 11571

                      #11
                      Is this a trick question? Rename index.php
                      <!--BEGIN SIMUTRONICS PLAY BUTTON CODE -->
                      <p align="center">

                      <a href="http://buddy.play.net/dr?TMOREAU1">

                      <img src="drplay.gif" width="128" height="64" alt="Play DragonRealms!"></a></p>

                      <!--END SIMUTRONICS PLAY BUTTON CODE -->

                      Comment

                      • clickity click
                        So Fecking Bummed
                        • Aug 2014
                        • 3682

                        #12
                        Originally posted by holograph
                        just realized it's a WP that doing redirect to the root of domain and you end up with index.htm

                        you'll need to find a work around to that which is going to suit you best. like a maintenance plugin that allows custom page. or just put an index.htm and setup development version on a subdomain or folder.

                        some .htaccess voodoo may get you both files working fine as intended though
                        Ok, i'll try .htaccess. thanks

                        Comment

                        • LouiseLloyd
                          SO FUCKING SCAMMED
                          • Mar 2010
                          • 1429

                          #13
                          Not an answer to your question as such, but thought you might appreciate this...

                          https://wordpress.org/plugins/ultima...ing-soon-page/

                          A "Coming Soon" holding page for wordpress, all guest see the coming soon page, only admin can access full site.

                          Comment

                          • LouiseLloyd
                            SO FUCKING SCAMMED
                            • Mar 2010
                            • 1429

                            #14
                            Originally posted by moln4r
                            Install some "coming soon" plugin to wp, for example the SunshinePlugin allows you to define that only you can see the index page visitors only see the coming soon page.
                            Oops missed this, but yeah agree, will serve your requirements.

                            Comment

                            • k33n
                              Confirmed User
                              • Feb 2009
                              • 201

                              #15
                              I would do it with htaccess rule

                              Rewrite condition ^! M\Y\I\P\
                              Rewrite rule ^(.*) /yourhtmfile.htm [L, R=302]

                              Not the exact code but is something similar.Google will tell you more

                              Comment

                              Working...