|
![]() |
#1 |
Rock stars ... is there anything they don't know?
Join Date: Mar 2008
Posts: 12
|
static warning page on wp
how do you go about puttung a static warning page on a wp-blog. my blog is up and running and has about 10 post so far. im getting most of my traffic from seo and links, but i would like to have a warning page come up when someone comes to the site by typing the domain name in the address bar.
|
![]() |
![]() |
![]() |
#2 |
And Lord, we are especially thankful for nuclear power, the cleanest, safest
energy source there is. Except for solar, which is just a pipe dream Join Date: Sep 2008
Posts: 229
|
Move your blog into a subdirectory and put up the warning page on an index file in the root directory.
|
![]() |
![]() |
![]() |
#3 |
Rock stars ... is there anything they don't know?
Join Date: Mar 2008
Posts: 12
|
thanks for the quick reply. is there anyway to leave what i have on the root directory and put a static warning page in front of it?
|
![]() |
![]() |
![]() |
#4 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
in your .htaccess put
DirectoryIndex index.html index.php Make your warning page index.html, have it point to index.php as the enter link.
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
#5 |
Rock stars ... is there anything they don't know?
Join Date: Mar 2008
Posts: 12
|
is that the exact coding that i need to put into my .htaccess, also in my .htaccess i have a rewritemod to make the "pretty" permalinks, will adding extra directions affect that in anyway?
|
![]() |
![]() |
![]() |
#6 |
old enough to be Grandma Scrotum
|
There's another way. If you go into Settings >> Reading there's an option to have a static page as the front page of your blog. You need to create an actual Page (as opposed to Post) for the front page and another Page for your overall posts page.
__________________
![]() |
![]() |
![]() |
![]() |
#7 |
Oh no, I'm sweating like Roger Ebert
|
With current versions of WP (2.1x and above) it's possible to create a static page to act as your index page. Here is the best instructions I've found.
Wordpress static home page. They talk about wp2.1 but I recently did it following their instructions with 2.63. I imagine it would work flawlessly with 2.7 as well. |
![]() |
![]() |
![]() |
#8 |
a.k.a. Sparky
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
|
if you do the .htaccess method, you will want to put it in the existing .htaccess file near the top, keeping the rest of the code in there so that your permalinks don't break.
If you want to do it within wordpress, grandmascrotum's method works as well (I had forgotten that feature was there)
__________________
SnapReplay.com a different way to share photos - iPhone & Android |
![]() |
![]() |
![]() |
|
|