www.mydomain.com/1233.html This is the main topic of the website and I need to delete my script. And whoever will ever enter this link will be redirected to the following link
myprogram.mydomain.com/v2/1233.html
What is the procedure for doing this? Need setup and setup for the file below? .htaccess
The following should be placed in your document root. If you want to match it to www.example.com, for example delete the first line and example.com or myprogram.example.com.
# RewriteCond% {HTTP_HOST} ^ Www \ .example \ .com $ RewriteRule ^ / (\ d + \ .html) $ http://myprogram.example.com/v2/$1 [L]
Comments
Post a Comment