logo vmapp.org

@Samaraweera270

Samaraweera270

Last seen: Tue 11 May, 2021

Signature:

Recent posts

 query : Install WordPress in a subdirectory of MODX CMS For a client that need a re-design and a Plugin that exist only for WordPress I would like to install WordPress in a subdirectory of a website

@Samaraweera270

Posted in: #Modx #Wordpress

For a client that need a re-design and a Plugin that exist only for WordPress I would like to install WordPress in a subdirectory of a website that is built with MODX CMS.

Is this possible to install WordPress into a subdirectory while the website will run normally? Is for test / developing purpose.

Does this cause problems on the MODX installation?

Shall I do something before to start?

In the .htaccess file of the MODX installation I have this:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q= [L,QSA]


Thanks

10.02% popularity Vote Up Vote Down


Report

 query : DHIS2 Live "Invalid Column name" I am attempting to record events using Tracker Capture on DHIS2 Live but the tracker entity is not being registered. Right after clicking "save and go back",

@Samaraweera270

Posted in: #Dhis2

I am attempting to record events using Tracker Capture on DHIS2 Live but the tracker entity is not being registered. Right after clicking "save and go
back", the browser console shows an error message that says "Unable to save to server. Invalid column name". Please what should i do to correct this?

10% popularity Vote Up Vote Down


Report

 query : Very Slow TTFB after SSL activation My site was loading fast until I activated SSL. I have a dual processor dedicated server with a low server load. Wordpress with W3 Total Cache and Cloudflare.

@Samaraweera270

Posted in: #Https #Wordpress

My site was loading fast until I activated SSL.

I have a dual processor dedicated server with a low server load. Wordpress with W3 Total Cache and Cloudflare.

Hosting support blame it on Cloudflare, but it does happen even if I disable it, just keeping IP pointing to Cloudflare.

The pages with more content, have even more waiting time. It's like if SSL slows every image or web element in the page needing an extra time that was not needed before activating it. But only for first Byte. Please, help!

10% popularity Vote Up Vote Down


Report

 query : How to automate custom top level domain registration for SaaS? I am developing a SaaS that will offer clients the ability to create a corporate identity website (insert content, upload logos,

@Samaraweera270

Posted in: #DomainRegistrar #DomainRegistration #Saas #TopLevelDomains

I am developing a SaaS that will offer clients the ability to create a corporate identity website (insert content, upload logos, pick certain colors, and select from predefined themes).

The website will then provide some features to the client to assist in managing their business.

The website will also be accessed by the client's own customers, who should access the client's own domain and have access to customer-specific features.

My question:

Is there a method to automate top level domain name registration without:
1. Requiring the client to manually configure the domain redirect.
2. ‎My SaaS becoming a domain registrar in addition to the other services provided.

Is their a foolproof method to automating top level domain name registration?

These previous question are discussing the a similar issue but none directly answer this inquiry.:


SaaS Platform and multiple possible domains
Third-party SaaS will also host our web site. They want our registrar username and password. Is this normal?




Edit

After reading @closetnoc 's comment, to clarify that I'm looking for an automated way to assign a custom domain name for each client on my SaaS (e.g. myclientscompany.com) and not to have a sub-domain for each client (e.g. myclient.mySaaScompany.com)--if such a method exists.

10.01% popularity Vote Up Vote Down


Report

 query : Re: Is placing an image over H1 text an SEO issue? We have a main image on every page of a website. This image includes some text. We want to use text in image as h1 but to make it live

@Samaraweera270

Generally, putting the <image> tag inside H1 tag is not recommended. Header tags are meant to hold text only. This text is intended to briefly describe the section you see below the heading. So as was suggested by Stephen, use the <img alt="xxx" src...> to supply your text. In addition, in terms of SEO, having image alternate text is recommended to provide another location for search engines to find keywords.

In terms of image overlay and text, it does not have to impact your performance. The important factors are to optimize your images, do not deliver unnecessarily large files, strip the meta data from your images, and do not resize images on the browser side.

10% popularity Vote Up Vote Down


Report

 query : Re: What does ADV in the email title stand for I'm using MailChimp, and I sent out a test newsletter to myself, and the title had ADV: added to the beginning of my title. I'm not sure if MailChimp

@Samaraweera270

The government in Singapore has addressed privacy issues associated with this by implementing the Spam Control Act in 2007. If you’re not compliant with this legislation, you put yourself at risk of suffering serious financial harm and could be sued.


Requirements


(i) Unsubscribe — Every unsolicited message must have a clearly placed link or e-mail address to allow the receiver to unsubscribe.
(ii) Labeling — Every message must be clearly labeled as advertising. Putting <ADV> in the subject field satisfies this requirement.
(iii) Content Requirements — The subject field and header must not be misleading, and the message must contain a working e-mail or telephone number.


www.shopify.com/guides/singapore/privacy-anti-spam
It seems like ADV means "advertisement" (spam)

10% popularity Vote Up Vote Down


Report

 query : Why does switching php versions from 56 to 71 in httpd.conf give me a 403 access denied error? (MacOS localhost) Recently installed php71 on my local test environment. I have an index.php

@Samaraweera270

Posted in: #Apache2 #HttpdConf #Php

Recently installed php71 on my local test environment.

I have an index.php file with phpinfo() in the web root directory.

When I LoadModule php5_module /usr/local/opt/php56/libexec/apache2/libphp5.so, index.php renders correctly, reporting the expected php version.

Alternatively, LoadModule php7_module /usr/local/opt/php71/libexec/apache2/libphp7.so gives a 403 forbidden message.

This is the same for all of my local web root directories. They render correctly in their entirety when using php5.6, and give me a 403 error when using php7.1.

Do php versions interpret httpd-vhosts.conf differently?

10.01% popularity Vote Up Vote Down


Report

 query : Conversion tracking in google analytics with GTM I have recently installed Google Tag manager on a Magento webshop, and added my analytics code to a tag, and my Adwords Conversion info to another

@Samaraweera270

Posted in: #GoogleAnalytics #GoogleTagManager #Gtm

I have recently installed Google Tag manager on a Magento webshop, and added my analytics code to a tag, and my Adwords Conversion info to another tag.

Sales are now being tracked fine in Google Adwords, but doesn't show up in Google Analytics as sales. I have enabled Ecommerce in Google analytics, and before using GTM it worked fine. Both my Adwords account and my Analytics account are linked. Visitors are tracked just fine, just not sales in analytics.

So what do I also need to setup in order to see my sales in analytics from the various sources?

10% popularity Vote Up Vote Down


Report

 query : Can you tell Google that the same URL is available in 2 languages depending on the browser language? For example, my home page is available in several language and the language displayed depends

@Samaraweera270

Posted in: #Hreflang #Multilingual #RelAlternate

For example, my home page is available in several language and the language displayed depends on the browser language.

I have added these 2 alternate links:

<link rel="alternate" href="http://example.com/lang/en" hreflang="en"/>
<link rel="alternate" href="http://example.com/lang/fr" hreflang="fr"/>


Is it possible to tell search engines that the URL example.com is available both in English and French and the one displayed depends on the browser language?

10.01% popularity Vote Up Vote Down


Report

 query : How should structured data look for WordPress categories and tags? Working on rebuilding a WordPress blog with structured data I researched the site and ran across "Using Schema.org for blogging:

@Samaraweera270

Posted in: #Blog #Categories #SchemaOrg #Tags #Wordpress

Working on rebuilding a WordPress blog with structured data I researched the site and ran across "Using Schema.org for blogging: Article VS BlogPosting" and decided to use the Article schema.

Planning the site accordingly, wireframing, and structuring the code I found the usage of breadcrumbs and read:


Breadcrumb using Schema.org rich snippets
Should the first breadcrumb not be the home page?


but when it comes to categories and tags in WordPress which should you use with breadcrumbs or would both be identified as breadcrumbs? How would the data look for a tag list like:

foo,
bar,
doo,
don,


with a category of:

monday
wednesday

10.01% popularity Vote Up Vote Down


Report

 query : Google crawling privacy: how to protect customer names from being indexed I have a key marketing page with customer testimonials. I want to show my customer's names to make the testimonials more

@Samaraweera270

Posted in: #Indexing #Privacy

I have a key marketing page with customer testimonials. I want to show my customer's names to make the testimonials more convincing. I'm not sure all of my customers would want this page to appear in SERPS when someone searches for their name.

How can I hide just their name from being indexed, without harming the ranking of the page?

Now that Google uses Fetch & Render it's harder to show text to users but not to Google.

2 options I've thought of:


Show names by JavaScript after a delay. This seems like too obvious a black hat trick, Google must have worked round it by just fast-forwarding the clock.
Put the text in an image. Which creates horrendous design issues, trying to get it to match the size of other nearby text can't be easy.

10.01% popularity Vote Up Vote Down


Report

 query : Re: Disable Direct IP Access on VestaCP NGINX + Apache2 In the current version of VestaCP once you install it and access your server's IP it will return the latest website you've added in VestaCP.

@Samaraweera270

I have found the solution and it works perfectly.

This is how the working 92.222.36.xxx.conf looks like:

server {
listen 92.222.36.xxx:80 default;
server_name _;
return 444;
}

server {
listen 92.222.36.xxx:443 default;
server_name _;
ssl on;
ssl_certificate /home/admin/conf/web/example.net.pem;
ssl_certificate_key /home/admin/conf/web/example.net.key;
return 444;
}


The certicate and certificate key are dummies, make sure they don't leak domain names of other websites hosted on the server.

10% popularity Vote Up Vote Down


Report

 query : Disable Direct IP Access on VestaCP NGINX + Apache2 In the current version of VestaCP once you install it and access your server's IP it will return the latest website you've added in VestaCP.

@Samaraweera270

Posted in: #Nginx

In the current version of VestaCP once you install it and access your server's IP it will return the latest website you've added in VestaCP.

This is bad on so many levels and I consider it a vulnerability.
An example is you are hosting a website and hiding it using a service like Cloudflare, an attacker could find your server's IP using a service like Shodan.io and DDoS you even though you are using Cloudflare.
Another example is you are hosting an anonymous TOR website but people can find the IP of your server using Shodan.io thus destroying the anonymous part.

I would like to make it so it returns a 444 response when you directly access the server via its IP.

Currently, this is how the NGINX config works using VestaCP:

/etc/nginx/nginx.conf:

# Server globals
user nginx;
worker_processes auto;
worker_rlimit_nofile 65535;
error_log /var/log/nginx/error.log crit;
pid /var/run/nginx.pid;


# Worker config
events {
worker_connections 1024;
use epoll;
multi_accept on;
}


http {
# Main settings
sendfile on;
tcp_nopush on;
tcp_nodelay on;
client_header_timeout 1m;
client_body_timeout 1m;
client_header_buffer_size 2k;
client_body_buffer_size 256k;
client_max_body_size 256m;
large_client_header_buffers 4 8k;
send_timeout 30;
keepalive_timeout 60 60;
reset_timedout_connection on;
server_tokens off;
server_name_in_redirect off;
server_names_hash_max_size 512;
server_names_hash_bucket_size 512;


# Log format
log_format main '$remote_addr - $remote_user [$time_local] $request '
'"$status" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format bytes '$body_bytes_sent';
#access_log /var/log/nginx/access.log main;
access_log off;


# Mime settings
include /etc/nginx/mime.types;
default_type application/octet-stream;


# Compression
gzip on;
gzip_comp_level 9;
gzip_min_length 512;
gzip_buffers 8 64k;
gzip_types text/plain text/css text/javascript text/js text/xml application/json application/javascript application/x-javascript application/xml application/xml+rss application/x-font-ttf image/svg+xml font/opentype;
gzip_proxied any;
gzip_disable "MSIE [1-6].";


# Proxy settings
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Set-Cookie;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffers 32 4k;


# Cloudflare www.cloudflare.com/ips set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 104.16.0.0/12;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 131.0.72.0/22;
set_real_ip_from 141.101.64.0/18;
set_real_ip_from 162.158.0.0/15;
set_real_ip_from 172.64.0.0/13;
set_real_ip_from 173.245.48.0/20;
set_real_ip_from 188.114.96.0/20;
set_real_ip_from 190.93.240.0/20;
set_real_ip_from 197.234.240.0/22;
set_real_ip_from 198.41.128.0/17;
#set_real_ip_from 2400:cb00::/32;
#set_real_ip_from 2606:4700::/32;
#set_real_ip_from 2803:f800::/32;
#set_real_ip_from 2405:b500::/32;
#set_real_ip_from 2405:8100::/32;
#set_real_ip_from 2c0f:f248::/32;
#set_real_ip_from 2a06:98c0::/29;
real_ip_header CF-Connecting-IP;


# SSL PCI Compliance
ssl_session_cache shared:SSL:10m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4";


# Error pages
error_page 403 /error/403.html;
error_page 404 /error/404.html;
error_page 502 503 504 /error/50x.html;


# Cache settings
proxy_cache_path /var/cache/nginx levels=2 keys_zone=cache:10m inactive=60m max_size=1024m;
proxy_cache_key "$host$request_uri $cookie_user";
proxy_temp_path /var/cache/nginx/temp;
proxy_ignore_headers Expires Cache-Control;
proxy_cache_use_stale error timeout invalid_header http_502;
proxy_cache_valid any 1d;


# Cache bypass
map $http_cookie $no_cache {
default 0;
~SESS 1;
~wordpress_logged_in 1;
}


# File cache settings
open_file_cache max=10000 inactive=30s;
open_file_cache_valid 60s;
open_file_cache_min_uses 2;
open_file_cache_errors off;


# Wildcard include
include /etc/nginx/conf.d/*.conf;
}


As you can see at the end of the file it includes every file in /etc/nginx/conf.d/ that ends with .conf

There are three notable files in the /etc/nginx/conf.d/ directory: 92.222.36.xxx.conf, status.conf and vesta.conf

92.222.36.xxx.conf: (By default this is the public IP of the server and I've removed the last three numbers to hide my server's IP)

server {
listen 92.222.36.xxx:80 default;
server_name _;
#access_log /var/log/nginx/92.222.36.xxx.log main;
location / {
proxy_pass 92.222.36.xxx:8080; }
}


As far as I understand this is used as an default and it forwards all the HTTP connections to Apache2 for which there isn't a define server_name.

status.conf:

server {
listen 127.0.0.1:8084 default;
server_name _;
server_name_in_redirect off;
location / {
stub_status on;
access_log off;
}
}


Used internally for checking the status of NGINX.

include /home/admin/conf/web/exampledomain.net.nginx.conf;
include /home/admin/conf/web/exampledomain.net.nginx.ssl.conf;


For each new site you add it creates these files.

This is how those files look like:

exampledomain.net.nginx.conf:

server {
listen 92.222.36.xxx:80;
server_name exampledomain.net exampledomain.net; error_log /var/log/httpd/domains/exampledomain.net.error.log error;

location / {
proxy_pass 92.222.36.xxx:8080; location ~* ^.+.(jpg|jpeg|gif|png|ico|svg|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|odt|ods|odp|odf|tar|wav|bmp|rtf|js|mp3|avi|mpeg|flv|html|htm)$ {
root /home/admin/web/exampledomain.net/public_html;
access_log /var/log/httpd/domains/exampledomain.net.log combined;
access_log /var/log/httpd/domains/exampledomain.net.bytes bytes;
expires max;
try_files $uri @fallback ;
}
}

location /error/ {
alias /home/admin/web/exampledomain.net/document_errors/;
}

location @fallback {
proxy_pass 92.222.36.xxx:8080; }

location ~ /.ht {return 404;}
location ~ /.svn/ {return 404;}
location ~ /.git/ {return 404;}
location ~ /.hg/ {return 404;}
location ~ /.bzr/ {return 404;}

include /home/admin/conf/web/exampledomain.net.conf*;
}

server {
listen 92.222.36.xxx:443;
server_name exampledomain.net exampledomain.net; ssl on;
ssl_certificate /home/admin/conf/web/ssl.exampledomain.net.pem;
ssl_certificate_key /home/admin/conf/web/ssl.exampledomain.net.key;
error_log /var/log/httpd/domains/exampledomain.net.error.log error;

location / {
proxy_pass 92.222.36.xxx:8443; location ~* ^.+.(jpg|jpeg|gif|png|ico|svg|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|odt|ods|odp|odf|tar|wav|bmp|rtf|js|mp3|avi|mpeg|flv|html|htm)$ {
root /home/admin/web/exampledomain.net/public_html;
access_log /var/log/httpd/domains/exampledomain.net.log combined;
access_log /var/log/httpd/domains/exampledomain.net.bytes bytes;
expires max;
try_files $uri @fallback ;
}
}

location /error/ {
alias /home/admin/web/exampledomain.net/document_errors/;
}

location @fallback {
proxy_pass 92.222.36.xxx:8443; }

location ~ /.ht {return 404;}
location ~ /.svn/ {return 404;}
location ~ /.git/ {return 404;}
location ~ /.hg/ {return 404;}
location ~ /.bzr/ {return 404;}

include /home/admin/conf/web/snginx.exampledomain.net.conf*;
}


Now I have tried editing the 92.222.36.xxx.conf to this:

server {
listen 92.222.36.xxx:80 default;
server_name _;
#access_log /var/log/nginx/92.222.36.xxx.log main;
return 444;
}


And it did seem to work, I could access my website using the domain name and accessing it via the IP would result in a ERR_EMPTY_RESPONSE

But while accessing 92.222.36.xxx/ it would still return the HTTPS version of my domain name, this is where my troubles started.

I tried doing this to 92.222.36.xxx.conf

server {
listen 92.222.36.xxx:80 default;
listen 92.222.36.xxx:443 default;
server_name _;
#access_log /var/log/nginx/92.222.36.xxx.log main;
return 444;
}


While accessing my service using the IP using HTTPS it returned a ERR_SSL_PROTOCOL_ERROR and while accessing using the domain name using HTTPS it also returns ERR_SSL_PROTOCOL_ERROR

I've been trying to fix this for a few hours now but I couldn't.

I would be glad to receive some help in fixing this.

Thank you.

10.01% popularity Vote Up Vote Down


Report

 query : Search Console not matching with own search Why does search console show that avg position is 2.8 out of 7000 impressions, while it does not show up in first page when I or my college type

@Samaraweera270

Posted in: #GoogleWebsiteOptimizer #SearchEngines #Seo

Why does search console show that avg position is 2.8 out of 7000 impressions, while it does not show up in first page when I or my college type different top search queries? I am aware of possible customized experience Google might offer, but still I reckon, it should have appeared at least once in my search results.

10% popularity Vote Up Vote Down


Report

 query : Re: Static page which uses Ajax to fetch "Latest posts" on homepage from Wordpress I am making a website which has a blog as well as a "normal" website. Would there be any negative consequences

@Samaraweera270

On the technical end: you are not using Ajax to fetch the whole file, right? You just want to create a job that extracts and uploads the latest blog post titles/links/images and maybe the meta description or first XX words. Do I have that correct? That is straightforward.

On the issue of a separate space for your blog: as long as your DNS records show that blog.domain.com is a subdomain of domain.com then they are linked for SEO and for search purposes. That would be preferred from an SEO perspective than using 2 separate domains.

On the blog: it sounds like you want to do a basic Wordpress install on a fresh environment and create a blog within that Wordpress site. Correct? That's simple enough. Make sure you have high quality content and complete all of the meta data for each post for higher scoring. For example, use good quality keywords (not too general, not crazy specific), put them in titles, slugs, meta descriptions and content -- good advice for both sides of your web presence.

As long as the two sites remain linked in your DNS and with references to each other, perhaps in the site map or about us page, then they should both have decent SEO scores. Just watch for any duplicate content so you do not incur penalties for that.

10% popularity Vote Up Vote Down


Report

 query : Re: Send email confirmation for order when using Paypal checkout for Woocommerce I have setup my eshop on Woocommerce and I am sending the invoices using Mailchimp automation and integration with

@Samaraweera270

PayPal does integrate with MailChimp, you need to setup their PayPal integration. But it only works with 1 MailChimp list, so check that first. If you have multiple lists then they suggest using Zapier. Also, you need to have a PayPal Business or Premier account.

If you have all that, the MailChimp instructions are here, along with all the links to get you setup.

10% popularity Vote Up Vote Down


Report

 query : Re: My website has suddenly stopped working and i can't access it through the domain name Two days ago i tried to access my website through its domain name and it's no longer loads the site,

@Samaraweera270

There could be several reasons why your website is down. This could be due to a change on your web host's backend, or an outdated script or plugin that crashed your site, or else it was hacked. For starters, if you have Google Search Console set up, take a look there and see if they detect any malware on your site. Also check your Google Analytics (or whatever you use) to note exactly when the traffic to your site has dropped off; this can help you in your troubleshooting later.

You should access your website through your web host, since your front end login page is probably down. Then go to your website's backend through your hosting company settings. Chances are, if your site is a WordPress or Drupal site, the error is due to outdated versions of either, or to a plugin that's outdated. (This is assuming you're running on a CMS.) After you update your core installation, your theme, and your plugins, the issue may be fixed.

If you're not running on a popular CMS, or if the above doesn't solve the problem, take a look at your installation in your web host's settings. Make sure everything is as you last remember it. Then give your hosting company a call. I have frequently used the hosting company's tech support, and they can do everything from fixing the database setup to informing you if there are infected files somewhere that you have to remove before they can get your site up and running again.

Good luck!

10% popularity Vote Up Vote Down


Report

 query : How to get a country rank for website in Alexa I am working on a websites SEO, where the alexa Global rank is around 6 million, but the country rank showing "No data", a country flag was

@Samaraweera270

Posted in: #Alexa #CountrySpecific #LocalSeo #Ranking #Webmaster

I am working on a websites SEO, where the alexa Global rank is around 6 million, but the country rank showing "No data", a country flag was displayed till last week, now it is disappeared, so how to get country rank? What parameters to be follow to achieve it?

10% popularity Vote Up Vote Down


Report

 query : Re: Will social sharing help my website rank in search engines? I am owner of travel related website and recently found that two twitter users have shared a link from my website on their profile.

@Samaraweera270

Yes, whatever the website we own, social sharing plays a vital role in enhancing the reaches of post as well as there are higher chances of getting a minimum traffic from those posts, which increases the website visibility & build a customer base. but it is recommended to share only in the relevant profiles, if not there are great chances of blocking & removing the content from those profiles.

10% popularity Vote Up Vote Down


Report

 query : First, using appropriate meta tags on your pages will help with search results and SEO. I prefer to add meta tags, description, etc to my pages to improve being found and rankings. Now, about

@Samaraweera270

First, using appropriate meta tags on your pages will help with search results and SEO. I prefer to add meta tags, description, etc to my pages to improve being found and rankings.

Now, about tagging in general. The increase in load time depends a lot on whether you are measuring actual load time or perceived load time. Perceived load time, the time between request and when the user can "use" the page, is what impacts your click throughs, abandonment and user perception of your site. And yes, every tag you add will have an impact as the page waits for the tag resource to respond.

With that being said, if you have tagged your other forms and keep the tags to a minimum, you should not see any big difference since we are talking about 1 page. If you were tagging all of your forms, yes that would be a big impact.

As a suggestion, perhaps you can review your forms and your tags and make sure that you've assigned only the necessary tag(s) and keep the number as small as possible. That way you have the benefits of tagging while keeping the impact as small as possible.

10% popularity Vote Up Vote Down


Report

 query : Number of users today - two sources of truth? I built a custom webapp which shows today's total number of users for an analytics property. Wanting to verify that the shown value is correct,

@Samaraweera270

Posted in: #AnalyticsApi #GoogleAnalytics

I built a custom webapp which shows today's total number of users for an analytics property. Wanting to verify that the shown value is correct, I get three different values from google analytics:


on a custom dashboard, I created a widget configured to show a pie chart of new and returning users. Configuration is unfiltered, displaying Users by User Type. It shows the most users (149).
at Audience > Overview I can see a tile "Users". It shows around 10 less than the custom dashboard (135).
Lastly, the reporting API v4 sends a value for ga:users close to what is shown in audience overview, but tends to fluctuate: once I'm sent 140 users, 10 or 20 seconds later, the response is 135, then again back to 140.


I verified that the date is set to "today" for each of these methods.

Does anybody know why these values diverge? Perhaps, the two latter values are just lagging behind? Are the user numbers for the current day not reliable in general?

10.01% popularity Vote Up Vote Down


Report

 query : Noob question - regarding images on webserver not loading when URL is typed, but do when clicked from link on index html I have dabbled with html in the past and to a very small degree some

@Samaraweera270

Posted in: #FileManager #Filenames #Permissions #WebDevelopment #WebHosting

I have dabbled with html in the past and to a very small degree some CSS.
All i am trying to do at this moment is have a website/webserver which stores one image. (The image will be retrieved by an Android game i have developed)

I have made a very simple index.html just for the sake of it really (and because after uploading my image to the server, I got the error: FORBIDDEN 404)

so long story short, there is a link on the index.html to the image url. If I load the page then click the link the image loads up and I can see the url is what I expected it to be. But if I type the URL into browser directly it doesn't display (gives 404 FORBIDDEN) -- of course the game isn't able to retrieve it either as I have tested.

I have checked the Permissions of the files and folders. They were all on 755. But I read somewhere maybe it was better the actual files go onto 644, which is how I currently have it (so folders 755 / files 644). Neither way did it work.

Strangely, sometimes if I type the full image url INCLUDING at front, it sometimes loads ?!?!???

here is the link to the website if you'd like to see what i mean:
homepage and directly to image files url

10.02% popularity Vote Up Vote Down


Report

 query : Re: Can using structured data markup on the same content on multiple pages negatively impact SEO? I am implementing Schema.org structured data on our ecommerce reviews site. On product review pages

@Samaraweera270

Will implementing structured data change the way that search engines see our data as 'duplicate'?


No, or at least there's currently no evidence to suggest so.

However, the extent to which the recent reviews are a problem may depend on other factors. Are you displaying full reviews on the homepage, and how quickly do you acquire new reviews?

If rate of acquisition is sufficient that "recent" content changes daily, it's almost certainly changing each time a search engine bot visits – so no duplication problem.

Either way, if you preview just a snippet of the full review, the duplication is minimised sufficiently to remove concern.

10% popularity Vote Up Vote Down


Report

 query : Render blocking CSS form google fonts I have a custom webpage fully optimized giving 100/100 in google page speed insight but when I include google font it will reduce to 72/100. the surprising

@Samaraweera270

Posted in: #AboveTheFold #PageSpeed

I have a custom webpage fully optimized giving 100/100 in google page speed insight but when I include google font it will reduce to 72/100. the surprising part is both are from the google. is anyone know the correct way to include Google fonts without having to render blocking issue? by the way, my website is not a WordPress site.

10% popularity Vote Up Vote Down


Report

 query : What happens if you don't set cache-control header? What happens if you don't set the cache-control header? Does HTTP specify a default behaviour that clients should follow or is it up to the

@Samaraweera270

Posted in: #Cache #CacheControl #Http

What happens if you don't set the cache-control header? Does HTTP specify a default behaviour that clients should follow or is it up to the clients to decide?

In Chrome, I have seen some Javascript requests that have no cache-control headers showing up as 200 (from disk cache). Is Chrome optimizing this?

In IE, I have seen it show up as a 304 (not modified).

How do I understand this better?

10.01% popularity Vote Up Vote Down


Report

 query : Is using external web-hosting a good solution for holding images to be used for hot-linking from other sites? To clarify the title I will give my scenario while trying to keep it generic: I

@Samaraweera270

Posted in: #ImageHosting #WebHosting

To clarify the title I will give my scenario while trying to keep it generic:

I work for a company that will expand their eCommerce to controlled markets (think Amazon, eBay), uploading thousands of products to these sites. The controlled market we're going for has a strict size restriction on uploaded images which is several GB below what we need.

As a solution, I am looking to external web-hosting solutions that will hold our product images then hot-linking them inside the controlled market. Obviously, we will pay for the amount of storage, GET requests when images are viewed on the market, etc.

My question, therefore, is is this the right way to approach this?

NB Expanding storage space on the controlled market is out of the question as it is very much overpriced.

10.01% popularity Vote Up Vote Down


Report

 query : Domain: .com or separated? I have a brand name. In the example I will use bestsite (the actual brandname is stands from two parts, too: a short adjective and a noun what is a TLD, too).

@Samaraweera270

Posted in: #TopLevelDomains

I have a brand name. In the example I will use bestsite (the actual brandname is stands from two parts, too: a short adjective and a noun what is a TLD, too). Which one should I use as Domain?


best.site
bestsite.com


Why?

10.01% popularity Vote Up Vote Down


Report

 query : Re: In my WordPress sitemap, should I submit all posts or only category pages? I am using Google XML Sitemap plugin for my WordPress website. I have the option to submit only posts, only categories,

@Samaraweera270

be sure that the plugins that you already installed on your site doesn't have conflict to creating sitemap. for example if you are using yoast seo plugin and google xml plugin together it could makes problems.


have the option to submit only posts, only categories, or both


I think it doesn't hurts if you submit categories and posts together url to the sitemap file.

for submiting sitemap file you should sign in to the google webmaster tools and enter your sitemap url and submit it to google.
and from this tool you can see if your site has a problem.

10% popularity Vote Up Vote Down


Report

 query : Re: GA Event or Dimensions? So i have this little dilemma with Google Analytics, i want to record every times someone hits a specific content which is loaded in Javascript. User -> Condition

@Samaraweera270

But this will inflate my pageview count thus i will need to create/edit views and exclude this criteria.


The best way to handle this use-case to to submit your event as a non-interactive event in Google Analytics.

Firing an interactive event on a pageview is a bad idea as it will count as an interaction on your website - meaning that you will have a bounce rate of 0%.

Dimensions could also be used if your event is specific to a state the user is in i.e. has an account but for an interaction point it is better to use events i.e. logs in.

If you are doing behaviour-driven state management, than it might be better to use Custom Dimensions to better segment you data and user-behaviour - though non-interactive events can be done just as effectively with the right segmentation and user filters.

10% popularity Vote Up Vote Down


Report

Back to top | Use Dark Theme