Wordpress Permalinks Causing Issues With Stylesheet?

Discussion in 'WordPress' started by detroit_code_monkey, Mar 11, 2013.

  1. #1
    One of my client's sites (located at americanindustrialinc.com/wp) is having problems with permalinks.

    Every time i change the permalink settings to anything other than 'default' the stylesheet goes completely out the window.

    I have tried everything i could possibly think of (which wasnt much, to be honest) and nothing is working. I have also posted this issue on several other forum sites trying to get help but have not gotten any help whatsoever.

    I'm not sure what information may be needed so here is some general background info:

    the client's site is self-hosted on a windows server running IIS 11.
    They have a pre existing site on this server built with ASP
    I built the wordpress site in a subdirectory.
    I know nothing about ASP or windows servers.

    THE ODD PART:
    when viewing in IE9 it looks normal. the stylesheet appears to be funtioning perfectly fine.
    I use a Mac,, so when i test for IE i use Parallels.
    I do not have the ability to test from an actual PC.

    Any browser on Mac (safari, chrome , FF) are all showing the same issue.
    Even Opera Mini on android is showing the same issue.

    when permalinks are set to 'default' the site looks precisely as it should (ignoring the issues with the navigation)
    [​IMG]

    When i change the permalinks to anything other than 'default' it looks like this:

    [​IMG]
    Anybody know what could be causing this?
    I have never encountered something like this before.

    I have checked:
    path to stylesheet
    (its the wordpress default php method, but i have also tried 'hard-coding' it in HTML, with, unsurprisingly, no difference. I have tried both relative and absolute paths with no difference.)
    web.config file (it appears to be perfectly normal)
    re-installing the theme
    re-installing WP core
    disabling plugins
    reinstalling plugins
    browser cache
    pretty much all the basic things you would check when you have no idea whats going on.

    Thats all i can come up with for now.
    If you need further intel, simply ask.

    I greatly appreciate any and all help!
     
    detroit_code_monkey, Mar 11, 2013 IP
  2. MaximusMcc

    MaximusMcc Greenhorn

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    Sounds to me like you need to enable rewrite rules on your apache server. If this is not enabled then you will get that error. What host are you using? You may have to contact them but it is not very hard to enable it if you have access to your server settings. Go to apache > apache modules > the take out the "#" in front of rewrite_module and that should do it for you.

    Maximus McCullough
    Lead web developer at a1websitepro.com
     
    MaximusMcc, Mar 11, 2013 IP
  3. detroit_code_monkey

    detroit_code_monkey Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Without meaning to be rude, you seem to have missed a couple facts that were clearly stated.
    #1: Not using an apache server. its on a Windows Server with IIS 11.
    #2: site is self-hosted.
     
    detroit_code_monkey, Mar 11, 2013 IP
  4. MaximusMcc

    MaximusMcc Greenhorn

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    OOP's sorry about that. Here is a video walk through for you on enabling windows rewrite rules.

    http://www.iis.net/learn/extensions/url-rewrite-module/url-rewrite-module-video-walkthrough
     
    MaximusMcc, Mar 11, 2013 IP
  5. detroit_code_monkey

    detroit_code_monkey Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    Thank you, I will check out the video.
    Unfortunately there is nothing i can do from my end to fix this, i have to forward it to the client as it is their server.

    Are there any other possibilities i can try from my end while i am waiting for their response?
     
    detroit_code_monkey, Mar 11, 2013 IP
  6. MaximusMcc

    MaximusMcc Greenhorn

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    I was going through the debug process in my head and I cannot think of anything that you can do besides enabling the url rewrite first. It looks like you already tired all the things that I would try which leads me to believe that it is a server issue. After the url rewrite is enabled all you will have to do is change the permalink structure in WordPress and it should work. Good luck!
     
    MaximusMcc, Mar 11, 2013 IP
  7. Mitul005

    Mitul005 Member

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #7
    read this artical may be it will help you

    http://forwpblogger.com/wordpress-tutorial/how-to-change-wordpress-permalinks-structure/

    please comment if you like..
     
    Mitul005, May 4, 2013 IP
  8. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #8
    Microsoft Blahh Linux Rocks :) in fact it's a common problem when you use wordpress Under IIS server... please check this Wordpress Codex : Link they list all what you need to know about how to add "Pretty Permalink" on this kind of servers...

    and This is the 2nd Solution for your Problem : Link Quick and fast!

    Goodluck
     
    themes4all, May 7, 2013 IP
  9. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #9
    What does your web.config file look like?

    Nigel
     
    Nigel Lew, May 8, 2013 IP