( Zaloguj | Zarejestruj )
![]() ![]() |
02.5.2009 - 18:52
Post
#1
|
|
|
Grupa: Bloger Postów: 5 Nr: 6 004 |
Witam. Mam pytanie jak stworzyć własną podstronę w wordpressie ? z własnym kodem php ?
zrobiłem coś takiego: tosiek (jest na dole) Ale wywala 404 ;/ A w tworzeniu stron jest tylko html nie ma miejsca na php ;/(w panelu admina) kod: KOD <?php
if ($_SERVER["REQUEST_URI"] == "/sprawdzanie-poprawnosci-wysylania-xhtml.php") { header("HTTP/1.1 301 Moved Permanently"); header("Location: http://tosiek.pl/sprawdzanie-poprawnosci-wysylania-xhtml/"); exit; } /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); //reszta... ?> Ten post edytował tosiek 05.7.2009 - 18:07 -------------------- |
|
|
|
02.5.2009 - 20:01
Post
#2
|
|
![]() aktywność: ![]() ![]() ![]() ![]() Grupa: +Bloger Postów: 459 Nr: 3 567 |
-------------------- WPNinja - WordPress to moje Kung-Fu
|
|
|
|
![]() ![]() |
| : 23 05 12 - 16:10 |