Any thoughts on how this simple task can be done? This: example.com/index.html?domain=google.com to be this: example.com/google.com There is one solution but don't know if it is working or not. Of course using rewrite mod and all functions what one server can do.
If there is a solution, why haven't you tried it ? RewriteEngine On Options +FollowSymlinks RewriteRule ^(.*)$ index.html?domain=$1 Code (markup):
Oh I have this also in htaccess: RewriteEngine On RewriteRule ^(.*)\.html $1\.php So it shows "Not Found" error. You see what I'm talking about?
You may need to alter your htaccess file by adding a base url, for example after RewriteEngine On Code (markup): add RewriteBase / Code (markup): ...and if that cures the initial problem, then simple add your solution ?