![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Raise Your Weapon
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Quote:
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? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Raise Your Weapon
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,605
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Still need help.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
|
Quote:
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
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
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
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
cuck
Industry Role:
Join Date: Mar 2003
Posts: 11,571
|
Is this a trick question? Rename index.php
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
So Fecking Bummed
Industry Role:
Join Date: Aug 2014
Posts: 3,682
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
SO FUCKING SCAMMED
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.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
SO FUCKING SCAMMED
Industry Role:
Join Date: Mar 2010
Location: UK
Posts: 1,376
|
Oops missed this, but yeah agree, will serve your requirements.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |