
نوشته اصلی توسط
Dead.Zone
ببخشید تاپیک زیر خاکی رو اوردم بالا اما مشکلم جدی هست دوستان کسی میتونه این رو تبدیل کنه ؟
کد HTML:
<IfModule mod_rewrite.c>
RewriteEngine On
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /
# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews
RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|images|reviewpost|classifieds|photopost)/
RewriteRule ^(.+)$ dbseo.php [L,QSA]
</IfModule>
کد:
location ~ (admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/) {
}
location / {
rewrite ^/((archive/)?(.*\.php(/.*)?))$ /dbseo.php break;
if (!-e $request_filename){
rewrite ^(.+)$ /dbseo.php break;
}
}