VB 5.0.4 Admincp messed up because of redirecting to odd url
Collapse
X
-
Wish I could tell you why this happens but I saw this before optimizing my server, in terms of MySql optimization, memory allocation, etc. Notice that in your left margin you have the Mobile style loading (the appearance of "Sections" is the clue). But what causes sites to load different styles in different frames is not something I understand. .htaccess issue?Comment
-
Thanks tonmo for the reply.. I am facing the same problem when I am trying to click the "login or signup" at the right top corner on the main frontend side. When I click the "signup" button, a small drop down window opens which seems to have the same problem. Please find the screen shot attached for the same. Tonmo, can you please tell me what did you do for optimizing your server?Comment
-
I thought it could be a .htaccess issue too, but wasn't certain
Check the .htaccess at /forum/ has the path in it as /forum/ not as / maybe? Open it up, it's well commented, you'll see the line I'm talking aboutComment
-
It sounds like you either don't have an htaccess file, in place, or another one conflicting with the vbulletin rules.Comment
-
I just checked my host and the htaccess file is fine at its place in /forum/ and following are its contents:<IfModule mod_rewrite.c>
RewriteEngine On
#In some cases where you have other mod_rewrite rules, you may need to comment out the following line
#and change it to match your folder name. This resets the other mod_rewrite rules for just this directory
#If your site was www.example.com/forum, the setting would be /forum/
#RewriteBase /
# Send css calls directly to the correct file VBV-7807
RewriteRule ^css.php$ core/css.php [NC,L]
# Redirect old install path to core.
RewriteRule ^install/ core/install/ [NC,L]
# Main Redirect
RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]
# Because admincp is an actual directory.
RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/atom+xml \
text/javascript \
application/javascript \
application/json \
application/rss+xml \
application/vnd.ms-fontobject \
application/x-font-ttf \
application/xhtml+xml \
application/xml \
font/opentype \
image/svg+xml \
image/x-icon \
text/css \
text/html \
text/plain \
text/x-component \
text/xml
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType application/x-javascript A1209600
ExpiresByType text/javascript A1209600
ExpiresByType application/javascript A1209600
ExpiresByType text/css A31536000
ExpiresByType image/x-icon A2592000
ExpiresByType image/icon A2592000
ExpiresByType application/x-ico A2592000
ExpiresByType application/ico A2592000
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A1209600
ExpiresByType image/jpg A1209600
ExpiresByType image/png A1209600
ExpiresByType application/x-shockwave-flash A1209600
ExpiresByType font/ttf A2592000
ExpiresByType font/otf A2592000
ExpiresByType font/x-woff A2592000
ExpiresByType image/svg+xml A2592000
ExpiresByType font/truetype A2592000
ExpiresByType font/opentype A2592000
ExpiresByType application/x-font-woff A2592000
ExpiresByType application/vnd.ms-fontobject A2592000
</IfModule>
<IfModule mod_headers.c>
Header set Connection keep-alive
<filesmatch "\.(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
Header set Cache-Control "max-age=2592000, public"
</filesmatch>
<filesmatch "\.(jpg|jpeg|png)$">
Header set Cache-Control "max-age=1209600, public"
</filesmatch>
<filesmatch "\.(eot|woff|otf|ttf|svg)$">
Header set Cache-Control "max-age=2592000, public"
</filesmatch>
# css and js should use private for proxy caching https://developers.google.com/speed/...geProxyCaching
<filesmatch "\.(css)$">
Header set Cache-Control "max-age=31536000, private"
</filesmatch>
<filesmatch "\.(js)$">
Header set Cache-Control "max-age=1209600, private"
</filesmatch>
</IfModule>Comment
-
I tried adding : RewriteBase /forum/ at the start, so that it would read something like this:
RewriteBase /forum/
<IfModule mod_rewrite.c>
RewriteEngine On
#In some cases where you have other mod_rewrite rules, you may need to comment out the following line
#and change it to match your folder name. This resets the other mod_rewrite rules for just this directory
#If your site was www.example.com/forum, the setting would be /forum/
#RewriteBase / ............
But no changes. It is still the same. I am being redirected to this link : http://www.marineinsight.com/forum/i...tring=admincp/ when I try to enter the admincp.
And its still all jumbled and messed up.
Kindly help.
Raunek kComment
-
http://www.marineinsight.com/forum/admincp/ works fine, do you mean you get redirected after you logged in?No private support, only PM me when I ask for it. Support in the forums only.Comment
-
Yes, after login in, I get redirected to some url like this: http://www.marineinsight.com/forum/i...tring=admincp/ And the Admincp looks all messed up as the screenshot above. Also, the "login /join" opens a weird looking drop down window as the screenshot provided above.
Comment
Related Topics
Collapse
-
by rhensClean install. Nothing has been altered. Why is it pointing to the /core URL and how do I change it to the base URL?
-
Channel: Support Issues & Questions
-
-
by jrw422OK so I upgraded 4.2.5 to 5.3. Set up a new directory and database. Ran the upgrade and all went just fine. Clicked on the link at the end of the upgrade to enter the admincp. http://www.exposingsata...
-
Channel: Support Issues & Questions
-
-
by TwinsForMeI closed and moved our forum (vb5) to a subdirectory but I forgot to make the change in the admincp first. I can't move the forum back to the original URL because we reverted back to vb4 (an old backup)...
-
Channel: Support Issues & Questions
-
-
by CraigIs there a method of procedure for setting a site up to SSL available?...
-
Channel: Support Issues & Questions
-
-
by WhiskeyOSSI have multiple url's for my site and when I am logged into bikersboobfriends.com I can not connect to bikersandfriends.com or bikersbabesbikes.com it ask me to login and when I try I get a error message...1 Photo
-
Channel: Support Issues & Questions
-
Comment