close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

HTACCESS Friendly URL doesnt work

Thread began 8/15/2014 2:19 am by Christopher West | Last modified 8/19/2014 10:09 am by Christopher West | 1108 views | 18 replies

Christopher WestCommunity Expert

Hi Jason, I tried that it has no effect. interestingly I know if you do the slightest mistake in HTACCESS that it completely stops the website working..in my case the website is still accessable which means that syntax is playing friendly. I will check out those forums you mentioned.

Also Jamie, I will try your php method on my testing server which will give me more time to experiment. Im just cofused why it cannot work simply by htaccess only method like most users use on the web that I have seen.

Also Jamie, if you know any more on htaccess.Im trying to get Firefox's YSLOW to have a better score, currently I have a score of 82..but this will be a lot higher soon as i upgraded my 1and1 hosting which now supports CDN hosting via cloudflare. which means GZIP and Use a Content Delivery Network will get a score of "A"

the only parts that I score low on are :

Add Expire Headers (Scored F)
Configure Entity Tags (ETags) (Scored D)

I have this snippet of code fr htaccess and wondered if correct as it has no effect on my score if I place this code in:

(also I believe it screws up my CSS file, when I installed it earlier my CSS was wiped..possible cause last night I minified my CSS file and it screwed up the website for some reason...so perhaps it was stilll caching that minifed version).

<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType text/html "access plus 1 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 216000 seconds"
ExpiresByType application/x-javascript "access plus 216000 seconds"
</ifModule>

<ifModule mod_headers.c>
<filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=216000, private"
</filesMatch>
<filesMatch "\\.(xml|txt)$">
Header set Cache-Control "max-age=216000, public, must-revalidate"
</filesMatch>
<filesMatch "\\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate"
</filesMatch>
</ifModule>

<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...