Page 1 of 2 1 2 LastLast
Results 1 to 15 of 30

Changing db encoding to utf-8 and after change rewrite settings

This is a discussion on Changing db encoding to utf-8 and after change rewrite settings within the General Discussion forums, part of the vBSEO SEO Plugin category; i want to convert my db from latinswedish to utf-8 forum is greek and i use /t39399 for threads and ...

  1. #1
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times

    Changing db encoding to utf-8 and after change rewrite settings

    i want to convert my db from latinswedish to utf-8 forum is greek and i use /t39399 for threads and forums

    now my question is this if i change the vbseo settings after to thread-title-id how can i redirect google searches to the new url format

    i assume i can put a replacement variable in vb sto /forums/t to be changing into /forums/showthread.php?t= in order to keep the links valid for those that click the links from inside the threads which vbseo will turn into the new format but can i have an htaccess rule to redirect /forums/t(id) to /forums/showthread.php?t=(id) which will be also become thread-title-id to work for those that come to links from search engines ???

  2. #2
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    Yes Kon, That's possible.

  3. #3
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    okay so what whould be the htaccess rule (or vbseo CRR) to redirect t(id) into showthread.php?t=(id) which will be after become thread-title-id by vbseo without loosing google rankings ?

  4. #4
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    Give me full URL example, t"id"/ or t"id" without slash or t"id".html so I can make the rewrite rule now.

  5. #5
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    http://www.site.com/forums/t10098/ will be redirect to http://www.site.com/forums/showthread.php?t=10098/ in order NOT to loose google rankings and the NEW vbseo Forum rewrite whould be for example http://www.site.com/forums/politics-...omy-10098.html

  6. #6
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    Add this line after rewrite engine on directly :

    Code:
    RewriteRule t([0-9]+)/ http://www.domain.com/forums/showthread.php?t=$1 [L,R=301]

  7. #7
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    so i guess f([0-9]+)/ will be for forumdisplay and so on ? and what will be the custom vbseo Forum rewrite ? i dont see a preset option for keyword-id-html

  8. #8
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    so i guess f([0-9]+)/ will be for forumdisplay and so on ?
    Yes.

    and what will be the custom vbseo Forum rewrite ? i dont see a preset option for keyword-id-html
    Follow these steps and you will get it keyword-id.html

    vbseocp > URL rewrite settings > Forum URLs > advanced settings > forum URLs > Scroll down until "Forum" the add this code on the white box :

    Code:
     
    [forum_title]-[forum_id].html

  9. #9
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    and will i get benefit from changing from t-id to thread title ? i thought about all this cause my tag pages that were title.html appear first in google resultss

  10. #10
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    Sure keywords in URLs are better than only thread id, I've done that on my forum "Arabic forum" And I see amazing results

  11. #11
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    thanx mate. btw the script that changes encoding to utf-8 didnt work so i guess if i let it as it was its ok right ? this url is still keyword rich huh (looks like this) 9098-%F3xoliasm%FC%F2-m%DFa%F2-agel%DFa%F2.html

  12. #12
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    Check this thread has a very good info about UTF-8 forums : [How-To] Keywords in URLs for non-english forums

  13. #13
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    thats the script i used from vb.org and makes an error doesnt work

  14. #14
    vBSEO Staff Marco Mamdouh's Avatar
    Real Name
    Marco Mamdouh
    Join Date
    May 2010
    Location
    Egypt
    Posts
    3,143
    Liked
    110 times
    You will need to contact the mod author at vb.org, He's the best one will help you with the convert problem.

  15. #15
    Senior Member
    Real Name
    2345
    Join Date
    Sep 2008
    Posts
    125
    Liked
    0 times
    ok i managed to do the conversion, i have this problem now, the url pages show greek in url which is good, in the tag pages though the google indexed tag results ex tags/%E1%F4%F1%E1.html doesnt redirect to tags/λεξη.html how can i fix this

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Changing my URL Rewrite Settings
    By Kihon in forum General Discussion
    Replies: 3
    Last Post: 03-10-2010, 02:28 AM
  2. Changing my URL Rewrite Settings
    By tldagent in forum URL Rewrite Settings
    Replies: 2
    Last Post: 07-28-2009, 10:32 AM
  3. Change domain and change URL Rewrite Settings
    By FIM in forum Troubleshooting
    Replies: 8
    Last Post: 05-08-2009, 04:59 PM
  4. Changing Rewrite Settings
    By abrecher in forum URL Rewrite Settings
    Replies: 2
    Last Post: 05-30-2008, 01:00 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
  •