![]() |
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.
|
Move your blog into a subdirectory and put up the warning page on an index file in the root directory.
|
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?
|
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. |
Quote:
|
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.
|
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. |
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