| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Helpp with wildcard Subdomain|
My htaccess generating urls in directoru
but I want to use it like
is there any one who can solve my this problem please. I hve attached my htaccess code down
|# Classified |
RewriteRule ^classified/([a-zA-Z0-9-]+).(html|htm)$ classified/detail.php?classified=$1 [L]
RewriteRule ^classified/guide/([a-zA-Z0-9-]+)/?([a-zA-Z0-9-]+)?$ classified/results.php?category1=$1&category2=$2 [L]
RewriteRule ^classified/location/([a-zA-Z0-9-]+)/?([a-zA-Z0-9-]+)?/?([a-zA-Z0-9-]+)?$ classified/results.php?country=$1&state=$2®ion=$3 [L]
Before anything else: does classified.mysite.com actually exist? You can't just create subdomains willy-nilly; they need a DNS just like full-blown domains.
no classified.mysite.com is not created yet
but wildcard subdomain option is enabled at my hosting so we just have to setup a wild card sub domain
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved