Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

網址設定(自訂網址)

2007-04-29 @ 21:48 in LifeType,Moodle

lifetype 自訂網址的設定,好像有點不太好了解,也有點懶得去了解,在網上找到,比照辦理就ok

http://ms7.fhsh.tp.edu.tw/blog/index.php?blogId=1  ==> http://ms7.fhsh.tp.edu.tw/blog/root

直接打網誌管理者名稱,是不是容易記多了,修改如下

  1. 在 /etc/httpd/conf/httpd.conf 下將 /var/www/html/blog 內的  AllowOverride All ,這樣目錄下的 .htaccess 才有作用
  2. 將 .htacess 內的
    RewriteBase /lifetype
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /lifetype/blog.php
    ErrorDocument 401 /lifetype/error.php
    ErrorDocument 403 /lifetype/error.php
    ErrorDocument 404 /lifetype/error.php
  3. 在全站台管控 => 網址設定 如下
    request_format_mode => 自訂網址
    permalink_format => /{blogowner}/archives/{postid}$
    category_link_format => /{blogowner}/category/{catid}$
    blog_link_format => /{blogowner}$
    archive_link_format => /{blogowner}/archive/{year}{month}{day}$
    user_posts_link_format => /{blogowner}/archives/author/{username}$
    post_trackbacks_link_format => /{blogowner}/archives/{postid}/trackbacks/$
    template_link_format => /{blogowner}/static/{templatename}$
    album_link_format => /{blogowner}/resource/{albumid}$
    resource_link_format => /{blogowner}/resource/{albumid}/{resourceid}$
    page_suffix_format => /page/{page}
  4. ok

迴響

網址設定(自訂網址) | 豬窩

This post is worth everyone's attention. When can I find out more?

作者 web hosting company @ 20:29, 2020-08-14

網址設定(自訂網址) | 豬窩

Link exchange is nothing else however it is simply placing the other
person's web site link on your page at suitable place and
other person will also do same in support of you.

作者 web hosting companies @ 20:35, 2020-08-14
«上一篇   1 2
發表迴響
 authimage