Forum Moderators: phranque
I want a link like: [site...] to be the same as
[site...] Is that possible? Like this forum. I don' think there are sub-dirs and html files for all those pages, so they tha too, didn't they?
Help please, I think I can't use mod_rewrite but I don't know what to do...
We do not usually code on demand, so the best place to start is with your favorite SE and the query 'rewrite php files to html site:webmasterworld.com/forum92/'
You might also see this thread:
[webmasterworld.com...]
Justin
Added: site command to the search query.
my files:
[in the root on my hd]
/www/index.php
[on the web]
/index.php
variable?p=55 to /p/55 (or /p/55.html?)
simple but I don't know what to write as a rult to do that.
Is it possible to make the rule work when only /p/2 would be specifyed but not when a link like?p=8&name=Admin&time=today is used? So only when /p/10 is requested?
Please take a moment to review our forum charter [webmasterworld.com]. In addition to helping you get the most from this forum, it also contains references to several useful document to help you write your rules.
You may use
RewriteCond %{QUERY_STRING} ^$
Jim
John