OK thanks that solves the problem. Now it's linking to page_7.html, but the link is going nowhere.
When rewrite is off the link shows:
Code: Select all
http://www.mydomain.com/phpwcms/index.php?page_7
This one works. If I click I see page 7.
When rewrite_url = on then I see the link like:
Code: Select all
http://www.mydomain.com/phpwcms/page_7.html
But if I click I see the HOME-PAGE. So the starting page.
Oliver mentioned once that it had something to do with alias. I mean: page_7 is an alias name set in the admin.
Maybe it has something to do with the .htaccess file. It was delivered with an underscore like: _.htaccess. I changed it into .htaccess and filled it with:
Code: Select all
php_flag magic_quotes_gpc Off
php_flag register_globals Off
RewriteEngine on
RewriteRule ^(.*).html$ ./index.php?id=$1
RewriteRule ^index.html$ ./index.php
Somewhere on the forum I read that it had to be ./index.php instead of ../index.php. That helped a bit. I did not get server errors anymore.
Did you get the link working? And how?