diff options
-rwxr-xr-x | pages/blog.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/blog.php b/pages/blog.php index 93d5dc6..bb47755 100755 --- a/pages/blog.php +++ b/pages/blog.php | |||
@@ -22,6 +22,11 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | |||
22 | 22 | ||
23 | require('headerproc.php'); | 23 | require('headerproc.php'); |
24 | 24 | ||
25 | if ((strpos($_SERVER['REQUEST_URI'],'index.php')) && (isset($_GET['post']))) | ||
26 | { | ||
27 | header('Location: /blog/' . $_GET['post'] . '/'); | ||
28 | } | ||
29 | |||
25 | $pageCategory = 'home'; | 30 | $pageCategory = 'home'; |
26 | $pageAID = 'archive'; | 31 | $pageAID = 'archive'; |
27 | 32 | ||