Y T Nuke  
Results 1 to 6 of 6
I have a blog indexed in G. But all the page named : mysite.com/blog/search/article-title/ return ...
  1. #1
    Codythebest's Avatar
    Codythebest is offline Senior Member
    Join Date
    May 2009
    Location
    Fuerteventura
    Posts
    970
    Reputation
    96
    Thanks
    27
    Thanked 662 Times in 179 Posts

    Default Wordpress 404 problem

    I have a blog indexed in G.
    But all the page named : mysite.com/blog/search/article-title/ return a 404.

    mysite.com/blog/article-title/ is working OK. I don't have any search file though. Maybe that's the problem.

    Anyone knows how to fix this?
    I'm selling and buying websites for 3 months of revenue

  2. #2
    woot123's Avatar
    woot123 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    121
    Reputation
    18
    Thanks
    21
    Thanked 27 Times in 25 Posts

    Default Re: Wordpress 404 problem

    You could put a 404.php in your theme directory and put the following in:

    PHP Code:
    <?php
    header
    ("HTTP/1.1 301 Moved Permanently");
    header("Location: ".get_bloginfo('url'));
    exit();
    ?>
    Then everytime you get a 404 it will be redirected to your homepage.

  3. The Following User Says Thank You to woot123 For This Useful Post:

    Codythebest (01-13-2012)

  4. #3
    Codythebest's Avatar
    Codythebest is offline Senior Member
    Join Date
    May 2009
    Location
    Fuerteventura
    Posts
    970
    Reputation
    96
    Thanks
    27
    Thanked 662 Times in 179 Posts

    Default Re: Wordpress 404 problem

    It works.
    But each indexed pages are now redirected to the blog homepage instead of their own article page
    I'm selling and buying websites for 3 months of revenue

  5. #4
    woot123's Avatar
    woot123 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    121
    Reputation
    18
    Thanks
    21
    Thanked 27 Times in 25 Posts

    Default Re: Wordpress 404 problem

    Maybe deactivating plugins can work for you too, see this:

    Code:
    wordpress  **  org/support/topic/searching-returns-404
    Change "**" to ".", an not allowed to post links yet.

    Tell me if it worked

  6. #5
    Codythebest's Avatar
    Codythebest is offline Senior Member
    Join Date
    May 2009
    Location
    Fuerteventura
    Posts
    970
    Reputation
    96
    Thanks
    27
    Thanked 662 Times in 179 Posts

    Default Re: Wordpress 404 problem

    Quote Originally Posted by woot123 View Post
    Maybe deactivating plugins can work for you too, see this:

    Code:
    wordpress  **  org/support/topic/searching-returns-404
    Change "**" to ".", an not allowed to post links yet.

    Tell me if it worked
    Unfortunately, it didn't work. I played with the plugins and still have that problem
    I'm selling and buying websites for 3 months of revenue

  7. #6
    arpitagarwal82's Avatar
    arpitagarwal82 is offline Junior Member
    Join Date
    Feb 2008
    Location
    IndYeah
    Posts
    143
    Reputation
    33
    Thanks
    27
    Thanked 134 Times in 46 Posts

    Default Re: Wordpress 404 problem

    Hello cody.. Nice to find you here on BHW.. I guess you were a very active member at DP few years back.

    Now for you problem:
    1) Check if mod rewrite is enabled. Make sure you have a htaccess file. Create a blank one if needed and then just go to permalink structure setting and click save button.

    2) If that does not solve problem, try using this plugin
    http://wordpress.org/extend/plugins/smart-404/

    It redirects the 404 error page to most appropriate page on your site.
    Why is the rum gone?

AdStract


Advertise on Black Hat World

Similar Threads

  1. wordpress problem, anyone else?
    By BlackxHat in forum Blogging
    Replies: 5
    Last Post: 06-12-2011, 11:46 AM
  2. Prestige wordpress theme text problem!
    By hardcoreblackhater in forum Blogging
    Replies: 0
    Last Post: 01-28-2011, 01:09 PM
  3. Replies: 15
    Last Post: 06-25-2009, 10:29 AM
  4. Page not found error 404, wordpress 2.7??
    By audi008 in forum Black Hat SEO
    Replies: 3
    Last Post: 02-24-2009, 04:11 PM
  5. Problem with WordPress htaccess file?
    By BlackBeret in forum Blogging
    Replies: 8
    Last Post: 10-24-2008, 06:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76