0
Hello,
I’m trying to create URL Amigavel and even worked in some pages only in some 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 the ranking page and item did not load the CSS and JS, so I gave an Inspect element and the CSS and JS did not work because it is not in the folder 'ranking', ai I ask you, I’ll have to create a folder 'ranking' and 'item' and add all the files that already exist again in this folder (all the files I speak the css folder that contains the files and the js folder that is the javascript)?
As I do for example, I display the messages on the site through GET ai if I use friendly url and update my profile for example it will get friendly url and GET type this: link.com/profile/William? p=profile&action=profile-updated-error
– William Alvares