I have a Wordpress website and I notice that my URL is not correct, it generates a weird text ?v=2a4b9e2e4254 for example http://my-domain/?v=2a4b9e2e4254, and this text is appears in every page and post, e.g. http://my-domain/contact/?v=2a4b9e2e4254
Any ideas on how can I fix this? I tried everything on phpMyadmin on wp-config with no result.
The v argument is added by WooCommerce if geolocation with page caching support is enabled:
Geolocate with page caching support is the same as above, but does the geolocation via Ajax. You may notice your website URLs have a ?v=xxxxx appended to them. This is normal to prevent static caching of prices.
As long as you don't need that feature you should be able to disable it in your WooCommerce configuration.
Related
im working on adding and modifying the content of a website, but im having multiple issues with the very basic functioning of the editor. Please keep in mind i didnt build this site myself, so i might not be aware of many things that may be obvious to you.
If left unmodified, to the user, the site shows no issues whastoever, it is I as the administrator who experiencies all these issues.
I will describe/ show the issue and give a list of the things i have tried already.
While looking at Cpanel's PHP admin app, and the htaccess file, i see the php version is 7.4. However, while using wordpress, the site health status tool warns me that im using php version 7.1.33
Im not getting the admin bar when looking at the website, it just shows a white bar with nothing else.
3.If i go to the backend editor and try to customize the template im using (called Jupiter 5) i get very few options in the side bar, it doesnt show things like header options for example. And i have no floating editor options on the site itself, i get no tools, nothing.
See image
When i go inside wordpress to "pages" and try to edit a page, the editor box shows the content with the code included or shows nothing while using the "visual composer" mode. This is how it looks
When i try changing the template, the content appears like this. A huge mess, though some editor controls show up in this case
6.I tried using plugin detective but when i launch it, and it asks for my credentials, i hit login yet it does nothing.
I tried disabling all plugins, only header and bottom show up kinda normally, the body becomes text with code like the image of point 5. I still dont get the admin bar on site.
If I, after disabling all plugins go to pages, then select any page and click "edit", the adress of the site shows im on the edit page, but the page itself is completely blank, i dont even get the wordpress bar at the left.
If I disable all plugins, then activate only a plugin called WPBakery, the body of the site stops showing text with code and actually shows most visual elements, no edit options though, except for a small text at the bottom. A weird thing about this plugin is that despite of its name, when activated, it shows up as "Visual Composer" instead of WPBakery.
So far, besides disabling plugins and testing, i have only tried Updating Wordpress, the only thing that changes is that the admin bar finally shows, but the "customization" mode remains exactly the same, useless.
Classic editor is already installed btw.
I hope someone can help me, thanks.
how to remove this type of warnings in wordpress blog in console debug page A Parser-blocking, cross site (i.e. different eTLD+1) script wordpress
check attached image , how can i remove this warnings?
There is not so much detail but I am assuming that you are embedding Google Publisher tags script into your website.
You probably are using some old embed method for GPT which uses document.write as its basis and therefore causes this error.
What you need to do is to use newer embed method like asynchronous one.
Here you can find more information
https://support.google.com/dfp_premium/answer/1638622?hl=en&ref_topic=4389931
I am currently working on a website that is non ssl for the non eCommerce sections, but uses ssl for the woocommerce portion. I am attempting to redirect reviews of products to a thank you page, which I was able to get working just fine on staging. When moving to the live environment, The comment form is calling the post url as the following: " Where my client's website is using nonhttps urls everywhere except the woocommerce urls. So this is making it call the url as https://website.com/wp-comments-post.php, where it is white screen of deathing. I modified the core file for a moment to test the theory and it worked, I am just unable to find anything that will let me modified the url to change the https to http. I looked into comment_form(), but it doesn't appear to offer a hook or filter for this. Any suggestions?
I agree it doesn't make sense to not have https on some pages, especially form input.
But doing a redirect for that form url in the .htaccess would be the way to go.
Using WordPress Multi-site install and W3 Total Cache with hosting on Amazon EC2, I want to create a redirect for one set of pages based on the geolocation of user.
To be more clear: I have one US content page, and one non-US content page. If someone in the US visits the non-US page they should be redirected, and vise versa, if someone from Canada visits the US page they should be redirected.
I am open to using a service in my hosting environment, another plug in for WordPress (as long as it doesn't affect the W3 Total Cache) or something that requires a coded solution.
#andrew If you use a structure like:
domain.com/us/page
domain.com/global/page
these are then separate pages and will be cached separately.
Make sure that W3 isn't caching your geotargeting plugin's redirect script as it often causes problems (turn minification of js off to test).
You can also exclude pages from being cached by adding it to the exclude list in W3's admin area.
You may want to consider something like this.
http://wordpress.org/extend/plugins/geographical-redirect/
or
http://wordpress.org/extend/plugins/source-redirect-site/
or
http://codecanyon.net/item/wp-geoip-country-redirect/3589163
Or you can make your own using:
http://www.maxmind.com/en/country
I have an issue in my website. Looking up my site in search engines, and viewing the cached version of the index page, shows only the header and footer of the page. Everything in between is omitted. This issue is apparent only in the index page. Other pages on the site are fine.
Here is the cached page
Here's a direct link to the page.
Things to note:
This issue does not seem to happen in Google search only, but also
Bing and Yahoo.
In Google cache, it's possible to display the text-only version of
the page, which seems to SHOW the page just fine, including the omitted content but without style.
In google webmaster tools, the page preview of the index page does
not have this issue. It shows it just fine.
The index page is using a jquery plugin to display the car brands,
and it allows for sorting based on region/country. I don't know if
this is the culprit.
My site is in Arabic. Sorry if you don't understand anything .-.
I think Google seems to have trouble parsing your document. You have 2 sets of <html></html> tags in your document, which could lead the Google engine to confusion and errors.
I would strongly recommend you to fix your HTML errors using W3 Validator, this will probably allow Google to parse your document without errors.
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mrkabat.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0