Title: Permalink change breaks CSS
Last modified: August 18, 2016

---

# Permalink change breaks CSS

 *  Resolved [cliveloseby](https://wordpress.org/support/users/cliveloseby/)
 * (@cliveloseby)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/)
 * Hi there, I decided to change my Permalink Structure of my site to Pretty ones
   and it unfortunately has disconnected my stylesheet.
 * When I changed permalinks to Date and Name-Based ie /%year%/%monthnum%/%day%/%
   postname%/
    every page loses the stylesheet.
 * When I changed to /archives/%post_id%/ all my main pages are fine but my sub 
   pages lose their css!
 * please look at two versions of my site, identical in pretty much all respects:
 * [http://www.access-bydesign.com/](http://www.access-bydesign.com/) (old style
   permalinks)
 * [http://www.abdtest.co.uk/](http://www.abdtest.co.uk/) (permalinks changed to/
   archives/%post_id%/)
 * and you will see what I mean.
 * Thank you very much for any ideas you may give.
 * The tag line back to wp will be going in our sites, BTW…

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635073)
 * No, I don’t see what you mean. Which is the PAge that is loosing the style?
 *  Thread Starter [cliveloseby](https://wordpress.org/support/users/cliveloseby/)
 * (@cliveloseby)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635153)
 * Sorry, I should have made it clearer. Any of the sub pages: click on “Our Websites”
   and then either “Our Services” or “Portfolio”, or in fact and page that open 
   up to show another one. I use Collapsing Page Menus but taking it out didn’t 
   solve the error… thanks for your response!
 * BTW, if I change Permalinks to /%year%/%monthnum%/%day%/%postname%/, all the 
   pages lose it.
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635156)
 * how is the stylesheet referred to in the header?
 *  Thread Starter [cliveloseby](https://wordpress.org/support/users/cliveloseby/)
 * (@cliveloseby)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635162)
 * HI, like this:
 * <link rel=”stylesheet” href=”standard.css” type=”text/css” media=”screen” />
 * this is in line 7 of header.php
 *  Thread Starter [cliveloseby](https://wordpress.org/support/users/cliveloseby/)
 * (@cliveloseby)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635163)
 * If it helps, here is the entire file (header.php):
 * <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221](http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221);
   >
    <html xmlns=”[http://www.w3.org/1999/xhtml&#8221](http://www.w3.org/1999/xhtml&#8221);
   xml:lang=”en” lang=”en” > <head> <title>Access – by Design </title><meta name
   =”author” content=”Access by Design 2007″ /> <meta name=”classification” content
   =”accessible web design”/> <meta http-equiv=”Content-Style-Type” content=”text/
   css” /> <meta http-equiv=”content-type” content=”text/html;charset=utf-8″ /> 
   <link rel=”stylesheet” href=”standard.css” type=”text/css” media=”screen” /> 
   <link rel=”stylesheet” type=”text/css” href=”print.css” media=”print” /> <?php
   wp_head(); ?> </head> <body> <div id=”pagewidth” >
 * <div id=”header” >
 * </h1>
 * <form method=”get” id=”searchform” action=”<?php bloginfo(‘url’); ?>/”>
    <div
   class=”alignright”> <div><label for=”s” class=”nodisplay”>Search Tool</label>
   <input type=”text” value=”type your text here… “<?php the_search_query(); ?> 
   name=”s” id=”s” /></div> <div><label for=”searchsubmit” class=”nodisplay”>Submit
   Button</label> <input type=”submit” id=”searchsubmit” value=”Search Now!” /></
   div> </div> </form>
 * <p class=”nodisplay”>[Jump to Menu](https://wordpress.org/support/topic/permalink-change-breaks-css/?output_format=md#menu)•
   [Jump to Content](https://wordpress.org/support/topic/permalink-change-breaks-css/?output_format=md#main)•
   [Jump to Footer](https://wordpress.org/support/topic/permalink-change-breaks-css/?output_format=md#foot)•
   </p>
    </div>
 *  <div id=”wrapper” class=”clearfix” >
 *  <div id=”twocols” class=”clearfix”>
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635164)
 * that’ll be the problem then. Is standard.css in the root of your webspace?
 * if so, refer to it as /standard.css
 * Usually people leave their CSS in the theme’s directory, and refer to it with
   a little php code, but if you want to leave it where it is, then simply add a
   slash to the front of the filename.
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635166)
 * heh I was replying before you added the rest, you may want to do /print.css as
   well, while you’re at it.
 *  Thread Starter [cliveloseby](https://wordpress.org/support/users/cliveloseby/)
 * (@cliveloseby)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635167)
 * Thank yoou so much! I will try it and see what happens, much appreciated!
 *  Thread Starter [cliveloseby](https://wordpress.org/support/users/cliveloseby/)
 * (@cliveloseby)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635179)
 * Just tried it, it worked a treat, nice one!
 *  [ivovic](https://wordpress.org/support/users/ivovic/)
 * (@ivovic)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635186)
 * awesome 😉

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Permalink change breaks CSS’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [lose](https://wordpress.org/support/topic-tag/lose/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [ivovic](https://wordpress.org/support/users/ivovic/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/permalink-change-breaks-css/#post-635186)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
