3
Contributors
8
Replies
9
Views
7 Years
Discussion Span
Last Post by neltek
0

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

Like SEO url redirect.. i need subdomain rewrite

0

rewrite rule for subdomain,..

Edited by enbeeone3: n/a

0

i have tried those,, sef,

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

0

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]

0

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

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.