View Single Post
Old 05-09-2018, 05:33 PM  
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
Quote:
Originally Posted by zerovic View Post
Hey man,

simply change the way you include your css file

instead of using this

<link rel="stylesheet" href="css/style.css">

add it like this, with a leading slash

<link rel="stylesheet" href="/css/style.css">

if you use it without the leading slash, it will use the current url displayed in the browser.. if you add the leading slash, it will use the root domain

if you still have troubles with it, add this to your .htaccess before the RewriteEngine On command

RewriteRule ^css - [L,NC]

this will completely ignore the css directory from any rewrite rule

ps. tested it, it works

if you can't make it work, feel free to contact me

cheers,
z
this solved my issue.,
Thank you.
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote