Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Mar 2010
    Location
    UK
    Posts
    445
    Plugin Contributions
    0

    Default Re: I want to add this to the hcaccess file, but it's not there, where the tutorial s

    Try this. A few additions and a minor tweak:

    Code:
    ErrorDocument 404 /index.php?main_page=page_not_found
    
    RewriteEngine on
    
    # Fails with 404 error, any URL request that includes
    # record_company.php/password_forgotten.php
    # at any folder depth or root.
    RewriteRule ^([^/]+/)*record_company\.php/password_forgotten\.php$ /page-does-not-exist [L]
    
    # Fails with 404 error, any URL request that includes
    # images/wp- with 'wp-' being anything that ends with '.php'
    # this allows for images named such as 'wp-header.jpg' to work
    RewriteRule ^([^/]+/)*images/wp-([^.]+)\.php$ /page-does-not-exist [L]
    There may be other rules elsewhere on your site that interfere with it.

  2. #12
    Join Date
    Apr 2010
    Location
    Tallahassee, Florida USA
    Posts
    98
    Plugin Contributions
    0

    Default Re: I want to add this to the hcaccess file, but it's not there, where the tutorial s

    Thanks for the advice on upgrades. I will follow it. I have download 1.3.9. Before I unzip it and FTP it, I am backing up my existing database, and image files.

    What should I expect when I do this installation? I'm pretty sure my admin file will be named admin again, but I can fix that......

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v155 I am trying to edit the right side box that says Sponsors How do I find the file?
    By bscho in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 19 Jul 2016, 12:26 PM
  2. Replies: 2
    Last Post: 16 Dec 2013, 09:04 PM
  3. I want the Specials sidebox, but do not want it to repeat in the middle section?
    By mooncavecrystals in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jun 2010, 09:42 PM
  4. Replies: 5
    Last Post: 16 Mar 2009, 02:00 AM
  5. Installed, Error Says "No Such File" but file is there!
    By plumloopy in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 30 Aug 2006, 01:34 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
  •  
disjunctive-egg