hi
i have a question:
how to get rid of the file name in the website address?
i have: www.someaddress.com/somefile.htm
but i'd like only www.someaddress.com to be seen, so u acctually don't see the file names at all.
how to do it?
thanks in advance
hi
i have a question:
how to get rid of the file name in the website address?
i have: www.someaddress.com/somefile.htm
but i'd like only www.someaddress.com to be seen, so u acctually don't see the file names at all.
how to do it?
thanks in advance










Hi,
I am a dummy but I would add one of these codes to your .htaccess file see if they help you.
Best I could find.
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule ^(([^/]+/)*[^./]+)$ /$1.html [L]:flower:RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !(\.[^./]+)$
RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule (.*) /$1.html [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.html\ HTTP
RewriteRule ^([^.]+)\.html$ http://www.domain.com/$1 [R=301,L]
Sami
Check out the Current Celebrity NewsBored??? Why not watch a Free ShowFun Stuff to Know ~~~ Info on Hee Haw TV Show
You could put the entire site in a single frame, but that might hurt your SEO.
Vectro Web Hosting - Web hosting with solid tech support.
x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.
Axigy - Shared and Dedicated Web Hosting Solutions
■ Top Notch Dedicated Servers - 100% Uptime Guarantee + Geo-Diverse Network
■ http://www.axigy.com
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks