Skip to Content.
Sympa Menu

lyceum-dev - [Lyceum-dev] Subdomains the htaccess

lyceum-dev AT lists.ibiblio.org

Subject: Lyceum-dev mailing list

List archive

Chronological Thread  
  • From: Katz <singkit AT gmail.com>
  • To: lyceum-dev AT lists.ibiblio.org
  • Subject: [Lyceum-dev] Subdomains the htaccess
  • Date: Fri, 13 Oct 2006 08:36:12 +0800

Hi I was able to ask my web host to set a wildcard DNS for me.
And so I have this:

http://cheeze.kuwaderno.net/

so what's the problem?
I don't know how to make necessary changes with the htaccess.

This is the comments url: http://kuwaderno.net/cheeze/2006/10/11/hello-world/#comments
Categories: http://kuwaderno.net/cheeze/category/uncategorized/
Page: http://kuwaderno.net/cheeze/about/
Archives: http://kuwaderno.net/cheeze/2006/10/

# BEGIN Lyceum

    RewriteEngine On


    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^profile/? wp-admin/profile.php?%{QUERY_STRING} [L]
    RewriteRule ^login/? wp-login.php?%{QUERY_STRING} [L]
    RewriteRule ^register/? wp-register.php?%{QUERY_STRING} [L]

#    RewriteRule ^([^/]+)/wp-comments-post(.*).php wp-comments-post$2.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^/]+)/admin/?$ wp-admin/index.php?b=$1& [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^/]+)/admin/?([^/]+php)\??(.*) wp-admin/$2?b=$1&%{QUERY_STRING} [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    ### I'm pretty sure we'll never need these -jjb ###
#    RewriteCond %{REQUEST_URI} !^(.+)/admin(.*)
#    RewriteCond %{REQUEST_URI} !^(.+)/index.php(.*)

    RewriteRule ^([^/]+)/? /index.php?b=$1 [L,QSA]

# END Lyceum


How do I change the url structures to http://cheeze.kuwaderno.net/archives, http://cheeze.kuwaderno.net/comments, etc.?




--
CHILLMOZ
http://www.chillmoz.com

  • [Lyceum-dev] Subdomains the htaccess, Katz, 10/12/2006

Archive powered by MHonArc 2.6.24.

Top of Page