Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 155447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:09:27+00:00 2026-05-11T10:09:27+00:00

How can you edit Joomla’s articles in terminal? Problem: to know the location where

  • 0

How can you edit Joomla’s articles in terminal?

Problem: to know the location where Joomla stores its articles

I tried to find articles unsuccessfully by

locate Masi | xargs -0 grep great 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T10:09:27+00:00Added an answer on May 11, 2026 at 10:09 am

    The articles are stored in the database in a table called jos_content. If you wanted to do a find and replace across them all, open a connection to the database (or use something like phpMyAdmin) and run something like this:

     UPDATE `jos_content`  SET    `introtext` = REPLACE(`introtext`, 'great', 'awesome'),         `fulltext`  = REPLACE(`fulltext`, 'great', 'awesome') 

    Edit to help you debug the problem:
    You won’t be able to find ‘jos_content’ in your codebase, because of a feature of Joomla which allows you to specify different table prefixes: ‘jos’ is the default prefix. In the code, it’s always written like this: #__content, and the DBO object converts that to ‘jos_content‘ behind the scenes.

    However, you don’t need to be looking in your code at all, just the database. You should be able to connect to the database – all the details you need will be in your configuration.php file.

    • If you’re using Joomla 1.5, the variables you need are called $host, $user, $password and $db.
    • In Joomla 1.0, the variables are named $mosConfig_host, $mosConfig_user, $mosConfig_password and $mosConfig_db

    There are a number of ways that you can connect to the database (check with your hosting company if you have phpMyAdmin available: it’s quite easy to use), but to do it from the terminal (substitute in your own variables from above):

    $ mysql -h $host -u $user -p$password -D $db 

    note that there’s no space between the -p and the password. From there you should be able to run your own SQL, but I would highly recommend making a backup before you do any manual changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know whether there are software that a user can edit
I'm trying to edit the output joomla main_menu module so I can make a
I have a joomla site where users can log in. Once logged in, a
The user can edit his account and has a menu to choose his community
Is there any shell in which you can edit your commands with vim shortcuts?
The program I am writing can edit a single project at a time. This
I've got a populated table which admins can edit and a submit button to
What a crappy title. Maybe someone can edit it for me. Here's the scoop:
I am new to Joomla development, I am developing a website in which I
I'm writing my own component for Joomla 1.5. I'm trying to figure out how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.