Question dbseo vbtube custom rewrite rules

Status
Not open for further replies.

vBTubeMurat

New member
Hello, i am installing a video gallery on a customers forum. I wanted to add custom rewrite rules. He has a paid pro version of dbseo. How can i add these to dbseo ?

# YTM
ReWriteRule ^videos-category/(\d+)/(.*)/(\d+)$ ytm.php?do=cat&cid=$1&t=$2&page=$3 [QSA]
ReWriteRule ^videos-category/(\d+)/(.*)$ ytm.php?do=cat&cid=$1&t=$2 [QSA]
ReWriteRule ^videos ytm.php [QSA]
ReWriteRule ^video/(\d+)/(.*)$ ytm.php?do=watch&m=$1&t=$2 [QSA]

I tried

"^ytm\.php$" => "videos",
"^ytm\.php?do=watch&m=$1&t=$2$" => "video/(\d+)/(.*)"

but no success.

Thank you
Murat
 
Are you able to provide any more information other than "no success"? Have you tried following the example rewrite rules?

Code:
//'calendar\.php\?(c=1&)?week=(\d+)&nojs=1' => 'calendar/week-$2/nojs/[NF]'

So in other words, something like

Code:
'^ytm\.php?do=watch&m=(\d+)&t=(.*)$' => 'video/$1/$2/'

Etc
 
I have added this to dbseo custom rewrite rules:

'^ytm\.php$' => 'videos',
'^ytm\.php?do=watch&m=(\d+)&t=(.*)$' => 'video/$1/$2/'

The index page is rewritten and working (rule 1)
The page where i watch videos is not working: Page not found

Thanks
 

Attachments

  • notfound.png
    notfound.png
    21.2 KB · Views: 5
  • index.png
    index.png
    998.3 KB · Views: 4
  • rules.png
    rules.png
    160.8 KB · Views: 6
You may need to adjust the custom rewrite rules - you can experiment with different URLs and see what happens :)

You may also be able to stick the rules in a htaccess file, above the DBSEO rules.
 
I have been importing a set of custom urls, modifying the file to include a url for every video we add which is extremely tedious. If there is a way to automate the urls for the sitemap, it would be most helpful.
 
Here are some examples of the individual video page URLs

What makes us happy?

Frank Abagnale - Catch Me If You Can

There is a number assigned and a title.

How would this be rewritten? '^ytm\.php?do=watch&m=(\d+)&t=(.*)$' => 'video/$1/$2/'
vBTubeMurat Fillip H.
Please see this post: dbseo vbtube custom rewrite rules

I have been importing a set of custom urls, modifying the file to include a url for every video we add which is extremely tedious. If there is a way to automate the urls for the sitemap, it would be most helpful.
Unfortunately that is not possible at this time without custom programming, sorry :(

Basically, what would need to happen is the same thing as we do with, f.ex. the DragonByte Gallery integration; add-on support for rewrite rules and sitemaps. It's a complex and time-consuming process so it's not something I would be able to throw together for you unfortunately.
 
If you want them implemented in the sitemap then yes that would be the way to do it at this time.
 
Hello vBTubeMurat,

This ticket has now been closed with the status Answered.

We hope your issue or question has been addressed to your satisfaction. If not, please feel free to re-open it by clicking this link.

If you have any further issues or questions, please feel free to start a new support ticket via the button at the top of every page.

Thank you!
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,169
Customer rating
5.00 star(s) 1 ratings
Back
Top