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
-
How important are image file names
Hi, How important do you think the image file names are for image search?
On-Page Optimization | | jjtech
I know it used to be the best practice a while ago but is it still important? Thanks in advance, JJ0 -
What is the best way to execute a geo redirect?
Based on what I've read, it seems like everyone agrees an IP-based, server side redirect is fine for SEO if you have content that is "geo" in nature. What I don't understand is how to actually do this. It seems like after a bit of research there are 3 options: You can do a 301 which it seems like most sites do, but that basically means if google crawls you in different US areas (which it may or may not) it essentially thinks you have multiple homepages. Does google only crawl from SF-based IPs? 302 passes no juice, so probably don't want to do that. Yelp does a 303 redirect, which it seems like nobody else does, but Yelp is obviously very SEO-savvy. Is this perhaps a better way that solves for the above issues? Thoughts on what is best approach here?
On-Page Optimization | | jcgoodrich0 -
Best way to nofollow affiliate links?
I don't "nofollow" affiliate links but I have quite a few. Doing them one by one would just be an impossible job. Would it be best to get a plugin that nofollows EVERYTHING? What would google prefer? I need to DOFOLLOW some links because those sites deserve it.
On-Page Optimization | | 2bloggers0 -
Are H1 tags important or influential?
We are in the process of correcting our site in hopes that Google will rank us higher in the SERP. We have many pages that have multiple H1 tags or no H1 tag at all. How important is the H1 tag? Will it help us increase our ranking on Google? Thanks
On-Page Optimization | | WebRiverGroup0 -
Ajax url returns an error by google. Is there another way besides creating a HTML version?
We trying to find out if there is anything to make it so google does not keep returning errors cuase of our ajax urls. Is there any other option besides creating it all in a HTML format for google to read? Any tips or help would be great!
On-Page Optimization | | DoRM0 -
What's the best way to name an image for SEO?
Hi Guys,
On-Page Optimization | | krseo
I'm thinking about images and SEO. What's the best way for naming and using images in HTML Code? For example: Image-Name: keyword-keyword2-keyword3.jpg or keywordkeyword2keyword3.jpg ?
How many Keywords should I use max for a picture? And also do you use the alt tag as description of the image and the title tag or only the alt tag? If you use the title, what do you use it for? Maybe someone can copy a HTML-Code example for me 😉 Thank you 🙂
Alex0 -
Importance of URL Structure
We are trying to restructure our onpage SEO and want to make sure we have our URLs correct. The problem is we did the URLs incorrectly in the first place and the ones we currently have are several years olds. We have some URLs such as: http://www.firebrandtraining.co.uk/courses/management/prince2.asp and
On-Page Optimization | | RobertChapman
http://www.firebrandtraining.co.uk/courses/cisco/ccna_2007.asp which are not ideal but user experience aside does it make sense for us to change the URLs and use 301 redirects to the new ones or is the damage done to our natural rankings simply not worth making the change? I have read different articles saying different things, some say that URL structure has little weight (if any weight at all) on rankings while other people seem to say it is quite important. In addition we have heard that changing the URLs with a 301 redirect will cause a large drop in ranking which will take months to recover from and contrarily that 301s are now considered "ok" by Google and we shouldn't see too much change at all in our rankings. Any advice would be much appreciated.0 -
Best way to link to an affiliate site.
I have a site that promotes a single affiliate product. Would it be better to have a "buy" button in the content that goes straight to the external affiliates website or should I send it all to an internal page that redirects thus only having 1 external link to the product site.
On-Page Optimization | | jafabel0