I need to change the pattern of my url from the normal path into a subdomain. I tried write the .htaccess but it's not work.
From the url above I want to:
- Change the pattern to call the page so I remove
sosbefore the domain as a subdomain. So I'd got
- I need the variable to be replaced with forward slash and suffixed with
.sos. As the story is about warning :
I wish I could have something like this:
So I wrote :
RewriteEngine On RewriteRule ^article/([^/]*)/([^/]*)\.sos$ /article.php?id=$1&title=$2 [L]
And guess what! It's not work. Please point me out. What I've done wrong???