Forum Moderators: phranque
Long version: Change the links on your pages so that static URLs are "published" to visitors and search engines. Then use mod_rewrite to convert those static URLs, when requested from your server, back to the form needed to invoke your script(s).
For more information, see the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com] and the documents cited in our forum charter [webmasterworld.com].
Jim
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME}!-d
RewriteCond %{SCRIPT_FILENAME}!-f
RewriteRule ^([^/]+)/?$ /?p=$1 [L]
RewriteRule ^news/([^/]+)/?$ /?v=news&id=$1 [L]
RewriteRule ^index\.php$ \home [R=301,L]
This re#*$!s in:
[mysite.net.au...]
I was hoping on:
[mysite.net.au...]
Can anyone advise?
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
* This problem can sometimes be caused by disabling or refusing to accept
cookies.
Code:
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME}!-d
RewriteCond %{SCRIPT_FILENAME}!-f
RewriteRule ^([^/]+)/?$ /?p=$1 [L]
RewriteRule ^news/([^/]+)/?$ /?v=news&id=$1 [L]
RewriteRule ^index\.php$ /home/? [R=301,L]