Redirect adding Server path for some reason? Please help!

OakleyForum

Well-known member
I transferred from vbulletin w/ vbseo and I setup redirects and used the VB4 redirect software which worked great. However I noticed that for some links, it redirects and adds my forum path.

For example: in this thread below:
When it redirects it sends it to
Instead of
Why is it adding in my server path??
Other links redirect fine, but this does worry me!
 
I think it has something to do with the pages. Because I tried one link and noticed that a lot of the errors are when the link points to a page other than the first one. I took one link which was having the error and when I removed the page number in the old link it worked.

What could be causing this? I really want to solve it!
 
Did you manually do rewrites, or are you using one of the add-ons
http://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.264/
http://xenforo.com/community/resources/vbulletin-4-x-url-redirection.120/
If using the software (which it appears you are) try asking in the discussion forum for that software. It looks like they were posted by Mike (for v 3.x) and Luke Foreman (for v 4), so you are more likely to get a quicker response there.
Luke is REAL good about getting back with someone pretty quickly - you can also start a conversation with him.
Also, you did follow the instructions at http://xenforo.com/help/import-redirection/ I assume.
 
I have some manual rewrites but just for single pages which weren't redirecting, the majority of redirects are done by the software. I will ask in the thread thanks!
 
I transferred from vbulletin w/ vbseo and I setup redirects and used the VB4 redirect software which worked great. However I noticed that for some links, it redirects and adds my forum path.

For example: in this thread below:

When it redirects it sends it to

Instead of

Why is it adding in my server path??
Other links redirect fine, but this does worry me!

For reference, here is my htaccess file

Use a full web path for the targets.

This:

Code:
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [R=301,NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)/index([\d]+).html forumdisplay.php?f=$1&page=$2 [R=301,NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]

Becomes this:

Code:
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html /showthread.php?t=$1&page=$2 [R=301,NC,L]
RewriteRule [^/]+/([\d]+)-.+.html /showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)/index([\d]+).html /forumdisplay.php?f=$1&page=$2 [R=301,NC,L]
RewriteRule f([\d]+)/ /forumdisplay.php?f=$1 [NC,L]

I added a / in front of showthread.php and forumdisplay.php. That assumes those files are in the web root. If they are in a subdirectory then add that.
 
Back
Top Bottom