Easy way to import metadata into Drupal 7?
-
We have to update the metadata for a drupal 7 website. We've already written them all out, and know exactly what URL they should go to. But I don't want to waste the client's money by spending any more time than is necessary on uploading the information to the site.
Is there a way to upload the information that isn't manual?
-
Thanks for the reply.
We ended up doing it manually, as we only had a few hundred pages to update. But I am going to keep this in my back pocket in case we run into the same issue with another client. Thanks again!
-
The only way that I am aware of would be to create a spreadsheet that matches the format of the metatag table in your database then creating a pattern using concatenation. The result would be an output to your data field that looked like - a:1:{s:11:"description";a:1:{s:5:"value";s:53:"This is a change for testing purpose in the database.";}}
I sure would not attempt this on a live site and if you dont have a sandbox set up for it already it might not be worth your time.
Another danger in uploading it would be how the cache_metatag table would be influenced.
Overall, unless you have thousands and thousands of entities I would do it the manual way.
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
-
What is the safest way to redirect for best SEO benefits?
What is the safest way to redirect for best SEO benefits? Example: loodgieter-aanhuis.nl -> loodgieters-ambacht.nl Does someone have any technical information on how to (root) redirect for best SEO practices?
On-Page Optimization | | hans-keeren0 -
Use H2 or H3 for Six Ways to Hip Thrust https://www.fitness-china.com/hip-thrust
Our article about Hip Thrust https://www.fitness-china.com/hip-thrust We have sex tips about how to hip thrust. that use h2. but Final Words use h3 or h2?
On-Page Optimization | | ahislop5740 -
Is the URL Matching the Page Title Important?
Hello I have tried searching for an answer on this but I can't get a clear answer due to the results when searching for URL title. I have just launched our second Shopify site for one of our brands. My first site launched in 2014 but when I launched I didn't pay much heed to SEO for page titles, URLs, etc so have retrospectively fixed this over time. For my Shopify site just launching I want to get it as right as possible from the start (learning from mistakes). My question is regarding URLs and what my approach should be for better SEO. So, I have a page with a Title of Newton Leather Wallets, Purses, Card Holders & Glasses Cases and the URL is https://www.tumbleandhide.com/collections/newton-leather-wallets-card-holders It was my understanding that I should try and make the URL reflect the Page Title more accurately. The problem is that this takes the character count to 77. On other pages it can be in the 80s. Will the above link be better for SEO than say just https://www.tumbleandhide.com/collections/newton I am just wary of the URL's being too long as my Moz Site Crawl is returning a lot of URLs that are too long. Thanks in Advance.
On-Page Optimization | | lukegj0 -
Do you need Metadata on Password Protect Pages?
Hey guys and gals, I was wondering if it matters to have metadata on password protected pages or if they can be ignored. Thanks,
On-Page Optimization | | brightvessel0 -
Best Way To Pass Rank To Follow Up Article?
What is the best way to pass rank to a follow-up article? For example, we write an article "Product A Rumors" that ends up ranking #1. When Product A is released, we write an article called "Product A Review". What is the best way to pass rank from the first pre-release article to the second post-release article? We don't want to do a simple 301 redirect as we want readers to be able to go back to the first article to see the progression of the Product A life-cycle. Also, should we go back and edit the old article to add a link to the new? Should we add a link in the new article to the old? Thanks in advance 😉
On-Page Optimization | | Humanovation0 -
What is the best way to resolve duplicate content issue
Hi I have a client whose site content has been scraped and used in numerous other sites. This is detrimental to ranking. One term we wish to rank for is nowhere. My question is this: what's the quickest way to resolve a duplicate content issue when other sites have stolen your content? I understand that maybe I should firstly contact these site owners and 'appeal to their better nature'. This will take time and they may not even comply. I've also considered rewriting our content. Again this takes time. Has anybody experienced this issue before? If so how did you come to a solution? Thanks in advance.
On-Page Optimization | | sicseo0 -
Important keywords in product names
Hi! among other we sell motorcycle clothing, which you can buy as a set (both jacket and pants) or single piece. Currently we name the products with the labeling in the beginning, e.g: Motorcycle pants R2000, Motorcycle jacket R2000, Motorcycle kit R2000 Motorcycle pants R4000, Motorcycle jacket R4000, Motorcycle kit R4000 This is causing keyword stuffing and cannibalization in the category pages as all the product names include important keywords. On the other hand it would be beneficial to keep the labeling in the name for search queries for the exact product. What be your recommendations? I tend to take the labeling away.
On-Page Optimization | | RomiSverige0 -
Sequence of heading tags (H1, H2, H3, etc) important?
Meaning heading tags (H1, H2, H3, etc) are a critical part of good on-page optimisation. Fair enough. It helps humans and bots make sense of a page's content. 3 questions regarding implementation of heading tags: Should heading tags appear in sequence in the HTML code. I.e. H1 first, then H2 lower down, etc.? Can the page contain more than one H1 tag? Can the page contain multiple H2, H3, H4 tags?
On-Page Optimization | | AndreVanKets1