Results 1 to 8 of 8

url changing

This is a discussion on url changing within the General Discussion forums, part of the vBSEO SEO Plugin category; when going to this url, yoursite.com/forum I'm taking to this and a blank page comes up. www.yoursite.com/forum//home/yoursite/public_html/forum Thank you...

  1. #1
    Senior Member
    Real Name
    Tony
    Join Date
    Dec 2005
    Location
    RI
    Posts
    108
    Liked
    0 times

    url changing

    when going to this url, yoursite.com/forum I'm taking to this and a blank page comes up.
    www.yoursite.com/forum//home/yoursite/public_html/forum

    Thank you

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times

  3. #3
    Senior Member
    Real Name
    Tony
    Join Date
    Dec 2005
    Location
    RI
    Posts
    108
    Liked
    0 times
    i added that to the forum root .htaccess and it took care of the problem. Do I also need to added it to the main root .htaccess as well?

    Thanks

  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
    IF you have a similar www/non-www directive there, then yes.

  5. #5
    Senior Member
    Real Name
    Tony
    Join Date
    Dec 2005
    Location
    RI
    Posts
    108
    Liked
    0 times
    This is what I have there,
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^/]+)$ http://www.site.com/forum/ [L,R=301]
    and this is in forum root
    RewriteCond %{HTTP_HOST} !^www\.site\.com
    RewriteCond %{REQUEST_URI} forum/
    RewriteRule (.*) http://www.site.com/forum/$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]
    Oh last question. When I goto Move .htaccess rules into httpd.conf from WHM, I remove these two files right? And would I still need to place this into Mert's .htaccess rules from his blog post?
    add RewriteCond %{REQUEST_URI} forum/


    Thank you!

  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
    yes, when you move to httpd the htaccess files should be removed. and yes, you should add that line in to merts directions.

  7. #7
    Senior Member
    Real Name
    Tony
    Join Date
    Dec 2005
    Location
    RI
    Posts
    108
    Liked
    0 times
    Sorry one last question.

    I'm planning on adding another vbsuite and vbseo installation to the same server. Will moving the htaccess effect the other forum and can I have the htaccess files for the new site in the same location?

    Thanks again!

  8. #8
    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
    each site has their own header in httpd.conf

Similar Threads

  1. Changing thread titles without changing url.
    By Dave Hybrid in forum General Discussion
    Replies: 5
    Last Post: 10-15-2009, 07:18 PM
  2. Changing from no-www to www
    By wavesurfer in forum General Discussion
    Replies: 5
    Last Post: 08-16-2009, 02:03 AM
  3. Changing my url
    By ToastAndBananas in forum General Discussion
    Replies: 3
    Last Post: 10-22-2007, 02:09 PM
  4. changing directories
    By Bridges in forum General Discussion
    Replies: 9
    Last Post: 02-03-2007, 11:02 PM
  5. url not changing
    By hornstar6969 in forum Troubleshooting
    Replies: 3
    Last Post: 05-22-2006, 10:08 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
  •