Hi all this is my first post so firstly hello to all
does any body use vbseo rewrite rules for vbdownloads pro ?
if so can you please help me here.
Thanks
---------- Post added 19th December 2011 at 11:44 ---------- Previous post was 15th December 2011 at 12:16 ----------
I have been looking into this and asked the same questions over at vbseo forums.
The following needs to be entered into the CRR - Custom Rewrite Rules of VBSEO
ok so its working in the sense of cat id and file name id but it would be really great to have the file name and cat name included in the url as quoted on vbseo:
would this be possible ?
Thanks
MrKing
does any body use vbseo rewrite rules for vbdownloads pro ?
if so can you please help me here.
Thanks
---------- Post added 19th December 2011 at 11:44 ---------- Previous post was 15th December 2011 at 12:16 ----------
I have been looking into this and asked the same questions over at vbseo forums.
from what i can see these are the only urls that will be needed.
hxxp://www.mydomain.co.uk/vbdownloads.php
Would like this to be hxxp://www.mydomain.co.uk/downloads/
hxxp://www.mydomain.co.uk/vbdownloads.php?do=listings&catid=1
Would like this to be hxxp://www.mydomain.co.uk/downloads/categoryname.html
hxxp://www.mydomain.co.uk/vbdownloads.php?do=download&fileid=1
Would like this to be hxxp://www.mydomain.co.uk/downloads/filename.html
or if possible
hxxp://www.mydomain.co.uk/downloads/categoryname/filename.html
Thanks again
'^vbdownloads\.php$' => 'downloads/'
'^vbdownloads\.php\?do=(\w+)$' => 'downloads/$1/'
'^vbdownloads\.php\?do=(\w+)&catid=(\d+)$' => 'downloads/$1/category-$2/'
'^vbdownloads\.php\?do=(\w+)&fileid=(\d+)$' => 'downloads/$1/file-$2/'
Keep in mind that the first parameter ($1) cannot be ignored in the URL, otherwise it will lead you yo an error message: "Invalid action specified".If you want to get both categories and files titles in the URL, you need to customize the code to get them from the database and make them available in the URL so that you can build Custom Rewrite Rules rich in keywords.
The following needs to be entered into the CRR - Custom Rewrite Rules of VBSEO
Thankyou - its working as mentioned using file and cat id numbers.
i did change it a little
'^vbdownloads\.php$' => 'downloads/'
'^vbdownloads\.php\?do=(\w+)$' => 'downloads/1$/'
'^vbdownloads\.php\?do=(\w+)&catid=(\d+)$' => '/$1/category-$2.html'
'^vbdownloads\.php\?do=(\w+)&fileid=(\d+)$' => '/$1s/file-$2.html'
hxxp://www.mydomain.co.uk/downloads/file-61.html
hxxp://www.mydomain.co.uk/listings/category-5.html
as for customizing the code i will need to look into that more as i would really like it to show as the file name not id, but this is a great start and looks alot better than before.
Thankyou
ok so its working in the sense of cat id and file name id but it would be really great to have the file name and cat name included in the url as quoted on vbseo:
you need to customize the code to get them from the database and make them available in the URL so that you can build Custom Rewrite Rules rich in keywords.
would this be possible ?
Thanks
MrKing
Upvote
0