I want to rewrite a section to subdomain. in joomla
"http://website.com/section/article.html"
to "http://section.website.com/article.html"


any tips??

i am not looking for redirecting, i am lookin for rewriting url,

Like SEO url redirect.. i need subdomain rewrite

rewrite rule for subdomain,..

Are you using any SEF component, like sh404SEF?

i have tried those,, sef,

u need to add some line in .htaccess ,, i am not sure what to add

I'm no expert on this, but found this in another forum which looks similar to your problem. You may try the following:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^live\.domain\.com$ [NC]
RewriteRule (.+)$ "https://domain.com/api/$1" [L,P]

this is the case when u want to redirect url through .htaccess ,
any way thanks for searching .. !!

url rewriting and redirecting through .htaccess is the same thing and same effect isn't it?

You want to enter one url and produce another?

or if not can you explain more please