Forum Moderators: phranque

Message Too Old, No Replies

Mod rewrite: subfolders to subdomains

Need to rewrite the URL to use right subdomains

         

pandeblog

8:58 pm on Dec 19, 2007 (gmt 0)

10+ Year Member



Hello, I'm newbie and no a tech profile.
I run a wordpress site.
I would like to rewrite URL's for categories, now I have www.domain.net/category/, I'm trying to show and use name-of-category.domain.net

I was trying to find some useful for this in the forums but I couldn't do it.

My htaccess now looks like:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule . /index.php [L]
</IfModule>

I've already set wildcards in A registry and the server alias is ok (*.DOMAIN, can't use right punctuation).

Can you help me?

Thanks in advance...