calvinmicklefinger - 1:54 am on Jun 6, 2010 (gmt 0)
I apologize for asking a question that will be simple to most of you. But my experience with mod_rewrite is very limited, and I can't seem to understand the information I've been reading all day.
Anyhoo, I am trying to display a URL that is different from the filename requested by the link the user clicked.
My situation is that I have pages at [mysite.com...] and a page at [mysite.com...] and I want the display in the address bar to show a single consistent address of [mysite.com...] or [mysite.com...]
When I could not get the filename to disappear, I tried to go for the second option using this .htaccess code ...
RewriteRule ^([0-9a-zA-z]*)\.php$ foo.php [L]
It dursen't work.
Can someone please provide me with the appropriate code. I am not a coder, but I have tried finding the information and reading all the tutorials and guides I have been able to find for the past twelve hours.
Even if you can't provide exact code, any help at all will be appreciated.