Results 1 to 9 of 9

problem when i try to save in showthread template

This is a discussion on problem when i try to save in showthread template within the Troubleshooting forums, part of the vBSEO SEO Plugin category; hello i add some code in SHOWTHREAD template when i press save buttom it redirect me to out side my ...

  1. #1
    Senior Member
    Real Name
    khaled
    Join Date
    Jan 2007
    Location
    jeddah
    Posts
    107
    Liked
    0 times

    Question problem when i try to save in showthread template

    hello
    i add some code in SHOWTHREAD template

    when i press save buttom it redirect me to out side my forums in other category on my site it is wordpress script

    for example my forums
    منتديات منتدى Ù…Ø*شش

    after save template redirect me to
    العاب بنات دولز جديدة يومية

    this problem coming only in this template others template like postbit and header not coming

    vbulletin support say
    That is from a custom redirect, most likely vBSEO.
    and
    You should review any rewrite rules you have in your .htaccess file to ensure that they're how you want them.
    help me plz expert people

  2. #2
    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
    Does it work correct if you temporary disable vBSEO from vBSEO CP ?
    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

  3. #3
    Senior Member
    Real Name
    khaled
    Join Date
    Jan 2007
    Location
    jeddah
    Posts
    107
    Liked
    0 times
    Quote Originally Posted by Mert Gökçeimam View Post
    Does it work correct if you temporary disable vBSEO from vBSEO CP ?
    NO

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    What is your htaccess content?

  5. #5
    Senior Member
    Real Name
    khaled
    Join Date
    Jan 2007
    Location
    jeddah
    Posts
    107
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    What is your htaccess content?
    thanks for the reply her the code
    # 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

    RewriteRule ^([0-9]+)/$ http://www.m7shsh.com/vb/m7-f$1/ [L,R=301]

    # 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\.m7shsh\.com
    RewriteCond %{REQUEST_URI} vb/
    RewriteRule (.*) http://www.m7shsh.com/vb/$1 [L,R=301]

    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
    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]

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Try removing

    RewriteRule ^([0-9]+)/$ http://www.m7shsh.com/vb/m7-f$1/ [L,R=301]

    from your file. That rule may may be too generic and match on things that it should not.

  7. #7
    Senior Member
    Real Name
    khaled
    Join Date
    Jan 2007
    Location
    jeddah
    Posts
    107
    Liked
    0 times
    seam problem my friend it redirect me now to my main site
    موقع Ù…Ø*شش

    i installed enginx and add this
    location /forums/ {

    rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

    if (!-e $request_filename) {
    rewrite ^/forums/(.*)$ /forums/vbseo.php last;
    }

    }

    if ($request_filename ~ "\.php$" ) {
    rewrite ^/forums/(.*)$ /forums/vbseo.php last;
    }
    maybe this make problem ?

    Quote Originally Posted by Brian Cummiskey View Post
    Try removing

    RewriteRule ^([0-9]+)/$ http://www.m7shsh.com/vb/m7-f$1/ [L,R=301]

    from your file. That rule may may be too generic and match on things that it should not.

  8. #8
    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
    you need to customize the rules you save to match your site. Your forums are located inside vb folder not forums folder.
    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

  9. #9
    Senior Member
    Real Name
    khaled
    Join Date
    Jan 2007
    Location
    jeddah
    Posts
    107
    Liked
    0 times
    yes i customize before i add vb

    but her i show example only
    Quote Originally Posted by Mert Gökçeimam View Post
    you need to customize the rules you save to match your site. Your forums are located inside vb folder not forums folder.

Similar Threads

  1. Unable to edit 'SHOWTHREAD' template
    By Kaustubh in forum Off-Topic & Chit Chat
    Replies: 6
    Last Post: 05-25-2010, 06:10 AM
  2. SHOWTHREAD template
    By Jason_A in forum Off-Topic & Chit Chat
    Replies: 22
    Last Post: 05-13-2010, 10:26 PM
  3. problem when save the setting
    By lusso in forum General Discussion
    Replies: 3
    Last Post: 04-04-2009, 09:23 AM
  4. Missing Tital Tag in Showthread Template
    By Neutral Singh in forum Bug Reporting
    Replies: 3
    Last Post: 07-29-2005, 01:35 AM

Posting Permissions

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