I am trying to rewrite my URL but when I do in htaccess, the page load is taking forever and when it loads there is no styling and the images are blank, can't seem to tell what the problem is, I don't see any problem in the code, can you help, please ?

Rewrite clean url for profile.php?user_id=1&section=discussions

 RewriteRule ^profile/([0-9]+)/([0-9a-zA-Z_-]+) profile.php?user_id=$1&section=$2 [NC,L]

1 Answers

1
Community On

Solution is adding

<base href="/">

in the head tag