By using a .htaccess
You can setup a .htaccess file. This will let you create a URL that 'redirects' to a dynamic page, PHP. Forexample here you are seeing:
.html or not?
with .html
But this is actually a .PHP page... and it 'redirects' to this. As you can see both are the same... but one has static and other dynamic URL
http://forum.codecall.net/showthread.php ?t=3597 (remove the space in the url)
Ok to make a .PHP into .HTML you just create a .htaccess file and insert the following
So when you write www. theurl .com/file.htmlCode:Options +FollowSymlinks RewriteEngine on RewriteRule file.html file.php
actually file.php will be loaded...
now to make something like the one about CC
Note: I invented title=$2&page=$3, those will show like html-not-2, but the title= and page= entirely depends on the script and how PHP handles them.Code:Options +FollowSymlinks RewriteEngine on RewriteRule (.*)-(.*)-(.*)\.html$ showthread.php?t=$1&title=$2&page=$3
So if you go to
www. theurl .com/3597-html-not-2.html
it will redirect to
www. theurl .com/showthread.php?t=3597&title=html-not&page=2
Hope you understood. Don't forget to +rep![]()
OMG man
I said
What does that mean? Create a brand new file named .htaccess (I'm not sure if all web hosts allow this)you just create a .htaccess file
No need to link anything.
The language? Uhm... I think just .htaccess syntax, nothing specific.
Ok how about now... I don't need your 'o-glorifying' sarcasm... just a click of a button can say 1,000,000 words![]()
Yeah, sureIt's still a button, but in that way you will make a powerful enemy. Lately I closed my eyes on somethings you've done... but you know, I can always hit my mind with the desk and end up a Xav-Terminator
Plus you will still have to write the 1,000,000 words in the report.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks