We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29059
    • 88 Posts
    i’m curious...
    where are the pages we created within modx located in the file directory structure?

    i get that the content on the pages is probably kept in the database and generated on the fly when users view the pages. but i turned on the "friendly url" switch to give pages better URL’s.
    and it’s my understanding that Google will find these pages for search results, so hopefully people will find them.

    so, if that’s the case, in order for google to find them, and in order for them to have these friendly url’s - doesn’t that mean the pages are actually created & reside somewhere on the server? if so, where?
    if not, please explain.

    THANKS.
      • 4041
      • 788 Posts
      Short answer: The pages are all stored in the database and created when requested, regardless of if you have turned on friendly url’s or not. When a page is called, the document parser simply checks whether friendly configuration is on or not, and then creates the page and url accordingly.

        xforum
        http://frsbuilders.net (under construction) forum for evolution
        • 29059
        • 88 Posts
        thanks for your answer.

        then how does google (or any other search engine) find the pages to index them for search results?

          • 25483
          • 741 Posts
          the .htaccess file in your root links these "files" to the cms, they simply don’t exist for real... It’s just a on-the-fly lookup in the database smiley

          And you should create a sitemap file (xml) to boost the indexing of your site in search engines. You can use Ditto for this purpose.
            with regards,

            Ronald Lokers
            'Front-end developer' @ h2o Media

            • 7231
            • 4,205 Posts
            modx generates dynamic content, so even thought the pages dont physically exist they ca be accessed via the reference and thus the search engine (or whatever bot) simply navigates from virtual page to virtual pages. This is the same wit amazon or ebay. The pages do not actually exist, they are built based on data from a data base and pieced together to produce the output.

            The htaccess file with mod_rewrite allows you to disguise the reference to your page by using the friendly urls.
              [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

              Something is happening here, but you don't know what it is.
              Do you, Mr. Jones? - [bob dylan]
              • 36702
              • 76 Posts
              Quote from: syberknight at Oct 24, 2008, 05:58 PM

              then how does google (or any other search engine) find the pages to index them for search results?
              In this respect, Google is just like your browser - it requests a page, and the server delivers some text containing HTML. Google or browser is happy. It doesn’t matter whether or not the page is a physical file stored on the server.
                • 29059
                • 88 Posts
                AH - i see now.
                thanks for the answers!