![]() |
404 not found when deleting threads..
Hello, i am using custom rewrite url's provided by vBulletin.
My forums are located in the forums directory. So, when ever i delete (physically remove) a thread, it results in 404 not found. Other than that the rules work fine. This is my actual url.. www.myurl.com/forums/forums/56-General When i delete a therad from this section, i am taken to www.myurl.com/forums/56-General Which results in a 404 not found, guess the default ones have some issues if the url is in the forums folder. Code:
RewriteEngine on Any help would be appreciated. Regards. |
https://vborg.vbsupport.ru/showthrea...ight=404+error
https://vborg.vbsupport.ru/showthrea...ight=404+error I also have this at the bottom of my htaccess ErrorDocument 400 /400.php ErrorDocument 401 /401.php ErrorDocument 403 /403.php ErrorDocument 404 /404.php ErrorDocument 500 /500.php |
Quote:
|
And the above should fix the problem
|
1 Attachment(s)
I assume it is safe to do so in my case but am I able to put in below the rewrite engine in my .htaccess? Just mildly concerned since I assume that rewrite in my .htaccess is regarded as custom and thus I cannot use the plugin from ForceHSS's reply post.
I guess it works the same as additional .css which you can put in as many diffrent snippets as you need? ErrorDocument 400 /400.php ErrorDocument 401 /401.php ErrorDocument 403 /403.php ErrorDocument 404 /404.php ErrorDocument 500 /500.php |
Quote:
https://vborg.vbsupport.ru/showthrea...ight=404+error Since i am on 5.3, i haven't tried the other one. |
BUMP!!
|
Quote:
|
Quote:
yes, that's just an example url. |
Try this ...
Edit htaccess file From Code:
# RewriteBase /forum/ Code:
RewriteBase /forum/ Edit forum to forums if needed. . |
Quote:
Not Found The requested URL /forums/56-General was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
Well, is there any one to assist me with this?
Thanks. |
Link to your site will help.
There might be a confilct from the htaccess file above your forums folder. You may try this soultion (it may or may not work) ... to the htaccess file in forums folder, add the code below to the first line. Code:
RewriteEngine Off Code:
RewriteEngine Off |
If your forums are really in a directory called /forums/forums/, then the RewriteBase would be:
RewriteBase /forums/forums/ |
Quote:
--------------- Added [DATE]1396038346[/DATE] at [TIME]1396038346[/TIME] --------------- Quote:
My forums are in the forum directory. /forums After the url rewrite it turns to /forums/forums/ I think if we can get rid of the forums rewrite, we can fix this. Also i tried commenting out this but resulted in 404 not found error, when i open a forum category but threads work fine. Code:
RewriteRule ^forums/.* forumdisplay.php [QSA] |
Quote:
RewriteBase /forums/ (not RewriteBase /forum/ or RewriteBase /forums/forums/) |
Quote:
I already did that, but still the problem exists. |
Is your actual Forum url set to yoursite.com/forums? Do you have anything entered into the Forum Component URL textarea?
Try disabling your modifications/plugins and see if you still have this problem. Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php define('DISABLE_HOOKS', true); |
Might be best to put in a support ticket and let someone from support fix it
|
Quote:
Yayyyyyy. Setting up the forum component url fixed the issue. Thank you very much Lynee & others who helped me to fix the issue :) Thanks guys. |
Now when i visit my forum home page instead of forum.php, it says this error.
It says invalid forum Invalid Forum specified. If you followed a valid link, please notify the administrator But the forum.php works fine, removing the forum component url fixes the issue though. |
All times are GMT. The time now is 05:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|