Search code examples
phpjavascripthtmlmybb

How to make static Dynamic pages?


In MyBB forums you must have seen that all those threads are stoed as forum.com/Thread-Name-of-the-thread So now this is static right ?

So now i have a site which has

blog.com/search.php?=SEARCHED+TEXT

So now how do i save this search so that Google can find out this page on my site ?

Indirectly what i mean to say is how i can i make

blog.com/SEARCHED+TEXT.html


Solution

  • "So now this is static right?" No. Just because the URL doesn't end in .php or similar doesn't mean it's static. It's time for you to learn the wonders of mod_rewrite:

    http://www.workingwith.me.uk/articles/scripting/mod_rewrite