Results 1 to 8 of 8

URL Rewrite not 100%

This is a discussion on URL Rewrite not 100% within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Okay, Cheers for looking at this. I hope you can help me Right, I have a forum and i've spotted ...

  1. #1
    Junior Member
    Real Name
    Html33
    Join Date
    Apr 2008
    Posts
    3
    Liked
    0 times

    URL Rewrite not 100%

    Okay, Cheers for looking at this. I hope you can help me

    Right, I have a forum and i've spotted that if i have two or more sections called the same thing, for example " Other " which ever link is pressed it goes to the wrong place.

    Here is a live example,


    This is for the Guild Wars Section
    Other - Die Hard Gaming - For all your coding and gaming needs!

    ____

    This is for the Graphics section

    Other - Die Hard Gaming - For all your coding and gaming needs!


    Notice how they both go to the same url?

    here is my .htaccess

    Code:
    RewriteEngine on
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www\.dhgaming\.com
    #RewriteRule (.*) http://www.dhgaming.com/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
    RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

    So maybe i need to tell the forum to make it "Dhgaming.com/other*"

    * = Number, Changing url.


    I dont know, Please help _

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    if you have 2 forums with the same name (sub- or regular) you must include the ID in the structure.

  3. #3
    Junior Member
    Real Name
    Html33
    Join Date
    Apr 2008
    Posts
    3
    Liked
    0 times
    How do i do that?

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    First, we need to verify you're a customer. You're not currently showing as a vbseo owner.

    If you are working on behalf of someone else, have them add you in their userCP as a 'tech team' member.
    If you are the owner, you need to have a staff member assign your license to your name.

  5. #5
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    I cannot find any info for your domain name within our License Database. If you already purchased vBSEO and your license is not activated please send me a PM including your forum adress and payment transaction id so i can investigate further. Otherwise we only support Licensed Users. You are always welcome to purchase a new license and out Support team can asist you immediately with your problems.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  6. #6
    Junior Member
    Real Name
    Html33
    Join Date
    Apr 2008
    Posts
    3
    Liked
    0 times
    Alright, Will do.

    I'll try and get him to activate my account soon, I manage the server you see

  7. #7
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    have him go here: http://www.vbseo.com/usercp/customer_profile/ and enter your name in the 1 of the 3 blocks at the bottom

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    but like i said, to fix the issue you need to include the ID in your re-write option, or change the forum name.

    To include the ID, scroll to the preset area for the re-write rules.
    expand with the + sign to see all options,

    then find the rule you wish to use given the examples.

    instead of [forum_name] you will probably want to use [forum_id]-[forum_name]

Similar Threads

  1. Rewrite for custom 'app' - rewrite and retrieving 'GET' variables..?
    By amnesia623 in forum Custom Rewrite Rules
    Replies: 4
    Last Post: 02-09-2008, 01:50 AM
  2. Anyone using Custom Rewrite Rules to rewrite OpenAds ad urls?
    By echamberlain in forum Custom Rewrite Rules
    Replies: 2
    Last Post: 12-12-2007, 06:24 PM
  3. URL Rewrite Settings / Custom Rewrite Rules
    By shanemcse in forum General Discussion
    Replies: 0
    Last Post: 03-04-2006, 01:57 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
  •