![]() |
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? |
|
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? |
Quote:
Fuck you're stupid. |
Quote:
Thanks. |
Still need help.
|
hahahaha
|
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 |
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 |
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.
|
Is this a trick question? Rename index.php
|
Quote:
|
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. |
Quote:
|
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 |
All times are GMT -7. The time now is 04:49 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc