Results 1 to 9 of 9

Everyone of my links are 404 :O

This is a discussion on Everyone of my links are 404 :O within the General Discussion forums, part of the vBSEO SEO Plugin category; Everyone of my links is 404 all i did was reinstall all my forum stuff Anyideas? Edit i forgot to ...

  1. #1
    Senior Member Vodkaholic's Avatar
    Real Name
    Mike
    Join Date
    Sep 2008
    Posts
    164
    Liked
    0 times

    Everyone of my links are 404 :O

    Everyone of my links is 404
    all i did was reinstall all my forum stuff

    Anyideas?

    Edit i forgot to change the .htaccess sorry X_X

  2. #2
    Senior Member Vodkaholic's Avatar
    Real Name
    Mike
    Join Date
    Sep 2008
    Posts
    164
    Liked
    0 times
    Nah its still not working right :S

    does this look right?

    Code:
    <ifModule mod_expires.c>
      ExpiresActive On
      ExpiresDefault "access plus 1 seconds"
      ExpiresByType text/html "access plus 1 seconds"
      ExpiresByType image/gif "access plus 2592000 seconds"
      ExpiresByType image/jpeg "access plus 2592000 seconds"
      ExpiresByType image/png "access plus 2592000 seconds"
      ExpiresByType text/css "access plus 604800 seconds"
      ExpiresByType text/javascript "access plus 216000 seconds"
      ExpiresByType application/x-javascript "access plus 216000 seconds"
    </ifModule>
    <ifModule mod_headers.c>
      <filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
        Header set Cache-Control "max-age=259200, public"
      </filesMatch>
      <filesMatch "\\.(css)$">
        Header set Cache-Control "max-age=604800, public"
      </filesMatch>
      <filesMatch "\\.(js)$">
        Header set Cache-Control "max-age=21600, private"
      </filesMatch>
      <filesMatch "\\.(xml|txt)$">
        Header set Cache-Control "max-age=21600, public, must-revalidate"
      </filesMatch>
      <filesMatch "\\.(html|htm|php)$">
        Header set Cache-Control "max-age=1, private, must-revalidate"
      </filesMatch>
    </ifModule>
    <ifModule mod_headers.c>
      Header unset ETag
    </ifModule>
    FileETag None
    <ifModule mod_headers.c>
      Header unset Last-Modified
    </ifModule>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    # 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/)
    
    RewriteCond %{HTTP_HOST} ^www\.myanimeisland\.com$
    RewriteRule ^(.*)$ http://myanimeisland.com/$1 [L,R=301]
    
    RewriteRule ^threads/([0-9]+) showthread.php?t=$1 [L,R=301] 			 		
    RewriteRule ^forums/([0-9]+) forumdisplay.php?f=$1  [L,R=301] 			 		
    RewriteRule ^blogs/([0-9]+) blog.php?u=$1 [L,R=301] 			 		
    RewriteRule ^entries/([0-9]+) entry.php?b=$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]
    Thanks

  3. #3
    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
    You cannot have wordpress and vb/vbseo in the same folder.

    You need to move wordpress or vb to its own folder, and take it's htaccess rules with it to it's own folder.

  4. #4
    Senior Member Vodkaholic's Avatar
    Real Name
    Mike
    Join Date
    Sep 2008
    Posts
    164
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    You cannot have wordpress and vb/vbseo in the same folder.

    You need to move wordpress or vb to its own folder, and take it's htaccess rules with it to it's own folder.
    Hi before i had vbseo they both ran fine in the same folder :O

    Edit after playing about this works

    Code:
    <ifModule mod_expires.c>
      ExpiresActive On
      ExpiresDefault "access plus 1 seconds"
      ExpiresByType text/html "access plus 1 seconds"
      ExpiresByType image/gif "access plus 2592000 seconds"
      ExpiresByType image/jpeg "access plus 2592000 seconds"
      ExpiresByType image/png "access plus 2592000 seconds"
      ExpiresByType text/css "access plus 604800 seconds"
      ExpiresByType text/javascript "access plus 216000 seconds"
      ExpiresByType application/x-javascript "access plus 216000 seconds"
    </ifModule>
    <ifModule mod_headers.c>
      <filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
        Header set Cache-Control "max-age=259200, public"
      </filesMatch>
      <filesMatch "\\.(css)$">
        Header set Cache-Control "max-age=604800, public"
      </filesMatch>
      <filesMatch "\\.(js)$">
        Header set Cache-Control "max-age=21600, private"
      </filesMatch>
      <filesMatch "\\.(xml|txt)$">
        Header set Cache-Control "max-age=21600, public, must-revalidate"
      </filesMatch>
      <filesMatch "\\.(html|htm|php)$">
        Header set Cache-Control "max-age=1, private, must-revalidate"
      </filesMatch>
    </ifModule>
    <ifModule mod_headers.c>
      Header unset ETag
    </ifModule>
    FileETag None
    <ifModule mod_headers.c>
      Header unset Last-Modified
    </ifModule>
    
    # 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/)
    
    
    
    RewriteCond %{HTTP_HOST} ^www\.myanimeisland\.com$
    RewriteRule ^(.*)$ http://myanimeisland.com/$1 [L,R=301]
    
    RewriteRule ^threads/([0-9]+) showthread.php?t=$1 [L,R=301] 			 		
    RewriteRule ^forums/([0-9]+) forumdisplay.php?f=$1  [L,R=301] 			 		
    RewriteRule ^blogs/([0-9]+) blog.php?u=$1 [L,R=301] 			 		
    RewriteRule ^entries/([0-9]+) entry.php?b=$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]
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
    
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

  5. #5
    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
    That SHOULDN'T work. If it does, it's a fluke, and i bet something isn't working.

  6. #6
    Senior Member Vodkaholic's Avatar
    Real Name
    Mike
    Join Date
    Sep 2008
    Posts
    164
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    That SHOULDN'T work. If it does, it's a fluke, and i bet something isn't working.
    Everythign is working

  7. #7
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    I also strongly suggest you to recheck everything as a single wrong configuration can cause major issue in long run.
    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

  8. #8
    Member
    Real Name
    Darren
    Join Date
    Oct 2009
    Posts
    70
    Liked
    3 times
    Yes i agree not advisable to run any 2 scripts / software solutions within the same folder unless instructed to by the developers in which it would be considered a mod / addon, 2 separate installs in the one folder is asking for trouble.

    Good luck

  9. #9
    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
    The problem is that both word press and vbseo work on a 'catch-all'

    if its not a file (-f), nor a directory (-d), send to xxxxx.php

    Everything is going to index.php before vbseo.php in the above code block, which is likely causing tons of internal looping. There is no feasable way that is working correctly.

Similar Threads

  1. Old Links Redirect to New Links for VBA and GARS?
    By waltercat in forum Pre-Sales Questions
    Replies: 1
    Last Post: 02-24-2007, 02:46 PM
  2. Change The Footer Links To What I Want For Affiliate Links?
    By WiseOne in forum vBSEO Affiliate Program
    Replies: 2
    Last Post: 02-24-2007, 02:00 PM
  3. addIng links to Footer Archive Links ?
    By rocket468 in forum General Discussion
    Replies: 3
    Last Post: 01-27-2007, 05:51 PM
  4. Replace 'Forum Links' with direct links to target URLs?
    By Atakan KOC in forum Bug Reporting
    Replies: 4
    Last Post: 01-18-2007, 02:17 PM
  5. Custom 'outgoing links' for google analytics external links tracking
    By Nick0r in forum Sitemap Features Archive
    Replies: 3
    Last Post: 06-16-2006, 07:52 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
  •