I attempt to complete the next:
Within the script folder I have placed the next htaccess file:
Options +FollowSymLinks RewriteEngine On RewriteRule ^([0-9]+)/(.*)*$ ./profile.php?id=$1
However , the file is located, but in it, the css along with other files can not be found.
It views pathways like:
What could I actually do? I have attempted a lot of rewritte rules that I'm not sure what is there.
the ideea is the fact that all of the link from tht bage are relative t that path. all will end up www.abc.com/site/15/onepage.php. What exactly can one do about this?
Why not write your link beginning with a '/' to ensure that the browser knows your path ?
<link href="/css/myCssFile.css" rel="stylesheet" type="text/css" />
This will exclude web addresses having a . inside, for example styles.css, it that can help.
Options +FollowSymLinks RewriteEngine On RewriteRule ^([0-9]+)/([^\.]+)*$ ./profile.php?id=$1