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
-
International SEO | Question about Hreflang
Hi, I have an International SEO question and would like to get some help from Moz forum: Our company has a Taiwan office for a few years already, but never had any Traditional Chinese (lang code: ZH-TW) webpage publihsed on our site: https://www.abc.com. The regional team recently has built a 50 page ZH-TW microsite based on translations from select pages from abc.com. The site will have it's own navigation. Currently our CMS doesn't have a language directory to support ZH-TW (such as https://www.abc.com/zh-tw) If we do not add a directory, the pages would have to be published as ZH nodes (for Simplified CHINESE) with ZH language tags and canonicals. The only tag we can set for ZH-TW would be the Hreflang tag. Example:
Web Design | | ThinkingPanda0 -
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 -
Duplicate Content? Designing new site, but all content got indexed on developer's sandbox
An ecommerce I'm helping is getting a complete redesign. Their developer had a sandbox version of their new site for design & testing. Several thousand products were loaded into the sandbox site. Then Google/Bing crawled and indexed the site (because developer didn't have a robots.txt), picking up and caching about 7,200 pages. There were even 2-3 orders placed on the sandbox site, so people were finding it. So what happens now?
Web Design | | trafficmotion
When the sandbox site is transferred to the final version on the proper domain, is there a duplicate content issue?
How can the developer fix this?0 -
Looking for a developer with Volusion experience
We are looking for experienced developer that specializes in Volusion sites. Thanks in advance! Tony 714-744-1926
Web Design | | OCFurniture0 -
Web development - License CSS/Markup/Code
In development of a website, is it typical for the developer to retain rights to the CSS, Markup and other Coding? If so, why is this done?
Web Design | | DemiGR0 -
Adding another Question Topic
I am wondering if SEOMoz would consider adding a Question Topic called Webmasters. I see many questions that require answers from webmasters and I have some questions to ask that would require a webmaster to answer. Would it be better to find the answers on another platform? If the question is yes any recommendations on which forums are good for these types of questions?
Web Design | | polarking1 -
I have a question about converting a flash site to word press
We're changing one of our site to word press from flash and the old site had no content, so everything is going to be different. Should we try to match the page names and small amount of content and large amount of meta tags for now and slowly change them, or is it alright to change everything right now? The site has good ranking and I don't want to mess it up.
Web Design | | allstatetransmission0 -
Development site accidentally crawled - Will this cause problems?
We are currently developing a new version of our website and to make it easy to access for all team members, we just set it up on a server accessible via a publicly accessible domain name (ie devsite.com). There has been no SEO and no links created to this site, or so I thought. Recently, I found out that Google somehow found its way to this development site and has been indexing the pages! I was a little alarmed, as there are no links to the domain and we'll soon be transitioning all the content over to our primary production domain. I immediately created a robots.txt file to disallow access to the entire development domain. My fear is that there may be some duplicate content penalty if Google sees that the content that is on our new site (once it goes live and is pushed to our REAL domain name) was previously indexed on our test domain. We're slated to launch in 2-3 weeks. Is there anything else I should do? Should I even be worried? I'm probably a bit paranoid, but given the amount of time and effort that has gone into this new site, I love any advice or thoughts. Thank You!
Web Design | | AndrewY0