Results 1 to 11 of 11

What is the variable for the rewritten forum directory ?

This is a discussion on What is the variable for the rewritten forum directory ? within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi! When I want to link to a page inside the /rewritten-directory/ directory, e.g. /rewritten-directory/fotos.html how can I do this? ...

  1. #1
    Senior Member
    Real Name
    Jan Jaap
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    132
    Liked
    0 times

    Question What is the variable for the rewritten forum directory ?

    Hi!

    When I want to link to a page inside the /rewritten-directory/ directory, e.g. /rewritten-directory/fotos.html how can I do this? As the base href is set to the root.

    Best Regards,
    Jan Jaap

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Jan,

    mm.. - <a href="rewritten-directory/fotos.html">xx</a> ?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Senior Member
    Real Name
    Jan Jaap
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    132
    Liked
    0 times
    is rewritten-directory a variable?

  4. #4
    Senior Member
    Real Name
    Jan Jaap
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    132
    Liked
    0 times
    It's for use within the vBulletin templates.

  5. #5
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    You can just enter the link in its rewritten form, as Oleg posted. It will work fine.

  6. #6
    Senior Member
    Real Name
    Jan Jaap
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    132
    Liked
    0 times
    Do you understand it's for in a template ?

    As entering a forum url there will make that forum url default for all forums.

    Just to make it understandable:

    All forums contain directory-name/fotos.html

    So I would like to be able to link within the forumdisplay template to the fotos.html file on the forum directory.

  7. #7
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    But how can you have a different fotots.html for each forum name, when the forum name directories don't really exist?

  8. #8
    Senior Member
    Real Name
    Jan Jaap
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    132
    Liked
    0 times
    Well you should know about it as it's your software

    CRR: Papegaaien Foto's - Grijze Roodstaart Papegaaien

  9. #9
    Senior Member
    Join Date
    Nov 2005
    Posts
    165
    Liked
    0 times
    Did you manually create a directory for each forum name?

  10. #10
    Senior Member
    Real Name
    Jan Jaap
    Join Date
    May 2006
    Location
    The Netherlands
    Posts
    132
    Liked
    0 times

    Question

    No, vBSEO enables you to setup custom rewrite rules from within the adminpanel. They are called CRR's.

    I still don't have an answere to my question, if the name of the forum directory is available in the templates.

    Best Regards,
    Jan Jaap

  11. #11
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Jan,

    if you want to have SEOed forumdisplay URL in templates, you can use vBSEO Functions for Extensibility for this.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Changing name of forum directory
    By Mike in forum General Discussion
    Replies: 3
    Last Post: 08-07-2006, 04:12 PM
  2. Scripts outside the forum directory
    By macooper in forum Custom Rewrite Rules
    Replies: 1
    Last Post: 10-02-2005, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •