Hello,
I'm trying to create Friendly URL and it worked fine on some pages only some of it is not working CSS, JS etc.
I'm using this in .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^home/?$ /index.php?p=home [NC,L]
RewriteRule ^sign_in/?$ /index.php?p=sign_in&action=get-in [NC,L]
RewriteRule ^sign_up/?$ /index.php?p=sign_up&action=new-user [NC,L]
RewriteRule ^ranking/([0-9]+)/?$ /index.php?p=ranking&c=$1 [NC,L]
RewriteRule ^item/([0-9]+)/?$ /index.php?p=topic&id=$1 [NC,L]
</IfModule>
The home pages, sign in and sign up worked right the CSS the JS etc loaded .. now on page ranking and item did not load CSS and JS, then I gave an Inspect element and CSS and JS did not work because is not in the 'ranking' folder, then I ask you, I'll have to create a 'ranking' and 'item' folder and add all the files that already exist again in these folders (all the files I speak to the css folder containing the files and the js folder that is the javascript)?