15
Quote:
thanks for sharing, but in the mainfile.php i assume the <?php line was a typo right ?
It's not a typo. I purposely added the "<?php" so that you can be sure that these line of codes must be put at the very beginning of the mainfile.php.
Quote:
atv your reqrite code is missing something
its written if the person sepcifically types in the words
news
sns
stuff
and so on
and that will redirect their browser to the correct pages
however youll need to add this to the end flag
chage this [L]
to this [R=301,L]
this way it doesnt matter if the person types in upper / lower / or mixed case words.
After changing [L] to [R=301,L], what has to be changed in the mainfile.php? It did not work for me if only changed the Rewrite rules without changing the mainfile.php. It made a loop said Firefox.
Xoops Demos:
http://www.nhatban.net/info/a0021.html