|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Hello everyone. I am new to vBulletin script and I just installed my first one. I'm having trouble with the htaccess and friendly URL's. I have wordpress on my main site and forum in /forum subfolder. I have looked through the do not upload folder and found the htaccess to use but when Iadd it I get an internal server error. If I add the content to the bottom of the htaccess that I have for wordpress I get a 404 error and it shows the error page from the wordpress install. Here is what I had before. it might have htaccess details for the SMF forum I previously had installed. Code: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress and here is what I currently have. Code: # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress 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 [ I have changed the settings to use the Mod Rewrite Friendly URLs and Enforce Canonical URL to "Strict" __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |