Forum Moderators: coopster
does the page have extra parameters added when it is 'dynamic'?
have you looked at the actual directory in ftp? there will only be one there.
Have you looked at the script? It should have default content when no params are present.
I guess the actual answer is that it is returning the same page.
I have a php script the process the dynamic page, "http://www.example.com/folder1/script.php?pagenum=1" and a mod_rewrite that will convert that url into "http://www.example.com/page1.htm".
To make the server load of my webhost lower, I intended to convert this dynamically created pages into a static one. That is, I will save a page with filename "page1.htm" in the root directory. Therefore, both of this page, the dynamic and the static one, will have the same URL, and that is, "http://www.example.com/page1.htm".
Now, my question is, what would be returned by the server, the dynamic page or the static page?
in case you wish to free some server load, you can have a crontab creating your dynamic->static pages and no htacccess rules for mod_rewritte
that way, server will use the static pages, while the crontab (once per day) will create new/updated ones.
else, you can delete static pages from your server to free up space, and only server dynamic (with mod_rewrite) pages.