Subdomains rewrite admin.domain.com => domain.com/admin.p

Discuss practical ways rearrange URLs using mod_rewrite.

Subdomains rewrite admin.domain.com => domain.com/admin.p

Postby szmigiel » Thu Mar 02, 2006 9:43 am

I've got problem with subdomain rewrite.

I need to change for example address:
domain.com -> domain.com/index.php
admin.domain.com => domain.com/admin.php

and if after this address is something like (parameters)
admin.domain.com/first/second/third/etc => domain.com/admin.php/first/second/third/etc

I must use .htacces because of hosting change...
can anyone help me?

ps. sorry for my english :)
szmigiel
 
Posts: 2
Joined: Wed Mar 01, 2006 2:43 pm

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: Google [Bot] and 29 guests

cron