![]() |
Don't quite understand your question, can you be a bit more specific..
|
PHP Code:
|
that code block you posted doesn't care about the extension of your forum/topic files, it just cares about the things behind the last / speak the thread/forumid and the pagenumber
|
Here;s the scenario... I installed VB3 and it overwrote my original ARCHIVE directory for this hack...
now... i didn't have time to fix it till 2months later (now) and of course my new archive pages have been googled already... but my ERROR LOG files is being filled each day with 404 ERRORS and "Call to undefined function: verifyid() " ERRORS... because GOOGLE and others have the old path... Is there anyway to tell a browser to interpret/re-route the STORED GOOGLE LINK to what i currently have now?? Is there something else i can do? |
I am getting the following error message if I try to open it:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred and anything you might have done that may have caused the error. I tested everything that were mentioned here but always getting same error. Anybody have an idea? |
@stryka: if you have mod_rewrite then you can use rewrite rules to make the old links forwarding to the new ones
@Kru: hmm, sorry no idea except from those which are already mentioned... |
Quote:
If this makes any difference, I have the forums uploaded in the root directory and uploaded your mod scripts overwriting the original archive folder provided by vB. |
Hey Xenon... can you give me some more info on how to do this with mod_rewrite...
currently my old URL looks like this "/archive/topic/5727-1.html" which causes the error... but i want it to reroute to this" /archive/index.php/t-5727.html" Thanx in advance... Quote:
|
Quote:
RewriteEngine on RewriteBase /archive/ RewriteRule ^topic/([0-9]+)?(-[0-9]+)? index.php?a=t-$1$2 RewriteRule ^forum/([0-9]+)?(-[0-9]+)? index.php?a=f-$1$2 in addition i would rewrite the original URL from /archive/index.php/t-xxx to /archive/t-xxx with this: RewriteRule ^(f-|t-)+([0-9]+)?(-p-[0-9]+)? index.php?a=$1$2$3 |
Quote:
|
All times are GMT. The time now is 04:58 AM. |
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:
|