We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Inserting values manually into the database - SeoText | Forum

Tecca
Tecca Dec 14 '15
Hey there,


There are some pages that we cannot add titles to such as the Maintenance page. So instead, we do this:


INSERT INTO `databasenamehere`.`ow_seotext_seo` (`id`, `lang`, `uri`, `title`, `keywords`, `description`) VALUES ('21', 'en', 'base/base-document/maintenance', 'Under Maintenance - Site Name', 'scheduled maintenance, temporarily down', 'This website is under maintenance and will return soon. Feel free to visit our other pages such as Facebook and Twitter while you wait!');


I've already done this and it works, but confirmation that this is okay would be great. Might help some other people too. Also, would leaving out the "id" let it automatically count itself?


I apologize, I'm unused to fiddling around with databases, it's not really my area.

Thanks, this might help others as well!

The Forum post is edited by Tecca Dec 14 '15
Oleg Dubrov
Oleg Dubrov Jan 15 '16

I apologize for the delay in response. Missed your message.

Yes, it is absolutely correct solution.

In the future release I will make it possible to configure via plugin settings.



Tecca
Tecca Jan 16 '16
Awesome, that sounds great. Thanks for the reply!
You do not have permission to reply this topic