Im doing a website with only one page and I want do put in url like: "http://test.com/portfolio
" and my htaccess to access the same page like http://test.com/#portfolio
, I already get this with the code below, but when I put http://test.com/portfolio/
, with '/
' after, the server open the same page, but without css, links with images... The browser show only the html code.
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^portfolio(.*)$ #portfolio
RewriteRule ^contact(.*)$ #contact
</IfModule>
You know something to help me?