Status
Not open for further replies.

MrKing

Customer
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.

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
This suggestion has been closed. Votes are no longer accepted.
Are you looking for us to do this in the base code or give you instructions on what you'd need to modify?
 
the base code would be great for future releases ?

but i am able to modify the current code if you have the instructions at this time,

Thankyou :)
 
Going to bump this back up, but I would also love a nice set of vbseo Custom Rewrite Rules. I think it would require a minor extra script so that all the categories and file names show up correctly though. As mentioned above it just lists things as "category" instead of the category name.

BTW- I would gladly allow you to use my test domain as a playground for making this work.
 
Set the status back to ask, for some reason it was marked as answered so Dylan would not have been receiving notifications about it.
 
I'm sorry about not getting back on this. I tried doing it but it's not going to be a simple fix that you can throw in there like I thought it might be. I switched the thread to be a feature request and I'll add it in next release.
 
PLease do it, would be helpful in gaining important SEO. Also 404 redirect for older threads also need to be put in place.
 
Status
Not open for further replies.

Similar threads

Back
Top