Page 1 of 3 1 2 3 LastLast
Results 1 to 15 of 34
Like Tree1Likes

[How to] Check if mod_rewrite is working for my site

This is a discussion on [How to] Check if mod_rewrite is working for my site within the Troubleshooting forums, part of the vBSEO SEO Plugin category; If you suspect mod_rewrite may not be working on your site, one simple method to verify is to setup a ...

  1. #1
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,847
    Liked
    32 times
    Blog Entries
    9

    Arrow [How to] Check if mod_rewrite is working for my site

    If you suspect mod_rewrite may not be working on your site, one simple method to verify is to setup a single redirect to test it.

    Add the following line to the top of your .htaccess file:

    Code:
    RewriteEngine on
    RewriteRule testpage\.html http://www.google.com [R]
    Then re-upload it to your server.

    Once the .htaccess file has been updated, enter the following into your browser:

    Code:
    http://www.yoursite.com/testpage.html
    This should automatically redirect you to Google.

    If this works, then mod_rewrite IS working on your server.

    If this does NOT work, then mod_rewrite is either disabled or setup incorrect. Contact the vBSEO Total Support Team via a the ticketing system:
    http://www.vbseo.com/tickets/
    Last edited by Philipp Herbers; 04-05-2008 at 07:25 AM.

  2. #2
    Member
    Real Name
    R
    Join Date
    Feb 2009
    Posts
    47
    Liked
    0 times

  3. #3
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,847
    Liked
    32 times
    Blog Entries
    9
    Ok - please contact your web host and ask them to enable it.

  4. #4
    Member
    Real Name
    R
    Join Date
    Feb 2009
    Posts
    47
    Liked
    0 times
    mod_rewrite mode works very well ..... Please look at the php code on my website
    how it is that the links displayed correctly when I put the files config_vbseo.php in the UTF-8 but I get an error:

    Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/config_vbseo.php:1) in [path]/includes/functions.php on line 3087

  5. #5
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,847
    Liked
    32 times
    Blog Entries
    9
    You stated that the above test does NOT work. If that is the case, then it appears that mod_rewrite is either not working or not configured on your site.

    Please report the error you are getting regarding headers already sent in another thread, as it is not related to this one.

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

    please note that php files should NOT be saved in UTF-8 encoding.
    I've replied to your ticket, please provide details there.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  7. #7
    Member
    Real Name
    R
    Join Date
    Feb 2009
    Posts
    47
    Liked
    0 times
    on the server is activated, they just confirm by telephone
    Look This:
    phpinfo()

  8. #8
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Please see what Oleg said previously.
    The Forum Hosting - Forum Hosting from the Forum Experts

  9. #9
    Member
    Real Name
    R
    Join Date
    Feb 2009
    Posts
    47
    Liked
    0 times
    ok,
    then how to get it work normally?
    I have a server where the mode is activated mod_rewrite
    I have a site in utf-8


  10. #10
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Looking at this thread: UTF-8 (thank you for your help) it seems as though Mert answered your questions. As for the ticket, Oleg is working with you on that. Be sure you provide him with the required information and he can try his best.
    The Forum Hosting - Forum Hosting from the Forum Experts

  11. #11
    Member
    Real Name
    R
    Join Date
    Feb 2009
    Posts
    47
    Liked
    0 times
    I have already said on the forum

    it does not work !!!!!!!!!!!!!!!!!!!!

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

    If you are using php5 as vBulletin extension , make sure you update the following setting also in config_vbseo.php
    PHP Code:
        define('VBSEO_VB_EXT',                 'php'); 
    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

  13. #13
    Member
    Real Name
    R
    Join Date
    Feb 2009
    Posts
    47
    Liked
    0 times
    You have access to my ftp + website
    Thank you to test directly on the server

    as you told me before I give you the ftp code

    Thank you

  14. #14
    Junior Member
    Real Name
    MDawg
    Join Date
    Apr 2009
    Posts
    16
    Liked
    0 times
    On my site I did that test and it did NOT go to Google (went to 404 error page). However my host told me:

    mod_rewrite is enabled on all of our servers

    so I would discount whether the above tests means anything, at least in my case it did not. Anyway, even though that test does NOT work for me, with help from vbSEO tech support, I have been able to get vbSEO to work somewhat (still some issues), so I don't know whether this test is of any value (in my case).

  15. #15
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Who is your host BTW? This test should work on your server.
    The Forum Hosting - Forum Hosting from the Forum Experts

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Site Check Please
    By svtsnake03 in forum Critique Please
    Replies: 6
    Last Post: 05-29-2007, 10:41 PM
  2. How To Check- A Site droped or banned from Google.
    By Nneel in forum General Discussion
    Replies: 0
    Last Post: 01-11-2007, 05:52 AM
  3. mod_rewrite loaded, but not working
    By cwalton in forum Troubleshooting
    Replies: 5
    Last Post: 02-21-2006, 03:05 AM
  4. was working fine then happened to check the site
    By drex in forum Troubleshooting
    Replies: 3
    Last Post: 11-08-2005, 04:33 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
  •