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.
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.
thanks for your answer.
then how does google (or any other search engine) find the pages to index them for search results?
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.
AH - i see now.
thanks for the answers!