url rewriting index.php to a Page
-
well i’m trying to do is automatically redirect index.php to (example) ?page_id=3.
i’ve tried htaccess stuff – did not work
then i tried to replace<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.
<?php include (TEMPLATEPATH . “/searchform.php”); ?>which appears when there’s no post at all with
header(“Status: 301 Moved Permanently”, false, 301);
header(“Location: https://www.asite.com/wp/?page_id=3”);
exit();got an error like “header already defined”
how could i do this? thanx for suggestions & helpwhy doing this? huuurrhhhr…. think of me as the non-programmer freak trying to use WP (cos i love it) as a cms not as a blog (that is, with NO posts aaaarrgghhhh)
- The topic ‘url rewriting index.php to a Page’ is closed to new replies.