css and images not applying

Discussion in 'Apache' started by learnerabn, Aug 28, 2010.

  1. #1
    hi all,
    when i have fake directories in my rewritten url i cant have my css and images..
    can any one tell me how to rectify this issue...

    Thanks in advance.
     
    learnerabn, Aug 28, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Seeing the site would be useful as this is going to be a pure guess, in the <head> section of your HTML try adding <base href="http://www.yourdomain.com/" /> that needs to go before any inclusion of CSS.
     
    tolra, Aug 28, 2010 IP
  3. learnerabn

    learnerabn Peon

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    oh thank you, tolra...
    actually if i create fake urls like category-name-one its working fine..
    having problem only if i create it like as category/name/one.
    And the site is jumadi.in

    i'll try adding the base tag in head section..

    Thanks once again..
     
    learnerabn, Aug 28, 2010 IP