Wednesday
SEO
-
Stupid htaccess Tricks (4,678)
General Information [ ]
[b] htaccess Definition 1 [ b]
Apache server software provides distributed i e directory level configuration via Hypertext Access files These htaccess files enable the localized fine tuning of Apaches universal system configuration directives which are define
-
URL Rewriting for Beginners ดีมาก (36,403)
A beginner's guide to URL rewriting with plenty of examples
[b]Introduction[ b]
URL rewriting can be one of the best and quickest ways to improve the usability and search friendliness of your site It can also be the source of near unending misery and suffering Definitely worth playing carefu
-
กรณีการใช้งานจริง สำหรับ mod rewrite ของ Apache (3,761)
เทคโนโลยีเป็นสิ่งที่น่าขบขัน บางครั้ง คุณต้องการที่จะเขียนถึงมันเพียงบางส่วนโดยเฉพาะ
บางครั้ง คุณต้องการจะแบ่งปันความรู้กับบางคน แต่ในการทำ และทำให้ดี คุณรู้สึกถึงความจำเป็น
ที่จะอธิบายเทคโนโลยีทั้งหมด ที่ต้องใช้ในการสร้างส่วนที่เฉพาะเจาจงนั้นให้สำเร็จ
บทความนี้ ไม่ได้กล่าวถึงว่า mod rew
-
การใช้ ประโยชน์ ของ htaccess เช่น block IP Blocking bad bots ป้องกันการ Hot link (5,505)
ไฟล์ htaccess นั้นเป็นไฟล์ที่ใช้ในการ override configuration ของ Apache
ซึ่งมีการใช้คำจำกัดความในภาษาอังกฤษว่า Distributed Configuration File โดยการทำงานจะเป็นการ configuration ของแต่ละ directory ทั้งหมดนี้ใน configuation file หลักจะต้องมีการ set AllowOverride ด้วยนะครับ
มาดูการใช้งานกันครับ
-
เปิด Apache mod rewrite และตัด index php (6,459)
CI ย่อมาจาก Codeigniter เป็น PHP Framework ตัวหนึ่งที่ศึกษาไม่ยาก ผมก็เพิ่งมาเล่นจริงๆจังๆเมื่อไม่นานนี้เอง
สำหรับการติดตั้งคงไม่สอน เพราะมีคนเขียนไว้เยอะแล้ว แต่วันนี้ผมจะมาสอนวิธีการเปิด Apache mod rewrite และตัด index php
ในที่นี้ผมจะใช้ Xampp 1 7 7 เป็น Web Server นะครับ เนื่องจากมันติดตั้
-
Mod Rewrite Subdomain ด้วย PHP with GET variable ใช้งานได้จริง (3,620)
[b]Question [ b]
I'm trying to wrap my head around mod rewrite but can't seem to figure this out
Is there a way I could do the following
User types in http wildcard mydomain com
Silently writes to
http mydomain com index php username wildcard
-
Apache Module mod rewrite (2,880)
Apache > HTTP Server > Documentation > Version 2 4 > Modules
Apache Module mod rewrite
Available Languages en | fr
Description Provides a rule based rewriting engine to rewrite requested URLs on the fly
Status Extension
Module Identifier rewrite module
Source File mod rewrite c
Summa
-
Wildcard Catch all Subdomains (2,176)
Ever seen those sites with using anything example com as URLs If you want this on your site read on
This actually not entirely the same as manually creating the subdomain in your control panel We can emulate pretty much the same thing by creating the appropriate directory or we can just pass
-
Easy subdomains with mod rewrite (1,907)
Because I like to play with a lot of projects and code I create subdomains for felixdv com almost every day Instead of going through the hassle of creating a CNAME or A record for every subdomain creating an Apache vhost file and enabling it and creating the necessary directory structure I figur
-
การเขียนโค้ดเล็กน้อยให้ URL Friendly ด้วย htaccess ภาคที่ 1 (7,901)
หลายๆ คนคงรู้จักกับ mod rewrite ซึ่งเป็น module ของ apache ซึ่งตัวนี้น่ะ มันมีประโยชน์ค่อนข้างมากในการทำ url friendly เพื่อให้ google รัก yahoo หลง
ซึ่งโปเกม่อน หลายคนอาจจะเขียนตรงๆ ไปเลยเช่น
[code]RewriteCond %{REQUEST FILENAME} f
RewriteCond %{REQUEST FILENAME} d
RewriteRule ta