<not 100% sure if this is a bug or a missing feature>
One of the really nice features of VBSEO for things that lie within the forum folder is to automatically 301 redirect the old links to the new ones. This servers 2 purposes 1) not to have duplicate content and 2) possibly forward PR value with Google.
My vbagallery lies in /pictures/ and my forum lies in /forums/
I've written some custom rewrite rules for the programs within /pictures/ (browseimages.php and showimages.php) that seem to work pretty well. The problem is, if I type one of the old URLs in my browser, it doesn't 301 redirect. It just displays the old page url. All the old links within the forum have their links rewritten properly and it works when it goes to the rewritten url, but I would like to have these old spidered pages 301 redirect. Is this currently possible (outside forum folder), a missing feature, a bug, etc?
Here is my public_html/.htaccess file (taken from Oleg's post#118 in Custom rewrite for vBA Photogallery & Links?)
Here are some of my custom rewrites relavent to thisErrorDocument 401 /401.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 500 /500.html
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !forums/
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ forums/vbseo.php?vbseourl=$1&vbseorelpath=../&%{QUERY_STRING} [L]
Thanks'browseimages\.php\?c=(\d+)$' => 'cat-$1.html'
...
'browseimages\.php\?do=popimages&orderby=posts' => 'toppost.html'
...
'showimage\.php\?i=(\d+).*$' => 'photo-$1.html'
'/pictures/index\.php' => '/pictures/'
-vissa



LinkBack URL
About LinkBacks





