Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2009-01-28, 02:23 PM   #1
Kain Masters
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.
Kain Masters is offline   Reply With Quote
Old 2009-01-28, 02:46 PM   #2
A.J. Angel
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.
A.J. Angel is offline   Reply With Quote
Old 2009-01-28, 02:50 PM   #3
Kain Masters
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?
Kain Masters is offline   Reply With Quote
Old 2009-01-28, 03:07 PM   #4
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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
cd34 is offline   Reply With Quote
Old 2009-01-29, 12:29 AM   #5
Kain Masters
Rock stars ... is there anything they don't know?
 
Join Date: Mar 2008
Posts: 12
Quote:
Originally Posted by cd34 View Post
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?
Kain Masters is offline   Reply With Quote
Old 2009-01-29, 12:35 AM   #6
Ms Naughty
old enough to be Grandma Scrotum
 
Ms Naughty's Avatar
 
Join Date: Aug 2003
Location: Australia
Posts: 1,408
Send a message via ICQ to Ms Naughty
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.
__________________
Promote Bright Desire
Ms Naughty is offline   Reply With Quote
Old 2009-01-29, 12:37 AM   #7
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
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.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2009-01-29, 12:41 AM   #8
cd34
a.k.a. Sparky
 
cd34's Avatar
 
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
cd34 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:01 AM.


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