Hi there,
first day testing vBSEO i used the following thread rewrite rules:
boardunity.de/[thread_id]-[thread_title].html
second day i used the following thread rewrite rules:
boardunity.de/[thread_title]-t[thread_id].html
t[thread], f[forum], u[poll], ... to seperate the forumurlstructure from a upcoming blogurlstructure in the same directory
On the first day i get some nice rankings ... (take a look)
I want to redirect request for: boardunity.de/[thread_id]-[thread_title].html
to: boardunity.de/[thread_title]-t[thread_id].html
http://boardunity.de/3535-angepasste...der-vbseo.html should redirect to
http://boardunity.de/angepasste-disk...seo-t3535.html
The RewriteRule must be one of the following:
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]+)\.html$ $2-t$1.html [R=301]
RewriteRule ^([0-9]+)-([a-zA-Z0-9-]+).html$ $2-t$1.html [R=301]
That 301rule cant be written directly into the custom rules so i put it into the .htaccess this way:
Any ideas how i can manage this? Thanks in advance!Code:# Comment the following line (add '#' at the beginning) # to disable mod_rewrite functions. # Please note: you still need to disable the hack in # the vBSEO control panel to stop url rewrites. RewriteEngine On # Some servers require the Rewritebase directive to be # enabled (remove '#' at the beginning to activate) # Please note: when enabled, you must include the path # to your root vB folder (i.e. RewriteBase /forums) # RewriteBase / RewriteCond %{REQUEST_FILENAME} !admincp/ RewriteCond %{REQUEST_FILENAME} !modcp/ RewriteRule ^(.*\.php) vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([0-9]+)-([a-zA-Z0-9-]+)\.html$ $2-t$1.html [R=301] RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]


LinkBack URL
About LinkBacks





Reply With Quote
