Puntocom
Well-known member
Hi, I'm setting up a site to sell domain names and I want to redirect domains with this url format:
to be redirected to:
Please can you help me? I have tried several examples and it gives me error. This rule works but I don't want the URLs to be http://example.com/domainname.com.html
Any help would be greatly appreciated.
Code:
http://example.com/domain/domainname.com
Code:
http://example.com/domain.php?name=$1
Code:
RewriteRule ^([^/]+).html$ dominio.php?dominio=$1 [L]