|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
I am trying to setup mod_rewrite for my website, foodnoggin.com. For some reason, the .htaccess I was provided from vBulletin only works for a few certain addresses. For example, if you go to http://foodnoggin.com/members/1-Dustin-Sartoris it will work, but won't if you go to http://foodnoggin.com/content/1-Home or http://foodnoggin.com/forums/2-Main-Forum. I have posted the content of my .htaccess below. Please help me. Thank you. Code: RewriteEngine on # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory. # RewriteBase /forum/ RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # Forum 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] # MVC RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA] __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |