Install wordpress
Multi Sites WordPress on ec2 ubuntu 12
Install wordpress on amazon lightsail
Install wordpress on amazon lightsail
Show all

WordPress SEO Improvements

Install wordpress

Check SEO website online:

Add website to Google Search Console:

Install mod_headers

sudo a2enmod headers
sudo service apache2 restart


Fix Optimize images & CSS & Cache & SEO Plugins:

Optimize images: WP Smush  only for 50 images free
Minify JavaScript: Autoptimize
Remove Query Strings From Static Resources: Remove Query Strings From Static Resources
Yoast SEO: Yoast SEO
WP Super Cache: WP Super Cache

Add to .htaccess

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^aws/?$ /wp-login.php [QSA,L]
RewriteRule ^aws/register/?$ /wp-login.php?action=register [QSA,L]
RewriteRule ^aws/lostpassword/?$ /wp-login.php?action=lostpassword [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
AddDefaultCharset utf-8
RewriteRule ^([0-9-]+)/keyword_show.html$ keyword_show.php?keyword_id=$1
RewriteRule ^page_(.*).html$  page.php?url=$1
RewriteRule ^([0-9-]+)/(.*)/(.*)/(.*).html$ $2.php?advertisement_cat=$1&id=$3&pagenumber=$4
RewriteRule ^([0-9-]+)/(.*)/(.*).html$ $2.php?advertisement_cat=$1&pagenumber=$3
RewriteRule ^([0-9-]+)/(.*).html$ $2.php?advertisement_cat=$1
# cache images and flash content for one month
<FilesMatch ".(flv|gif|jpg|jpeg|png|ico|swf)$">
Header set Cache-Control "max-age=2592000"


# cache text, css, and javascript files for one month
<FilesMatch ".(js|css|pdf|txt)$">
Header set Cache-Control "max-age=2592000"

Leave a Reply

Your email address will not be published. Required fields are marked *