Hello, I am really lost with this, I imported the forum without many problems, however this redirection I am finding very difficult.
VB forum was running VBSeo, however I did disable that before import ( I don't know if that would change anything)
VB Forum was
www.site.net/forums ( But has since been renamed to forumold)
XF Forums in the root.
www.site.net
I have placed the HTAccess file with the following at the top as advised:
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
I have uploaded the 301 redirect script to the VBulletin directory which is now called forumsold
at
www.site.net/forumsold
as follows:
#
# $fileDir = '/home/example/public_html/new_forums';
#
# $fileDir = 'C:/inetpub/wwwroot/xenforo';
#
\* ----------------------------------------------------------- */
$fileDir = '/home/
www.site.net/public_html';
/* ----------------------------------------------------------- *\
This constant defines the table from which the import redirection
scripts will fetch their data. Normally they will use the table
'xf_import_log', but if you have archived your import data, you
should provide the name of the archive table here. Remove the
leading // and then replace 'import_log_x' with the name of your
archive table, as in the following examples:
#
# define('IMPORT_LOG_TABLE', 'my_import_log');
#
# define('IMPORT_LOG_TABLE', 'archived_import_log');
#
\* ----------------------------------------------------------- */
define('IMPORT_LOG_TABLE', 'archived_import_log');
__________________
Old VB Link example:
http://www.site.net/forums/introductions-welcomes/105399-hello.html
New XF same link:
http://www.site.net/index.php?threads/hello.105399/
I am not having any luck with any links, nothing will redirect.
When clicking on the old link from google, I get the following error message
Not Found
The requested URL /forums/index.php was not found on this server.
Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.3.28 Server at
I am wondering what I have done wrong, Would it have anything to do with renaming the VBforum to Forumold? Many thanks for help,