htacces configuration in seo 1 mode requested | Support | Forum

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
htacces configuration in seo 1 mode requested
cyrus
Member
Members
Forum Posts: 60
Member Since:
January 3, 2017
sp_UserOfflineSmall Offline
1
April 13, 2017 - 6:16 am
sp_Permalink sp_Print

i test my site in several website test and this is the results
google PageSpeed Insights:
mobile: 53 / 100 Suggestions Summary
desktop: 64 / 100 Suggestions Summary
-------------
https://www.webpagetest.org
BFFAFX
-------
and others

===========

but when i copied some code in htaccess ( i got from htaccess default )
result get better
google PageSpeed Insights:
mobile: 69 / 100 Suggestions Summary
desktop: 86 / 100 Suggestions Summary
-------------
https://www.webpagetest.org
BFAADX
-------

cyrus
Member
Members
Forum Posts: 60
Member Since:
January 3, 2017
sp_UserOfflineSmall Offline
2
April 13, 2017 - 6:20 am
sp_Permalink sp_Print

the problem is:
from:
https://varvy.com/pagespeed/

Compression not enabled
Browser caching issues
Keep-alive not enabled
HTML not minimized
Visible content not prioritized
Render blocking CSS / JS found
Images not optimized
CSS not minimized
Javascript not minified

---------------
from google:
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Enable compression
Leverage browser caching
Prioritize visible content
Minify HTML
Minify CSS
Optimize images
Minify JavaScript

when i copy htaccess
got better
but still need more work

thank you

cyrus
Member
Members
Forum Posts: 60
Member Since:
January 3, 2017
sp_UserOfflineSmall Offline
3
April 13, 2017 - 6:22 am
sp_Permalink sp_Print

codes that i copeid

## Disable directory browsing
Options All -Indexes

## Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] ## Block out any script trying to base64_encode stuff to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] ## Block out any script that includes a tag in URL
RewriteCond %{QUERY_STRING} (\|%3E) [NC,OR] ## Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] ## Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})

## Block pycurl bot
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^pycurl/ [NC] RewriteRule .* - [F]

# BEGIN Compress text files

SetOutputFilter DEFLATE

# END Compress text files
# BEGIN Expire headers

ExpiresActive On
ExpiresDefault "access plus 1 seconds"
ExpiresByType image/x-icon "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType application/x-shockwave-flash "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"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"

# END Expire headers
# BEGIN Cache-Control Headers

Header set Cache-Control "max-age=2592000, public"

Header set Cache-Control "max-age=604800, public"

Header set Cache-Control "max-age=216000, private"

Header set Cache-Control "max-age=600, private, must-revalidate"

# END Cache-Control Headers
# BEGIN Turn ETags Off

Header unset ETag

FileETag None
# END Turn ETags Off
# BEGIN Remove Last-Modified Header

Header unset Last-Modified

# END Remove Last-Modified Header

order allow,deny
deny from all

order deny,allow
allow from none
deny from all

Header set Connection keep-alive

cyrus
Member
Members
Forum Posts: 60
Member Since:
January 3, 2017
sp_UserOfflineSmall Offline
4
April 13, 2017 - 6:23 am
sp_Permalink sp_Print

my site is

http://3tbc.com

ChuckRoast
Admin
Forum Posts: 125
Member Since:
January 6, 2016
sp_UserOfflineSmall Offline
5
April 13, 2017 - 12:39 pm
sp_Permalink sp_Print

We are unable to help you with your PageSpeed Insights.
Many of these factors are completely out of our control.
If it makes you feel any better you scored higher than Apple.com
It's nearly impossible for any website to pass most of these tests.

cyrus
Member
Members
Forum Posts: 60
Member Since:
January 3, 2017
sp_UserOfflineSmall Offline
6
April 18, 2017 - 10:13 am
sp_Permalink sp_Print

thank you for your answer

i think some of these things is considerable

enable Compression is will cause site be faster
Browser caching issues same as the last one

Forum Timezone: America/New_York

Most Users Ever Online: 33

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Adam Burton: 103

DrCrash: 74

cyrus: 60

lipsmega: 50

OxyThemes: 36

Newest Members:

bababa

dasdfasdfasdf

Gambit Communications

saam

Columnist Hub

Praveen Gulia

zzk

missfamily

emunyryx

mark

Forum Stats:

Groups: 1

Forums: 8

Topics: 352

Posts: 1772

 

Member Stats:

Guest Posters: 2

Members: 1244

Moderators: 2

Admins: 1

Administrators: ChuckRoast

Moderators: Kshitij Kumar, Mthobisi