Read a Book 88 Light Poster

Hello again from me, long time user of this forum and i was just visiting and wondering why the forum does not have an AI section where users can share news and learn tools and stuff...

I recommend creating AI section where users can talk about that since AI is skyrocketing these days...

Read a Book 88 Light Poster

But i am generating the JSON code dynamically. If there is no video than i hide the VideoObject tag with if statement.
Should i just remove the itemscope itemtype="http://schema.org/VideoObject"

Dani commented: Yes, exactly +34
Read a Book 88 Light Poster

BUMP. Anyone can help with this issue ? :/

Read a Book 88 Light Poster

Hello everyone, i am not able to fix this issue in the Search Console Video is not the main content of the page but actually it is!

When you enter in my product page the first thing that appears is the video it self! (hosted on imgur platform)

I even added additional Schema video tags but that seems is useless.

here is the code i am using:

P.S: $image4 variable sometimes can contain video link or image link.

<?php if (!empty($image4)): ?>
    <div class="swiper-slide">
        <div class="dz-media" itemscope itemtype="http://schema.org/VideoObject">
            <?php
            if (pathinfo($image4, PATHINFO_EXTENSION) === 'mp4') {
                // Display a video if the link points to an MP4 file
                echo '<meta itemprop="thumbnailUrl" content="' . $image1 . '">';
                echo '<meta itemprop="contentUrl" content="' . $image4 . '">';
                echo '<video controls width="100%" height="auto" poster="' . $image1 . '" itemprop="video">';
                echo '<source src="' . $image4 . '" type="video/mp4">';
                echo 'Your browser does not support the video tag.';
                echo '</video>';
            } elseif (in_array(pathinfo($image4, PATHINFO_EXTENSION), array('png', 'jpg', 'jpeg'))) {
                // Display an image if the link points to a PNG, JPG, or JPEG file
                echo '<img src="' . $image4 . '" alt="' . $product_tags . '">';
            }
            ?>
            <meta itemprop="name" content="<?php echo htmlspecialchars($product_name); ?>">
            <meta itemprop="description" content="<?php echo htmlspecialchars($product_description); ?>">
            <meta itemprop="uploadDate" content="<?php echo date('c', strtotime($upload_date)); ?>">
        </div>
    </div>
<?php endif; ?>

please anyone with the knowledge how to fix this problem

here is a link to a product page on my website
https://www.kupisi.mk/product/за-дома/сунгер-за-чистење-прашина/48

@Dani please remove the backlinks if possible, so my site doesn't get indexed …

Read a Book 88 Light Poster

Babel -> JavaScript 🙌

Read a Book 88 Light Poster

I just updated the canonical url structure format into Cyrillic characters.

$canonical_product_url = "https://" . $_SERVER['HTTP_HOST'] . "/product/$mainCategory/$productName/$productID";
$product_url = "https://" . $_SERVER['HTTP_HOST'] . "/product/" . urlencode($mainCategory) . "/" . urlencode($productName) . "/$productID";


<!-- CANONICAL URL -->
<link rel="canonical" href="<?php echo $canonical_product_url; ?>">

and now the canonical url is like this

<!-- CANONICAL URL --> <link rel="canonical" href="https://www.kupisi.mk/product/за-дома/кујнски-мијалник-од-нерѓосувачки-челик-inox/28">

Read a Book 88 Light Poster

Make sure that every page has the correct link rel=canonical

Where should i place this tag ?

Ensure there are no internal links anywhere in your site that use this wrong version of the URL.

I ensured and updated the search.php file which was redirecting to non-www version, now is fine.

Ideally, implement 301 redirects from the wrong version of the page to the correct version.

How do i do this? I already have that rule in the .htaccess file. This should be in somewhere else place ?

UPDATE:
I did add the canonical html tag like this

$product_url = "https://" . $_SERVER['HTTP_HOST'] . "/product/" . urlencode($mainCategory) . "/" . urlencode($productName) . "/$productID";

<link rel="canonical" href="<?php echo htmlspecialchars($product_url, ENT_QUOTES, 'UTF-8'); ?>">

And i am getting results like this

<!-- CANONICAL URL -->
<link rel="canonical" href="https://www.kupisi.mk/product/%D0%B7%D0%B0-%D0%B4%D0%BE%D0%BC%D0%B0/%D1%83%D0%BD%D0%B8%D0%B2%D0%B5%D1%80%D0%B7%D0%B0%D0%BB%D0%BD%D0%BE-%D0%BF%D0%B0%D0%BC%D0%B5%D1%82%D0%BD%D0%BE-%D0%B4%D0%B0%D0%BB%D0%B5%D1%87%D0%B8%D0%BD%D1%81%D0%BA%D0%BE/18">
Read a Book 88 Light Poster

Just as an update to this thread. I noticed weird link structure getting indexed on google after i created the new property with www version.
Take a look how my links are getting indexed

https://www.kupisi.mk/product/index.php?mainCategory=за-дома&productName=елегантен-кујнски-мијалник-од-нерѓосувачки-челик&product_id=44

https://www.kupisi.mk/product/за-дома/паметен-прекидач-за-светло-со-две-копчиња/46

https://www.kupisi.mk/product/index.php?mainCategory=За-Кола&productName=Полнач-за-телефон-за-во-кола&product_id=39

https://www.kupisi.mk/product/index.php?mainCategory=за-дома&productName=глава-за-туш-со-филтер-за-прочистување-вода&product_id=41

https://www.kupisi.mk/shop/

https://www.kupisi.mk/product/index.php?mainCategory=За-Дома&productName=Кујнски-мијалник-од-нерѓосувачки-челик-inox&product_id=28

Why is this happening to me and how can i edit them to look properly without the URL parameters names ?

Screenshot_2024-03-24_182352.png

i am using this code in htaccess file to rewrite the URL's

# Rewrite product URLs
RewriteRule ^product/index\.php$ - [L]
RewriteCond %{QUERY_STRING} mainCategory=([^&]+)&productName=([^&]+)&product_id=([^&]+)
RewriteRule ^product/index\.php$ /product/%1/%2/%3? [L,R=301]
RewriteRule ^product/([^/]+)/([^/]+)/([^/]+)/?$ product/index.php?mainCategory=$1&productName=$2&product_id=$3 [L]
Read a Book 88 Light Poster

Alright, got it! So Google is smart enough to realize that pametno-indukcisko-resho and паметно-индукционо-решо mean the same in my language.

Thank you so much for the help Dani!

Read a Book 88 Light Poster

Google won’t get confused as long as you implement 301 redirects from non-www to www.

I have code in .htaccess file
`

# Redirect non-www to www
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

`

Is this good enough?

I also have another question related to seo.
I have custom landing page on some of the products and i am using this kind of URL structure.
https://www.kupisi.mk/pametno-indukcisko-resho (this page is the LP for the product)
And this is the actual product page
https://www.kupisi.mk/product/за-дома/паметно-индукционо-решо/50
Take a look at the fonts they are different.

My question is should i keep the same font for the whole website or can i use different kind of font?
Because the link structure is written in Cyrillic font.

They both mean the same in my language just different font some people use

Read a Book 88 Light Poster

I was about to ask next about the Google Search Console whether i should make new property with www or not.
So now i made the new property, should i delete the old one, or just leave it like it is?
Google wont get confused on which property should crawl?
I will also make a dynamic sitemap that is generated with PHP with the www in the domain.
Till now i was not using any sitemap. Google was crawling my website on its own...

Read a Book 88 Light Poster

WOW finally solved! Thank you so much DANI !!
Removing the autoplay from the // Product Gallery Swiper1 == solved the problem!

Thank you so much!

Here is a product page with a video
https://www.kupisi.mk/product/за-дома/глава-за-туш-со-филтер-за-прочистување-вода/41

Read a Book 88 Light Poster

I have made a change to my website from non-www to www since i saw many google owned websites use www in front of the domains.. so i though why not me too. But after making the change i did a google search on the same topic and came up to many different answers from the communities.

I also ask BARD and ChatGPT about the same topic and they both gave me same positive answers, that this change may be good for long run SEO.

So why not ask DaniWeb community too? :)

What do you guys thing about this? Did i make good choice for this or not?

P.S: CloudFlare team recommended me this change since i was getting errors Invalid SSL Certificate (Error 526)
I am still getting the error but they are 100% sure it will not show up anymore if i wait few days.

AussieWebmaster commented: Either works just don't have both - redirect one to the other - and hope you have https not http +5
Read a Book 88 Light Poster

@rproffitt

I tried it with various higher numbers than 0 and it did no helped...

How can this be so big problem i don't understand :/

The products with videos in them are hurting my SEO...

Screenshot_2024-03-21_093154.png

rproffitt commented: That tells us that the object is not a slide/carousel or wrong object. Why not use a static image instead? +17
Read a Book 88 Light Poster

Hi from me too :)

Read a Book 88 Light Poster

I saw that the slideDelay is already set to 0. I uploaded the full code from the file lightgallery.min.js
here is the pastebin link to it
https://pastebin.com/v4qKbwVd

https://www.kupisi.mk/vendor/lightgallery/lightgallery.min.js

There are three files in the lightgallery folder
lightgallery.min.js
lightgallery.umd.js
lightgallery.es5.js

Please take a look and tell me if i am wrong

rproffitt commented: Try a rather large value. +17
Read a Book 88 Light Poster

@kimnancy

I tried contacting them for over 2 weeks... Their customer support is non existent
P.S i still have the same problem... i still cannot disable the auto swiping effect...
Tried to learn the lightgallery docs. but cant find relevant info

Read a Book 88 Light Poster

Anyone can help on this problem?

Read a Book 88 Light Poster

Please if someone have the knowledge or used this theme before help me i have searched the files many times and i am not able to find that variable to turn it OFF :S

Read a Book 88 Light Poster

I am sorry i am a little bit late to reply but i still didnt manage to fix the problem.
Here is the product page https://kupisi.mk/product/%D0%B7%D0%B0-%D0%B4%D0%BE%D0%BC%D0%B0/%D1%83%D0%BD%D0%B8%D0%B2%D0%B5%D1%80%D0%B7%D0%B0%D0%BB%D0%BD%D0%BE-%D0%BF%D0%B0%D0%BC%D0%B5%D1%82%D0%BD%D0%BE-%D0%B4%D0%B0%D0%BB%D0%B5%D1%87%D0%B8%D0%BD%D1%81%D0%BA%D0%BE/18

When you enter in the page the images start to scroll automatically... i need that turned off because of SEO problems. I want only the user to swipe the images manually.

Read a Book 88 Light Poster

Hello everyone i want to disable the automatic swipe effect on my product page on this site https://kupisi.mk
the lib is called lightgallery i am not able to find the line of code to turn it off for 2 days i need fresh pair of eyes !! :S

i made the link accessible for the libraries i use on the site
https://kupisi.mk/vendor/

the theme is called Mooncart and their customer support is non-existent i am trying to reach them for 1 week via messanger, phone, email ... but they never reply back .. I NEED HELP!! :S

Read a Book 88 Light Poster

Thats a well written info about cookies but that's not my purpose. I posted this thread with intention someone to help me generate google cookies and integrate into the Chrome browser whether through plugin or directly in the browser it self. I will do my test afterwards when i do that step first. So i see this thread is getting too long i guess i should mark it "solved".

Read a Book 88 Light Poster

The thing is i don't see any value that is named "location" so i am a little bit confused how they can detect the user location based on cookies?
I have used USA proxies and visited google.com but still didnt noticed any difference in the structure of the cookies.

"domain": ".google.com",
    "expirationDate": 1720692511.865996,
    "hostOnly": false,
    "httpOnly": true,
    "name": "HSID",
    "path": "/",
    "sameSite": "unspecified",
    "secure": false,
    "session": false,
    "storeId": "0",
    "value": "ApZ9wo5erf3tfsD6P",
    "id": 12
Read a Book 88 Light Poster

Thanks for your reply @AndreRat also are they are location based too or the location doesnt matter? For example i need USA Google cookies. And if i use same browser to generate google cookies each time with cleaning the browser history/cache/data will be that possible to generate different cookies? Also my purpose is when user visit my site i want to detect his browser google cookies (does he have them or not) and check whether they are real or not?
I am doing this to straighten my website security (if user is bot or not) and also test some other security flaws along the way

Read a Book 88 Light Poster

@AndreRat i want to generate cookies from google without using different browsers. Is there a way to generate them without browsers?

Read a Book 88 Light Poster

Hello everyone, i am in some kind of testing stage where i want to test some security flaws on websites/browsers with the cookies.
I want to generate google cookies with a different time period. (older than 2 months).
Firstly I will try to integrate into the browser via JS
Secondly i will try to integrate them manually via the browser
Thirdly i will try to integrate them via chrome plugin called EditThisCookie
Forth i will try to integrate via chromium automated browser.
I will post the updates here as i am getting results from them.
If anyone with the knowledge can help me how to generate this kind of real cookies please reply.

Here is a google cookie from my browser taken with the plugin EditThisCookie

[
{
    "domain": ".google.com",
    "expirationDate": 1720692511.866038,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__Secure-1PAPISID",
    "path": "/",
    "sameSite": "unspecified",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "jwwodBB_Lh0Hs7ZS/AC4Ex9QlednbpdGgQ",
    "id": 1
},
{
    "domain": ".google.com",
    "expirationDate": 1720692511.865889,
    "hostOnly": false,
    "httpOnly": true,
    "name": "__Secure-1PSID",
    "path": "/",
    "sameSite": "unspecified",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "XQjJqisiNRlJO_VKG3ZJM2C2rx_IME4xK-WcnU1tb4wpgUAlwOr34jllGr6pPvSdox7iQA.",
    "id": 2
},
{
    "domain": ".google.com",
    "expirationDate": 1717692417.861374,
    "hostOnly": false,
    "httpOnly": true,
    "name": "__Secure-1PSIDCC",
    "path": "/",
    "sameSite": "unspecified",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "AP8dLtzow1zA6ZFmHY6wJ4_cUZ0-VqJvipkRP4a_DdORG4jwJ_rD-US9F9CGQxssZ-TgNRa4Nw",
    "id": 3
},
{
    "domain": ".google.com",
    "expirationDate": 1717692032.138858,
    "hostOnly": false,
    "httpOnly": true,
    "name": "__Secure-1PSIDTS",
    "path": "/",
    "sameSite": "unspecified",
    "secure": true,
    "session": false,
    "storeId": "0",
    "value": "sidts-CjEBLFra0pi602FUuDQKuuGJ9hYiBaOo75-qG7xARkL1xHY7CvNGqYWLysWOesogZD0FEAA",
    "id": 4
},
{
    "domain": ".google.com",
    "expirationDate": 1720692511.866049,
    "hostOnly": false,
    "httpOnly": false,
    "name": "__Secure-3PAPISID",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": true,
    "session": false, …
AndreRet commented: Not sure what your question is? +15