vBulletin Search Engine Optimization
This is a discussion on URL Rewrite Rules within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello everyone, Unfortunately I am unable to post in the general rewrite section because my account does not show as ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| URL Rewrite Rules Hello everyone, Unfortunately I am unable to post in the general rewrite section because my account does not show as a registered owner ( although I am an admin of a board which has bought and registered vbSEO ). I am currently migrating the server from Apache2 to lighttpd ( 1.4.13 ) and am having some issues with rewrite rules. Although I have run searches on the Rewrite and Custom Rewrite threads for "lighttpd.conf", "url.rewrite", "lighty" and a few other search terms I've gotten no Joy. The following are the apache rewrite rules we are currently using: Code: 21 # Rewrite rules!
22 RewriteEngine On
23
24 RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?si temap=$1 [L]
25
26 RewriteCond %{QUERY_STRING} !vbseourl=
27 RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
28 RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]
29
30 RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
31 RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
32
33 RewriteCond %{REQUEST_FILENAME} !-f
34 RewriteCond %{REQUEST_FILENAME} !-d
35 RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
36 RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
Code: 8 # vbSEO stuff. 9 url.rewrite-once = ( 10 "^/blogs/([-a-z0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)\.html(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&m onth=$3&year=$2&day=$4", 11 "^/blogs/([-a-z0-9]+)/([0-9]+)/([0-9]+)/(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&month=$3&year=$ 2", 12 "^/blogs/([-a-z0-9]+)/category/([,0-9]+)\.html(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&categoryi d=$2", 13 "^/blogs/([-a-z0-9]+)/arsiv\.html(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&displaymode=archive", 14 "^/blogs/([-a-z0-9]+)/([-a-zA-Z0-9_]+)-([0-9]+)/yorum-([0-9]+)\.html(?:\?(.*))?" => "/blogs/viewblog.php ?username=$1&entrytitle=$2&entry=$3&c=$4", 15 "^/blogs/([-a-z0-9]+)/([-a-zA-Z0-9_]+)-([0-9]+)/(?:\?(.*))?" => "/blogs/viewblog.php?username=$1&entryti tle=$2&entry=$3", 16 "^/blogs/([-a-z0-9]+)/$(?:\?(.*))?" => "/blogs/viewblog.php?username=$1", 17 "^/tags/([0-9]+)/(.+)$(?:\?(.*))?" => "/tags/index.php?tag=$1&page=$2", 18 "^/tags/(.+)$(?:\?(.*))?" => "/tags/index.php?tag=$1", 19 "^/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1", 20 "^(/(highslide|tags|xcache|geek|gars|stats|mert|serenity|cey|arcade|mysmiliesvb|admincp|modcp|clientscri pt|cpstyles|images|sonstil|kirmizi|files|galeri|vampir|summer|avatars|attachments|custompics|customavatars)/ .*)$" => "$1", 21 "^/(archive/.*)$" => "/vbseo.php?vbseourl=$1", 22 "^(.*clear\.gif)$" => "$1", 23 "^/(.+)\?(.*)$" => "/vbseo.php?vbseourl=$1&$2", 24 "^/(.+)$" => "/vbseo.php?vbseourl=$1" 25 ) Quote:
|
| Tags |
| apache, lighttpd, lighty, rewrite |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SEO rewrite rules help | Quarterbore | Custom Rewrite Rules | 11 | 03-12-2008 12:45 PM |
| Anyone using Custom Rewrite Rules to rewrite OpenAds ad urls? | echamberlain | Custom Rewrite Rules | 2 | 12-12-2007 06:24 PM |
| URL Rewrite Settings / Custom Rewrite Rules | shanemcse | General Discussion | 0 | 03-04-2006 01:57 PM |