Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Blogs and Blogging (http://www.greenguysboard.com/board/forumdisplay.php?f=8)
-   -   static warning page on wp (http://www.greenguysboard.com/board/showthread.php?t=51182)

Kain Masters 2009-01-28 02:23 PM

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.

A.J. Angel 2009-01-28 02:46 PM

Move your blog into a subdirectory and put up the warning page on an index file in the root directory.

Kain Masters 2009-01-28 02:50 PM

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?

cd34 2009-01-28 03:07 PM

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.

Kain Masters 2009-01-29 12:29 AM

Quote:

Originally Posted by cd34 (Post 438672)
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.

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?

Ms Naughty 2009-01-29 12:35 AM

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.

walrus 2009-01-29 12:37 AM

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.

cd34 2009-01-29 12:41 AM

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)


All times are GMT -4. The time now is 07:18 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc