Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [wordpress]

WordPress is an open source content management system running on PHP and MySQL often used as a blog engine. There is a WordPress StackExchange at http://wordpress.stackexchange.com/: if your question is related to WordPress but not webmastery, then your should ask it over there.

176 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
244 views

Configure Nginx to serve the home page and a sub-directory with WordPress and everything else with Laravel

I'm currently facing a problem where a single vhost must serve two apps. One of them is WordPress, the other one is Laravel. I've managed to get it some kind of working using a URL prefix, but I can't ...
Jeffrey Ponsen's user avatar
5 votes
0 answers
78 views

“prev. next.” text in Google search results meta description

Strange things happend when I check my website in Google search results. I'm using Wordpress and Yoast SEO plugin. Meta description of site was typed in Yoast SEO plugin so everything is fine but at ...
lituoklis13's user avatar
5 votes
0 answers
89 views

Migrating Wordpress to Hugo (or generic markdown)

I have a blog which I want to migrate from Wordpress to Hugo. The problem is that the blog has a lot of posts which contain code examples, including HTML code. I'm using Codecolorer as Wordpress ...
tim's user avatar
  • 331
4 votes
0 answers
87 views

Can I change the name of my site as shown in the mobile search results on Google?

I'm working on a wp site that is displaying the incorrect name of the brand for Google search results. This only happens on a phone/mobile. Each search result is in a card with a little breadcrumb ...
RRhodes's user avatar
  • 141
4 votes
0 answers
1k views

ExpiresByType not working for PNG images when set in .htaccess for a WordPress site

In my website I have the expires headers settings reported below. When I use Google's PageSpeed Insights test I get the message: XYZ.png expire headers not set, which I'm getting for all the PNG files ...
Anto's user avatar
  • 41
3 votes
0 answers
66 views

What am I missing with the migration of my Wordpress Site from one Dreamhost Account to another?

I have spent at least 20 hours trying to figure this out at this point and just don't know what I am missing. I am moving a Wordpress site hosted on one Dreamhost Account to a different hosting ...
Katie Pardee's user avatar
3 votes
1 answer
80 views

Is it OK for SEO to remove old WordPress image uploads that are no longer being used on the site?

If I'm re-building a website that is not going to be using older image uploads, what's best practice in terms of SEO? Do I just delete the old uploads and move on or is it better to 301 them to the ...
Sev's user avatar
  • 63
3 votes
0 answers
251 views

Removed AMP for WordPress Plugin and now "/amp" and "?nonamp=1" URLs have infinite self-redirect

Google Search Console(GSC) shows "Page with redirect" errors on my website. According to GSC, these posts are not indexed. That is fine. But look like the URLs with "/amp" and &...
Kenneth's user avatar
  • 31
3 votes
0 answers
15 views

Can wordpress multisite work with multiple domains?

I know that Wordpress supports multisite both in the forms of path and subdomain installations. For example those: america.my-site.com europe.my-site.com africa.my-site.com can reside in the very ...
Xavi Montero's user avatar
3 votes
0 answers
254 views

Automatic display of WebP images instead of JPG images via Htaccess

I use Wordpress, the plugin "EWWW Image Optimizer" creates from JPG images automatically also WebP versions (example: From the image image.jpg is also an image image.jpg.webp created). The ...
dajana.s's user avatar
  • 161
3 votes
0 answers
217 views

PHP file triggers on every page load?

I've got a WordPress website that has a script which seems to be triggering every time any user loads a page. This PHP script is very simple (less than 25 lines) and is meant to be an API endpoint, so ...
Guy's user avatar
  • 211
3 votes
0 answers
65 views

reCAPTCHA v3 Dropping Form Submission Redirects

I have the forms on a site that I manage configured to redirect to https://example.com/thank-you/?foo upon submission. The site uses Gravity Forms. My confirmation settings are like this: When I ...
Mike Ciffone's user avatar
  • 6,390
3 votes
0 answers
282 views

Bing removed page from index after switching from WordPress to Next,js

My site had been ranking well (position ~4 page 1) on Bing, but after switching from WordPress to Next.js, Bing Webmaster Tools says it can't be indexed. Any idea what could be wrong? The webpage is ...
SRUCLA's user avatar
  • 131
3 votes
0 answers
266 views

litespeed cache works but after some time site gets to redirect into redirect loop

I have a WP one page website on which i enabled light speed cache plugin which improved site performance but on the other side side goes into redirect loop which crashes the site. I was not able to ...
Learning's user avatar
  • 711
3 votes
0 answers
20 views

Omit my own activity when using Microsoft Clarity

I have only just started trying out Microsoft Clarity with my Wordpress website. One thing I have noticed is that it detects and records myself when editing the pages on the site etc. Is there any way ...
Andrew Truckle's user avatar
3 votes
0 answers
761 views

How can I keep WordPress files in sync on two servers behind a load balancer?

I have two Amazon Linux web servers with an Amazon Load Balancer, and I want to use WordPress to display content at the document root level only. The site has other subdirectories with PHP files that ...
Russell G's user avatar
  • 131
3 votes
0 answers
34 views

Will it improve SEO to clean up my WordPress tags?

I have had a website for 6 years and I create post for it every week. From the start (6 years ago to 8 month ago), I attached familiar tags to every post. Now: Some of my posts (100 posts) have many ...
otut's user avatar
  • 31
3 votes
0 answers
84 views

Does changing the publication dates of the posts on my recipes website penalize me on the SEO?

I have a website about recipes made with Wordpress. I recently gave a new fresh look to my website by changing the theme and I also started to improve the pictures of the recipes to make them look ...
cholo14's user avatar
  • 131
3 votes
0 answers
50 views

With WordPress multi-language site in English and Spanish, Google doesn't index the URLs with the /es/

I have launched a website with English and Spanish languages. I've done it using WordPress multi-language (WPML), but I'm having a lot of problems indexing and ranking the Spanish URLs, which appear ...
Nech's user avatar
  • 31
3 votes
0 answers
523 views

Can I test if my site's URLs have 403 errors for Google Ads Bot?

All URLs in my WordPress site can be visited via browser such as FireFox and Chrome successfully. However, today I receive emails from Google Ads telling me that some of the URLs have errors. The ...
alancc's user avatar
  • 439
3 votes
0 answers
234 views

Google search console reports indexing my pages with pagination parameters even though they redirect

I recently saw in search console that Google is indexing some of my WordPress posts with pagination. For example example.com/post/page/2. The coverage report says "indexed but not submitted." It ...
olusegun's user avatar
3 votes
0 answers
64 views

Should a page with adsense be viewed at least once for adsense crawler to crawl?

I use plugins to insert Adsense codes on my WordPress website. The plugin has an option to disable ads for the admin user. Hence, I will not be seeing ads when creating and publishing/reviewing posts. ...
Kannan's user avatar
  • 2,343
3 votes
0 answers
87 views

Putting an ampersand (&) in a webpage's path (via WordPress Yoast) can be problematic?

I consider putting an ampersand (&) in a webpage's path (via WordPress Yoast). I have a webpage with the h1 of "Questions and answers" and I'd like the webpage path to be just q&a (like ...
user avatar
3 votes
0 answers
70 views

Will a US, Asia, and Europe CDN improve page load time for Central American visitors to a US hosted site?

The CDN's location servers are on US, Europe, and Asia. The web page is hosted in US. Visitors to your website are only from Central America. Will the website page load time be benefit if that CDN ...
user59594's user avatar
3 votes
0 answers
673 views

Does Yoast support regular expression redirects to remove the date from post URLs?

I have to setup as redirect from "Date and Name" Format to "Post Name" Format. For example: /2010/10/post-url/ it must be redirected to /post-url/ I am using Yoast for redirect. I don't know what ...
Alen's user avatar
  • 544
3 votes
0 answers
23 views

How to link a signup with a utm source across multiple steps with google analytics and mixpanel?

Currently I am running an ad champaign to get users to click on a link to my wordpress site. The link uses utm_source code google-ads. Once the user is on the wordpress landing pages, they can click ...
Anthony Kong's user avatar
3 votes
0 answers
176 views

After changing Google Analytics Custom Dimensions from user id to user name, some ids are still showing up in reports

I have a WordPress website and I setup a custom dimension in Google Analytics to log, as a custom dimension, the blog post authors user ID. This worked fine. I have since changed this to now log the ...
Mat's user avatar
  • 131
3 votes
0 answers
93 views

Remote document root being overwritten with local

Today an interesting problem has arisen. A piece of code that relies on the Server Document Root suddenly stopped working on only my browsers. My machine is where I develop locally using xampp, and ...
AmarB's user avatar
  • 31
3 votes
0 answers
312 views

When the layout of my page gets jumbled after browsing the site, is the problem with WordPress or hosting?

I've had problems with the loading view of my site. Initially everything looks OK but after clicking on other pages and coming back to the Home page the slider and other elements are not showing as ...
Tessa's user avatar
  • 31
3 votes
0 answers
41 views

Google page insights score improvement (mostly images and external http requests)

So I have this food blog that is based on wordpress but everything is coded from scratch (apart from a few plugins) as I wanted to have as much control over http requests etc as possible... These are ...
nikola_wd's user avatar
  • 131
3 votes
0 answers
53 views

Proper Schema.org type for generic webpage on WordPress

I installed one of the most popular Schema.org mark-up plugins on WordPress (WP SEO Structured Data Schema) to resolve my Google Console errors. For blog posts it is pretty straight forward, but I ...
AA Mon's user avatar
  • 41
3 votes
0 answers
38 views

Google Webmaster tools. Fetch as Google complete but no result

In my other website I can see source code of page on fetching result but in this case I can see only 0
user73615's user avatar
3 votes
0 answers
230 views

Accessing distribution URL directly gives XML error

I'm currently setting up the Amazon Cloudfront distribution and S3 bucket for my Wordpress website. I set up new S3 bucket for the site and i'm using the S3 offload plugin for wordpress to store any ...
Joe Bloggs's user avatar
3 votes
1 answer
478 views

WordPress Yoast SEO canonical tag trailing slash on custom post type categories

In my theme is a custom post type for events. On the category pages for these custom post types no trailing slash is being added to the URL in the canonical tag when there should be. What could be ...
joker91's user avatar
  • 31
2 votes
0 answers
48 views

hosting multiple websites in the same server

I have a server that has multiple websites, when i access one of them by the ip address or domain name it directs me there with no problem,the rest are accessed by a domain name without any problem, i ...
a user's user avatar
  • 21
2 votes
0 answers
61 views

Change product images WooCommerce (jpeg > webp.) the right way?

I'm working on converting product images from .jpeg to webp, I want to do this without a plugin, but preferably within the functions of WooCommerce. I exported the products as a .csv file and adjusted ...
Hans's user avatar
  • 63
2 votes
0 answers
80 views

Weird URLs in Google Search Console

Looking at our Excluded by ‘noindex’ tag in the Google Search console we have tens of thousands of these URLs that look like this. /page/2/?s=Xổ+số+thể+thao+Xổ+số+kiến+thiết+bóng+đá+5+lần+bao+nhiêu+...
Casey Landreth's user avatar
2 votes
0 answers
320 views

What is correct way to stop query indexing using Robots.txt?

How to stop indexing search result using Robots.txt? hello. Recently, I'm having an issue with indexed pages in Google Search Console growing 10x. These pages are mostly search query (/?s=) and ...
cheonmu's user avatar
  • 21
2 votes
0 answers
27 views

How Google Lighthouse check Speed index time

I am tuning the performance of a wordpress website. So I use the Google Lighthouse, which is built in function of browser console, to check the score the website. The homepage is an article page with ...
user avatar
2 votes
0 answers
236 views

How to 301 redirect site alias domain to a subdomain on the same hosting?

We have the following problem in Cpanel / htaccess file when trying to 301 redirect example.hu (alias) pages to example.com (subdomain) pages: Cpanel example.hu to example.com redirection is working, ...
user avatar
2 votes
0 answers
52 views

Which PHP extensions do most web hosts commonly have installed and enabled?

I'm building a WordPress plugin intended for wide release, and would like to be able to rely on the openssl and gmp extensions, which require that PHP was compiled with those extensions specified and ...
tobek's user avatar
  • 143
2 votes
0 answers
26 views

Domain from Microsoft hosted by azure

I like to build websites using WordPress. I am self-taught and can generally sort out nameservers to point to a domain. You will guess from my question that I am no expert! I have just build a ...
Mais's user avatar
  • 21
2 votes
0 answers
32 views

Is there a way to use js templating with wordpress without impacting seo or ux?

I have one JSON file that contains the text content for my hundreds of Wordpress posts. I am using templating, mustache.js, to insert the text content and render the posts. This saves me a lot of time,...
newuser's user avatar
  • 21
2 votes
0 answers
28 views

Wordpress site showing up with IP address rather than domain name after transfer to Google cloud

Domain name is changed to the IP address. Website URL is working fine, new posts are working fine. Old posts images are breaking as it's changed to the IP address instead of the domain name. I've ...
johnrao07's user avatar
  • 163
2 votes
0 answers
34 views

Validation error from htmlvalidator.com using wp_enqueue_script that text/javascript is obsolete

This code was being flagged on my Wordpress website: <script type='text/javascript' src='http://www.publictalksoftware.co.uk/wp-content/plugins/simple-download-monitor/js/sdm_g_recaptcha.js?ver=1'&...
Andrew Truckle's user avatar
2 votes
0 answers
22 views

How to delete an ad unit displaying on categories page in WordPress?

I want to delete an ad unit attached to a post. That ad unit is not present in the post, but it is still appearing on the categories page. This is not a featured image. How do I do that?
Sandeep Jenda's user avatar
2 votes
0 answers
238 views

SSL Caching prevends https requests

I use the W3 Total Cache Plugin for Wordpress. If I enabled "Cache SSL (https) requests" in W3 Total Cache and testing my site at https://securityheaders.io for security reports, then I get only one ...
rgcapo's user avatar
  • 21
2 votes
0 answers
58 views

Is Google smart enough to understand article and comment separately on WordPress blog?

One of my client's site totally depends on the comments. It is something like a Q/A site. Users ask questions, answers are given using WordPress default comment system. So the most important content ...
I am the Most Stupid Person's user avatar
2 votes
0 answers
697 views

For creation of an appropriate SPF record, how can I find the IP address of the mail server used by a WordPress website on cPanel?

I have a WordPress website that is sending emails to me through a contact form. The From address in the emails uses the same domain name of the website. Currently the emails are being treated as spam,...
Highly Irregular's user avatar
2 votes
0 answers
51 views

Email sending to only one of two form addresses

I'm trying to find possible places to look for an issue that I'm struggling with on my website. Scenario: Ubuntu server uses sendmail and configured mail relay to go through our O365 servers. This ...
Dave's user avatar
  • 21