Permalink Change causes CSS problem.
-
Hello,
I have a website and integrated wordpress lately. The blog is in the blog folder and the address of the blog is:
…mywebsitedomain…/blogI have modified a theme contributed by one of wordpress users (not the default or classic theme).
I would like to change the permalink to:
…mywebsitedomain…/blog/2008/04/26/sample-post/When I do that, my external css files blog.css and blog_nav.css (which are outside the blog folder) work for the blog home page:
…mywebsitedomain…/blogBut when I click on a post, the css not being included which means my whole blog page looks weird. Below is the code of blog header. Can you please tell me how I can solve this problem?
Thanks in advance.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head> <? $page_id=40; ?> <title><?php bloginfo('name'); ?><?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="title" content=""/> <meta name="description" content=""/> <meta name="keywords" content=""/> <link href="../css/blog.css" type="text/css" rel="stylesheet"/> <link href="../css/blog_nav.css" type="text/css" rel="stylesheet"/> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> </head> . . .//the code continues
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Permalink Change causes CSS problem.’ is closed to new replies.