-
uploading images
I have not uploaded images in quite some time. But I found a need to add some new ones and when I go to
http://www.blincmagazine.com/forum/newthread.php?f=79
I enter a name then hit next, and I just get redirected to
http://www.blincmagazine.com/forum/forum.php
How would I trouble shoot the cause of this?
-
You have the Wiki File Name set as "wiki" but your .htaccess file isn't forwarding wiki.php to showwiki.php
Since wiki.php doesn't exist, vBSEO is avoiding a 404 and redirecting to your forum home page.
You should check that your .htaccess file contains all the necessary VaultWiki rules. You will have the same issue if you try to post any new article using the "Post New Article" button.
-
Here is my current .htaccess
Code:
RewriteEngine On
RewriteBase /forum/
#---REINDEX OLD STYLE URLs to TRANSALTED PAGE------------#
#RewriteCond %{QUERY_STRING} language=(zh-TW|zh-CN|..)
#RewriteRule ^(.*)$ http://%{HTTP_HOST}/%1/$1? [L,R=301]
RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/wiki(.*)?$ wiki$2?language=$1 [QSA]
#---------------------------------------------------------#
# Valut WIKI
RewriteRule ^wiki.php$ showwiki.php [L,QSA]
RewriteRule ^showwiki.php?title=(.*)$ wiki/$1 [L,R=301]
RewriteRule ^wiki/Wiki:(.*)$ wiki/$1 [L,R=301]
RewriteRule ^wiki$ wiki/ [L,QSA,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki(.*)?$ showwiki_proxy.php [L,QSA]
#---------------------------------------------------------#
# vBSEO Search Engine XML Sitemap 3.0 PL1
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/wiki/(.*)?$ /forum/wiki/$2?language=$1 [L,QSA]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/wiki(.*)?$ showwiki_proxy.php?language=$1 [L,QSA]
# RULES for SEO translation links with vBSEO (have to be included before all rules to vbseo.php)
RewriteCond %{QUERY_STRING} !language=
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/ [L,QSA]
RewriteCond %{QUERY_STRING} !language=
RewriteRule ^/?(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forum/$2 [L,QSA]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron)
RewriteCond %{REQUEST_URI} !showwiki_proxy.php
RewriteCond %{QUERY_STRING} !language=
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteCond %{QUERY_STRING} !language=
RewriteRule ^(.+)$ vbenterprisetranslator_seo.php [L,QSA]
#---------------------------------------------------------#
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
#---------------------------------------------------------#
#RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
#RewriteCond %{REQUEST_URI} !showwiki_proxy.php
#RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
#RewriteRule ^(.+)$ vbseo.php [L,QSA]
-
I don't use vB Enterprise Translat[o]r, so I'm not positive about this, but I think it is setting the REDIRECT_URL wrong for our purposes and vBSEO doesn't have hook locations to catch non-vB URLs...
Find:
Code:
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
Add before:
Code:
RewriteCond %{REQUEST_URI} !showwiki.php