DragonByte Tech | vBulletin Mods & Addons - Powered by vBulletin





User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 10 of 10

Thread: dbseo vbtube custom rewrite rules


Forum: DragonByte SEO Lite Support

Questions & Answers for DragonByte Forum Ads.
Click here to buy!

  1. #1
    Junior Member
    Level 0 (0 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Jul 2017
    Posts
    2
    Rep Power
    0

    Default dbseo vbtube custom rewrite rules

    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
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  2. #2
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, United Kingdom
    Age
    30
    Posts
    27,736
    Blog Entries
    13
    Rep Power
    10

    Default

    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
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  3. #3
    Junior Member
    Level 0 (0 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Jul 2017
    Posts
    2
    Rep Power
    0

    Default

    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
    Attached Images Attached Images
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  4. #4
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, United Kingdom
    Age
    30
    Posts
    27,736
    Blog Entries
    13
    Rep Power
    10

    Default

    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.
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  5. #5
    Member
    Level 25 (13,397 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Mar 2014
    Posts
    95
    Rep Power
    4

    Default

    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 @Belazor
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  6. #6
    Member
    Level 25 (13,397 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Mar 2014
    Posts
    95
    Rep Power
    4

    Default

    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.
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  7. #7
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, United Kingdom
    Age
    30
    Posts
    27,736
    Blog Entries
    13
    Rep Power
    10

    Default

    Quote Originally Posted by highlander View Post
    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 @Belazor
    Please see this post: dbseo vbtube custom rewrite rules

    Quote Originally Posted by highlander View Post
    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.
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  8. #8
    Member
    Level 25 (13,397 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Mar 2014
    Posts
    95
    Rep Power
    4

    Default

    @Belazor so then the way I'm doing it by importing the list of individual URLS is the best option?
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  9. #9
    Founder
    Level 0 (0 Loyalty Points)
    Belazor's Avatar
    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2009
    Location
    Glasgow, United Kingdom
    Age
    30
    Posts
    27,736
    Blog Entries
    13
    Rep Power
    10

    Default

    If you want them implemented in the sitemap then yes that would be the way to do it at this time.
    Fillip Hannisdal
    Founder & Programming Director
    DragonByte Technologies http://www.DragonByte-Tech.com


    Please do not Private Message me with support requests or product questions. PMs are only for exchanging sensitive information (like FTP / AdminCP logins).
    Please do not Private Message me with business related queries (refunds, complaints, feedback, etc). Decado is the person to PM for those issues.
    Please do not Private Message Decado with support requests or forum errors.

    When I say "Hotfix Released" it means you should re-download the product and re-upload the files.
    Like our products? Want to be notified on social media networks when we release updates or new products? Click the buttons below to Like us on Facebook, Follow us on Twitter and Follow us on Google+!
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

  10. #10
    Bot Poster
    Level 0 (0 Loyalty Points)

    User InfoThanks / Tagging InfoGifts / Achievements / AwardsActivity Stats
    Join Date
    Dec 2010
    Posts
    1,362
    Rep Power
    0

    Default

    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!
    0 0 0
     
    dbseo vbtube custom rewrite rules Send PM  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [vB 4.2.x] DBSEO rewrite rules for Lighttpd / nginx
    By Bossman in forum Pre-Sales Questions
    Replies: 3
    Last Post: 22nd December 2014, 14:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.