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
-
More important SEO
Hello, I was wondering where my time is most valuable. I have a linking tree as follows: Main Site > Product > Specific Product Is the Product page more important to add SEO or is the end deep linked page "specific product" more important? I'm ready to hear the answers of whatever gives a better customer experience and both... Thanks!
On-Page Optimization | | DiscGolfShopping0 -
Is there a way to find out who is trying to damage my site
Hi, to cut the story short, i hired a seo guy to do work on my site, paid a lot of money, but then when he was let go all the links to the site were stripped and other work had vanished. I want to know if there is a way to prove this and to also check on any other damage that he could be doing at the moment to my site. The site was running high in the search engines and then dropped a short while after he was let go.
On-Page Optimization | | in2townpublicrelations0 -
Best way to separate blogs, media coverage, and press releases on WordPress?
I'm curious what some of your thoughts are on the best way to handle the separation of blog posts, from press releases stories, from media coverage. With 1 WordPress installation, we're obviously utilizing the Posts for these types of content. It seems obvious to put press releases into a "press release" category and media coverage into a "media coverage" category.... but then what about blog posts? We could put blog posts into a "blog" category, but I hate that. And what about actual blog categories? I tried making sub-categories for the blog category which seemed like it was going to work, until the breadcrumbs looked all crazy. Example: Homepage > Blog > Blog > Sub-Category Homepage = http://www.example.com First 'Blog' = http://www.example.com/blog Second 'Blog' = http://www.example.com/category/blog Sub-Category = http://www.example.com/category/blog/sub-category This just doesn't seem very clean and I feel like there has to be a better solution to this. What about post types? I've never really worked with them. Is that the solution to my woes? All suggestions are welcome! EDIT: I should add that we would like the URL to contain /blog/ for blog posts /media-coverage/ for media coverage, and /press-releases/ for press releases. For blog posts, we don't want the sub-category to be in the URL.
On-Page Optimization | | Philip-DiPatrizio0 -
Adding meta description tags to Drupal 6 content
It looks as if a quick improvement to the (inherited) site that I manage would be to add meta description tags to all our pages. But I don't see a user-friendly way to modify the html headers from within Drupal. I'm debating whether to interpose CSS code between Drupal and the final html content, but I'd face a steep learning curve on CSS. Can you suggest a more excellent approach? Thanks!
On-Page Optimization | | marcellu
John0 -
How important are internal pages to overall site rank?
This seems like it should be an easy question (and probably is), but it has stumped a few of us over the past few days. Here's the scenario: We have a site that we are trying to optimize to rank well for a set of keywords. We have a lot of internal pages that are important to users when they visit the site (case studies, for example), but they aren't the pages that we want people to find when they search for our primary keywords. Our question is, is it valuable to optimize those internal pages for our keywords? In other words, will having a lot of internal pages that mention our keywords affect how well our overall site ranks for those keywords? Or, is it only important to have one "hero" page for our important keywords? Thanks!
On-Page Optimization | | omg_jlsa0 -
The importance of the home page and subdirectories
I am getting myself quite confused. My home page and target for one of my main sets of keywords is actually located at: www.domain.net.au/keywords/default.aspx BUT I have loads of external links resolving to: www.domain.net.au/ I had assumed that the best practice for getting the best ranking for the keyword would be to Canoniclise the page to:www.domain.net.au/keywords/ Is that a good assumption ? Or will it only work if I can change all the inbound, external links as well ? Thanks -Mark
On-Page Optimization | | blinkybill0 -
Right way to block google robots from ppc landing pages
What is the right way to completely block seo robots from my adword landing pages? Robots.txt does not work really good for that, as far I know. Adding metatags noindex nofollow on the other side will block adwords robot as well. right? Thank you very much, Serge
On-Page Optimization | | Kotkov0 -
Google place 7 -> 40, why??
Hi, my new site http://www.ie-mac.com/ just dropped 33 places from place 7 to place 40 on goolge.com , for the two word combo: ie mac Did I screw up? How? Background Info: 1 Two weeks ago I moved my whole site from my old domain http://ie4mac.com/ to http://www.ie-mac.com/ with the goal of obtaining a good ranking for the keyword combo: ie mac. Apparantly tis worked- The site showed up on place 7. 2. I changed the design of the site and put the video on the front page. Good so far, still place 7, but: The text that google was showing was half the ALT-Tag of the Video first-slide image and the other half was our trademark disclaimer. 3. I changed the ALT tag and the disclaimer to give users a more inviting text on google. THis worked, google now shows the text as intended, but: For the desired combo: ie mac the site dropped to palce 40!! My best guesses at this point: 1. I'm using wordpress as a CMS and the all-in-one-seo-pack plugin to set custom titles etc., and the google XML sitemap plugin to buid an XML sitemap and notify google. During the couple of days, I made a lot of chnages to the site. Could be that the plugin pinged google a lot of times. Could this be part of the problem? 2. The site is hosted at http://www.ixwebhosting.com/ , because they give users dedicated IPs and a good price. However, the loadlevel on the server I'm on is always very high (10 - 20). I'm using a CDN for images and a caching plugin so the site loads in less than 2 seconds according to http://tools.pingdom.com/ . Unless the cache is empty, then it's 9 seconds. This is not great, but it's also no new, so: What could have caused the sudden drop from 7 to 40?? Thank you and kind regards
On-Page Optimization | | ie4mac0