Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-08-2016, 03:46 PM   #1
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
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?
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 03:47 PM   #2
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
.htaccess

Let me google that for you
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 03:55 PM   #3
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Quote:
Originally Posted by AdultKing View Post
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?
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 03:59 PM   #4
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
Quote:
Originally Posted by clickity click View Post
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.
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 04:00 PM   #5
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Quote:
Originally Posted by AdultKing View Post
You can still do that with .htaccess rules.
Look stupid. If you are not going to help get TFOOMT.

Thanks.
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 04:20 PM   #6
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Still need help.
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 05:48 PM   #7
CPA-Rush
small trip to underworld
 
Industry Role:
Join Date: Mar 2012
Location: first gen intel 80386/nintendo-gb/arcade/ps1/internet person
Posts: 4,927
hahahaha
__________________

automatic exchange - paxum , bitcoin,pm, payza

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

ignored forever :zuzana designs
CPA-Rush is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 06:50 PM   #8
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
Quote:
Originally Posted by clickity click View Post
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
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 07:04 PM   #9
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
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
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 08:27 PM   #10
moln4r
Confirmed User
 
moln4r's Avatar
 
Industry Role:
Join Date: Apr 2010
Location: Budapest
Posts: 146
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.
moln4r is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-08-2016, 08:40 PM   #11
420
cuck
 
420's Avatar
 
Industry Role:
Join Date: Mar 2003
Posts: 11,571
Is this a trick question? Rename index.php
420 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:03 AM   #12
clickity click
So Fecking Bummed
 
Industry Role:
Join Date: Aug 2014
Posts: 3,682
Quote:
Originally Posted by holograph View Post
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
clickity click is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:19 AM   #13
LouiseLloyd
SO FUCKING SCAMMED
 
LouiseLloyd's Avatar
 
Industry Role:
Join Date: Mar 2010
Location: UK
Posts: 1,376
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.
__________________
LouiseLloyd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:23 AM   #14
LouiseLloyd
SO FUCKING SCAMMED
 
LouiseLloyd's Avatar
 
Industry Role:
Join Date: Mar 2010
Location: UK
Posts: 1,376
Quote:
Originally Posted by moln4r View Post
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.
__________________
LouiseLloyd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-09-2016, 12:34 AM   #15
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
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
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
wordpress, site, website, htm, precedence, loads, index.php, index.htm, hide, root, domain, view, edit, .php, installed, public, basic, question, hey, holding, page, address, mysite.com/index.php, fancy, mysite.com/index.htm



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.