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
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
-
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 -
Domain Question
Which would be best for a client: (for promoting the product and SEO) Product on existing business website:
Web Design | | Kdruckenbrod
business.com/category/productname or a completely new domain name for the product:
productname.com Thanks for your feedback.0 -
Web Developments and Breakpoints for SEO
Google likes fast and clean pages. Pages load better when they are optimized for each platform. With the new Ultra HD resolutions and ultra phones, what is the optimal number of breakpoints for web page with images on them?
Web Design | | Atlanta-SMO0 -
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 -
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 -
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