|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
So I turned the CMS off (wasn't doing any good anyway), So was wondering how to do a decent redirect where... Forum Home @ "http://yourdomain.tld/forums.php" is "http://yourdomain.tld/" Blogs @ "http://yourdomain.tld/blogs.php" is "http://yourdomain.tld/blogs" and all the other directories optimised around it.... So far my redirects look like Code: ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType text/html "access plus 1 seconds" ExpiresByType image/gif "access plus 259200000 seconds" ExpiresByType image/jpeg "access plus 259200000 seconds" ExpiresByType image/png "access plus 259200000 seconds" ExpiresByType text/css "access plus 60480000 seconds" ExpiresByType text/javascript "access plus 21600000 seconds" ExpiresByType application/x-javascript "access plus 21600000 seconds" Header set Cache-Control "max-age=25920000, public" Header set Cache-Control "max-age=6048000, public" Header set Cache-Control "max-age=2160000, private" Header set Cache-Control "max-age=2160000, public, must-revalidate" Header set Cache-Control "max-age=1, private, must-revalidate" Header unset ETag FileETag None Header unset Last-Modified RewriteEngine On ### THIS IS A LITTLE EXTRA SECURITY AND CAN BE REMOVED RewriteRule ^includes/(.*) index.php RewriteRule ^vb/(.*) index.php RewriteRule ^packages/(.*) index.php ### THIS IS THE ACTUAL REWRITE RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^/(index.php)?$ forum.php?%{QUERY_STRING} RewriteRule ^threads/.* showthread.php [QSA] RewriteRule ^forums/.* forumdisplay.php [QSA] RewriteRule ^members/.* member.php [QSA] RewriteRule ^blogs/.* blog.php [QSA] ReWriteRule ^entries/.* entry.php [QSA] RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA] __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
Forum Alert: The forums are currently turned off! | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 06-29-2010 11:50 AM |
CMS CMS crashes when some mods are turned on....help please. | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 04-23-2010 08:30 PM |
Forum Alert: The forums are currently turned off! | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 02-11-2010 08:40 AM |
Help with Migrating Database SSH OPTION TURNED ON | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 07-01-2009 05:00 AM |
'New Posts' being turned off for certain forums? | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 04-13-2009 01:10 PM |