Question for a developer out there...
-
I have a random question form someone who is a developer. I"m not sure if this is the right place to post this question, but figured it was worth a shot.
I have the Yoast SEO plug in installed, and it this plug in is duplicating some of the functions of my theme and as a result I have some duplicate html and meta data in my source code.
From what I can tell it looks like both my theme and and the YOAST plug in are duplicating meta description, canonical url, and maybe a few other things that I can't really understand.
I was wondering if anyone knew of what the best way to fix something like this, and if these issues are having any negative effects on my site / SEO?
Thanks so much.
-
Hi Rick,
I'm going through older questions that are unanswered. Did you get this one figured out, or are you still needing a hand?
Thanks!
Keri
-
Thanks Casey!
-
Could very well be in the functions.php file also. If you want you can shoot me an email(listed in my profile) with the functions.php & header.php file - I should have time to take a look for you today at some point and at least point you in the right direction.
-
@casey, thanks for your reply, I can go into the header and delete the info, but there's something in the them (a function?) that is getting the into. I'm assuming I delete some info from perhaps funtions.php?
thanks for your help by the way.
-
@casey, thanks for your reply, I can go into the header and delete the info, but there's something in the them (a function?) that is getting the into. I'm assuming I delete some info from perhaps funtions.php?
thanks for your help by the way.
-
Hi,
It looks like the meta description isnt 100% duplicated, the YOAST version has another sentence than the other description.
I would check the header.php file located in your theme, (or from the WordPress dashboard go toAppearance>Editor>header.php) Try to find the meta description and canonical url in that file and just erase them. Dont worry this wont erase the YOAST settings or tags (as that is pulled in through the wp_head hook).
Once your in your code, if your not sure on what to edit, post a screenshot of your header.php file here
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Thinking about redesigning site to reduce bounce rate - have a couple of questions
BACKGROUND Im looking at redesigning the website for a creative consultancy to improve the user experience. The website is mainly an image portfolio along with “press”, “our services”, “about us”, “contact” pages. I originally designed the website a few years ago and when we did, we wanted to make the image portfolio the most important feature. So we made it a full screen JS image slider with lazy loading of images, so that there are about 40 full screen images on the homepage that rotate. From a users point of view i still feel this is the best system as it very quickly allows them to browse the portfolio, which we looking for a creative consultancy is their UPS (unique selling point). The site has a very strong backlink profile compared to its competitors in the SERPS it has about 20-25% increase in PA and DA. But our site has been slipping down the rankings in recent years / months. From spot 1-2 to about spot 5-7. MY HYPOTHESIS I think that the reason the site may be dropping back in the SERP is that although its a very usable site, all its portfolio information is “too easy to find / view” and results in a user coming to our site, seeing everything they need to see, then bouncing back to the SERP. Our site has a bounce rate of 40-60%. Where as on competitors sites, their “portfolio” is a separate page off the homepage, so a users has to click through to a separate page, and even if they don't like the design content of the portfolio it doesn't get logged as a bounce. MY QUESTION Does bounce rate affect SERP ranking ? Could the sites SERP performance be improved by redesigning the site to put the portfolio on a separate page so a user would have to click through to it, if that would get the bounce rate down, would the site see a benefit even if people still clicked back to the SERP results eventually after seeing our portfolio, even though it wasn't a true 1 page bounce ? Dose time on site affect SERP ranking ? Is there a way i can see a competitor's bounce rate ? Would welcome any other thoughts inputs on this matter.
Web Design | | sl_pa0 -
Few Specific Migration Questions
Hi Everyone, We are about ready to do the migration for our website. I've done smaller migrations in the past, but this is a $5 million+ site. We are moving from Magento to Shopify (same domain, different hosting). I read the Moz migration guide, which was great. Any tips from you guys on things that you might have missed when doing a migration? I've Got... All url redirects completed All legacy redirects completed All image url redirects completed All meta data/content moved over It was recommended that I submit the old site's XML Sitemap to Google when the new site goes live so I can get all the redirects indexed. Do you just create an XML sitemap from the old site and upload it to the new site or how is that done? Is there anything from a server/hosting standpoint I need to watch out for? I am using Screaming Frog for the old site to record all data. I was also thinking about Deep Crawl. Any other tools that helped you with your migration? We have many pages that are www.domain.com/page.html?p=2 for example that is a page 2 of a category. Do these need to be redirected as well? Thank you!
Web Design | | vetofunk0 -
To delete or not? That is the question..
In the case of an eCommerce store with a large catalogue of branded goods the inventory is constantly being adjusted as products become discontinued. Each year most fashion brands have 2 or 3 launches. At this same time they will delete some (not all) of previous years collections. Once we have sold through the remaining inventory of last season's products the question is how to proceed? a) delete products to avoid customers landing on page, then only to be disappointed when product is no longer available to purchase.. b) keep products however mark as discontinued / no longer available and show a link to a similar product if applicable.. I am coming around to the opinion that b) provides a better user experience. However will this growing catalogue of old products (pushed to bottom of category page) help keep content of site full and have SEO advantages? If this is the case then that helps confirm b) as best choice??
Web Design | | seanmccauley0 -
How to prevent development website subdomain from being indexed?
Hello awesome MOZ Community! Our development team uses a sub-domain "dev.example.com" for our SEO clients' websites. This allows changes to be made to the dev site (U/X changes, forms testing, etc.) for client approval and testing. An embarrassing discovery was made. Naturally, when you run a "site:example.com" the "dev.example.com" is being indexed. We don't want our clients websites to get penalized or lose killer SERPs because of duplicate content. The solution that is being implemented is to edit the robots.txt file and block the dev site from being indexed by search engines. My questions is, does anyone in the MOZ Community disagree with this solution? Can you recommend another solution? Would you advise against using the sub-domain "dev." for live and ongoing development websites? Thanks!
Web Design | | SproutDigital0 -
Why would a developer build all page content in php?
Picked up a new client. Site is built on Wordpress. Previous developer built nearly all page content in their custom theme's PHP files. In other words, the theme's "page.php" file contains virtually all the HTML for each of the site's pages. Each individual page's back-end page editor appears blank, except for some of the page text. No markup, no widgets, no custom fields. And no dedicated, page-specific php files either. Pages are differentiated within page.php using: elseif (is_page("27") Has anyone ever come across this approach before? Why might someone do this?
Web Design | | mphdavidson0 -
Can someone please help with technical question!
I have noticed that our website tool to get a quote does not work with active scripting disabled is this bad? How many people have this disabled?
Web Design | | BobAnderson0 -
Live website is an addon domain - Need site old development url inaccessable from live domain
Hi everyone, I have a website which is built in Joomla 2.5. The development site is located at www,abc.com/subdomain/. We have set the site live using an addon domain which is www.xyz.com. The problem is, www.abc.com/subdomain/ is still accessible and being crawled by Google. How is the best way to make the development url inaccessible? Any help would be appreciated!
Web Design | | DougHosmer0 -
Question re. crawlable textual content
I have a client who is struggling to fit crawlable textual content on their pages. I'm wondering if we can add a "Learn More..." feature that works as a mouse over pop up. When a page visitor runs their curser over the link or button, a window bubble pops up and textual content about the page will show. Not knowing much about code, can text in this format be crawlable by search engines and count as unique and relevant content? Thanks, Dino
Web Design | | Dino640