Tag Archives: SEO Setup

How to Use .htaccess Rewrite Rules

SEO-Tips-for-Beginners-5-Easy-Wins

If you want to customize your URL and get the best SEO tips for indexing and up your website in searching results in google, Alexa search ranking then simply use below some tips which can get your URL for best SEO purpose. we present some rules for your SEO URL.

Forcing https with SSL

RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Creating a Vanity URL

RewriteRule ^promo123 /full-path/to-desired/page.html [R=301,L]

Whitelist IP Addresses

Order Deny,Allow
 Deny from all
 Allow from 182.237.14.39
 Allow from 182.237.14.40

Blacklist IP Addresses

Order allow,Deny
 Deny from 182.237.14.39
 Deny from 182.237.14.40
 Allow from all

301 Redirect all Non-primary URLs to Primary URL (https)

RewriteCond %{HTTP_HOST} !^domain\.com [NC]
RewriteRule (.*) https://domain.com/\ [R=301,L]

Redirecting all URLs

Redirect 301 / https://example.com/

Automatically loading a subdirectory

RewriteEngine on
RewriteRule ^$ /subdir1/ [L]

Rewriting non-existing links to index.php

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

404 page redirect

ErrorDocument 404 http://example.com/404.php

DEFLATE

<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
 AddOutputFilterByType DEFLATE application/javascript
 AddOutputFilterByType DEFLATE application/rss+xml
 AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
 AddOutputFilterByType DEFLATE application/x-font
 AddOutputFilterByType DEFLATE application/x-font-opentype
 AddOutputFilterByType DEFLATE application/x-font-otf
 AddOutputFilterByType DEFLATE application/x-font-truetype
 AddOutputFilterByType DEFLATE application/x-font-ttf
 AddOutputFilterByType DEFLATE application/x-javascript
 AddOutputFilterByType DEFLATE application/xhtml+xml
 AddOutputFilterByType DEFLATE application/xml
 AddOutputFilterByType DEFLATE font/opentype
 AddOutputFilterByType DEFLATE font/otf
 AddOutputFilterByType DEFLATE font/ttf
 AddOutputFilterByType DEFLATE image/svg+xml
 AddOutputFilterByType DEFLATE image/x-icon
 AddOutputFilterByType DEFLATE text/css
 AddOutputFilterByType DEFLATE text/html
 AddOutputFilterByType DEFLATE text/javascript
 AddOutputFilterByType DEFLATE text/plain
 AddOutputFilterByType DEFLATE text/xml
</IfModule>

GZIP

<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>

Expires headers

<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default expiration: 1 hour after request
ExpiresDefault "now plus 1 hour"
# CSS and JS expiration: 1 week after request
ExpiresByType text/css "now plus 1 week"
ExpiresByType application/javascript "now plus 1 week"
ExpiresByType application/x-javascript "now plus 1 week"
# Image files expiration: 1 month after request
ExpiresByType image/bmp "now plus 1 month"
ExpiresByType image/gif "now plus 1 month"
ExpiresByType image/jpeg "now plus 1 month"
ExpiresByType image/jp2 "now plus 1 month"
ExpiresByType image/pipeg "now plus 1 month"
ExpiresByType image/png "now plus 1 month"
ExpiresByType image/svg+xml "now plus 1 month"
ExpiresByType image/tiff "now plus 1 month"
ExpiresByType image/vnd.microsoft.icon "now plus 1 month"
ExpiresByType image/x-icon "now plus 1 month"
ExpiresByType image/ico "now plus 1 month"
ExpiresByType image/icon "now plus 1 month"
ExpiresByType text/ico "now plus 1 month"
ExpiresByType application/ico "now plus 1 month"
# Webfonts
ExpiresByType font/truetype "access plus 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
</IfModule>

Cache-Control

<ifModule mod_headers.c>
 <filesMatch "\.(ico|jpe?g|png|gif|swf)$">Header set Cache-Control "public"</filesMatch>
 <filesMatch "\.(css)$">Header set Cache-Control "public"</filesMatch>
 <filesMatch "\.(js)$">Header set Cache-Control "private"</filesMatch>
 <filesMatch "\.(x?html?|php)$">Header set Cache-Control "private, must-revalidate</filesMatch>
</ifModule>

Enable Keep Alive

<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>

Enable mod_pagespeed

<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters rewrite_css,combine_css
ModPagespeedEnableFilters recompress_images
ModPagespeedEnableFilters convert_png_to_jpeg,convert_jpeg_to_webp
ModPagespeedEnableFilters collapse_whitespace,remove_comments
</IfModule>

Wrapping It Up

ServerSignature Off

Disable Image Hotlinking

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?sample.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

Best SEO Tips on How to Increase Website Traffic

seo

So, the first question is in our mind that how to generate more traffic to my website so that I can get leads to boost the business? From this article, marketers and business owners will get the whole battery of straight-to-point, actionable tips to increase website traffic or blog. Must apply the following tricks to drive traffic to the website.

Step 1) Make your website secure.

Get an SSL certificate and implement it on your website. and make all URLs in HTTPS instead of HTTP.

Step 2) Get Social

Be Social! Use various social media channels for brand awareness, business promotion or product promotion. Create awesome business pages and post engaging content.

Step 3) Focus on Long-Tail Keywords

Your posts should include all the relevant long tails terms and phrases to your topic. Because there is a good chance to rank on long-tail keywords with fewer efforts. Also, you will get your targeted audience with the help of long-tail keywords.

Step 4) Are you doing forum posting?

Active and relevant forums can help you to get good rankings for your keywords. It’s a well-known link building strategy. Also, if you posting really helpful information on forums, then it will drive traffic to the website.

Step 5) Start a Facebook Group

Start a Facebook group, add members and post quality content and solutions and build trust. If you put great kinds of stuff in a group then it may help to get website traffic.

Step 6) Promote Blog Posts to Your E-mail List

Always collect emails of visitors of your websites via newsletter or any other methods and always mail them when you publish a new post to your site.

Step 7) Write Attractive Headlines

Write attractive headlines while sharing any post on social media to attract people to boost website traffic.

Step 8) Join Blogging Communities

Connect with other bloggers and help each other to get web traffic. ProBlogger and CopyBlogger are great to network with other bloggers.

Step 9) Include links to other relevant posts

Mention other relevant links in your new post. It can be a link to your own website or can be a link to other authoritative websites. It will increase the creditability of your post. Also, there is the possibility that the user will click on the internal linked post too.

Step 10) Guest Post on Relevant Websites

Do guest posts on high DA and famous websites. There are two reasons behind it. First is, you will get backlink and second is, when you publish a post on any famous website, you can get the benefit of their large number of visitors. They will read your post and there are chances that they will visit your website too.

Step 11) Become a Columnist or Contributor on Famous Websites

Being a columnist or contributor on famous websites can help to make your profile more authoritative and also you can build your audience there. If you get success to win their hearts, they will become your regular readers and visit your blog or website too.

Step 12) Become a Columnist or Contributor on Famous Websites

Always keep your old posts updated with the latest information. It will help you to generate traffic from the old post and also helps to gain the trust of readers. If you know about Brian Dean of Backlinko, then the great thing about him is, he always keeps all posts updated. He has very fewer posts on his blog but all are full of information and updated.

Step 13) Remove irrelevant Site links from Google

Google will always consider all links to your website. If you find any links are irrelevant, then remove it with the help of Search Console or add no index robot meta in those irrelevant pages.

Step 14) Keep your Website Banner Updated

Keep your website banner updated with the latest trends of your niche.

Step 15) Post more Frequently

Post news articles and content frequently on your blog. Be consistent! It will help to keep in touch with your readers.

Step 16) Submit Your Posts to Reddit

Reddit is the most famous social bookmarking or news site. Always submit the link of your post there to get traffic to your website

Step 17) Mention Influencers in Your Tweets

When you mention someone in a blog post using@, they will surely read your post and if they like it they will share your post on their network.

Step 18) Invest your Energy on Strategies that are Working

You don’t have to do what everyone else is doing. Always observe analytics and based on that stick to only those strategies which are working for you. No need to waste time and efforts on which that are working for others but not for you.

Step 19) Build Connections with Others in your Niche

Connecting with more people is always helpful to get referral traffic.

Step 20) Add Relevant Keywords on Your Site

Do keyword research and based on that put relevant and high volume keywords to get good rankings and ultimately it will results in good traffic.

Step 21) Always add Links while sharing on Social Media

Add links in your post while you share on social media so that people can reach to your website. You can use shorten links for sharing.

Step 22) Start YouTube Marketing

As per new trends, the video is the advanced way of marketing. Try it.

Step 23) Add Text in Your Blog Featured Images

Include post title and URL in blog post images for optimal effect when pinned or shared.

Step 24) Join Niche Facebook and LinkedIn Groups

Join relevant groups and share useful posts.

Step 25) Connect with Bloggers who are Already Sending Traffic

Contact them who are already promoting your content in a direct or indirect way and try to get more benefits.

Step 26) Ask Famous bloggers to Guest Post on Your Site

Contact famous bloggers and convince them for posting on your site. If they will agree, there will be a double benefit. You will get quality content on your website so that the creditability of your site will be increased and also that bloggers will share that post among their networks. So, you will get a huge amount of traffic to your website.

Step 27) Respond to Blog Comments

It will drive commenters back to your site and reflect your concern towards your readers.

Step 28) Question-Answers

Write Quora and Yahoo answers related to your niche and share the link of your website or blog to get traffic.

Step 29) Write a Response Post

Respond to a controversial post with a response post. These types of posts are really doing well.

Step 30) Contact Influencers

Notify influencers for your newsworthy post.

Step 31) Make Proper use of Categories

Always use relevant categories while posting an article on your website. And also if you are submitting your article anywhere, then also select the proper category.

Step 32) Write Landmark Posts

Create a long, authoritative post that should become an ultimate guide for that topic.

Step 33) Comment on Niche Blogs

Comment on other relevant blogs. You might get traffic from there also.

Step 34) Interview Influencers of Your Niche

Take an interview with influencers, and publish it on your blog. They will promote the interview to their audience.

Step 35) Pay Attention to On-Page SEO

On-page SEO helps boost your organic traffic. So, always optimize your title, description, content, and images as per On-page SEO rules.

Step 36) Implement Schema Microdata

The structured data will helps to show rich snippets in search results. Mostly it’s helpful to show eCommerce products, events, ratings, etc. It’s really helpful for the improvement of the click-through rate.

Step 37) Effective Email Marketing

Prepare attractive email pitches for your existing users with discounts and other offers of your product or services. It will be useful for customer retention.

Step 38) Make Sure Your Site is Mobile Friendly

Your website should be accessible and viewable across a range of devices. So, any type of user will not leave your website because of an ugly view of your website.

Step 39) Make Sure Your Site is Fast

Make sure your website is loading in 4 to 7 seconds because no one likes to wait for a long time. Fast websites help to reduce the bounce rate.

Step 40) Analyze Performance of Website

Use Google Analytics and Google search console for analyzing visitors, locations, traffic sources, and many other things. You can use this data to prepare your next strategy.

Step 41) Submit Your Content to Aggregator Sites

Choose aggregator sites and submit your content or links.

Step 42) PPC Ads

If you don’t have time to follow the above tips or you want immediate traffic then go for PPC. If you have experience with PPC campaign managemet then it’s great otherwise you can hire PPC Expert for it.