Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Feb 2012
    Location
    Richardson
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Urgent help needed to locate the content source of site

    Hi there.

    Recently, my boss gave me a web project of modifying website content. The web address is
    PHP Code:
    wwwa 1 d f w .com 
    I'm pretty well with Wordpress customization and this is a wordpress website. The problem I'm facing is that I couldn't update any content of the site since I couldn't locate actually from where the data is loading. I'm confused what previous developers actually used.

    For example
    PHP Code:
    "http://www.a1dfw.com/index.php/baggage/ 
    .. In every link they used
    PHP Code:
    /index.php
    this index.php directory. I downloaded the full public_html using ftp and sql database, but couldn't locate the content to update.

    Please help.

  • #2
    Regular Coder
    Join Date
    Jul 2010
    Location
    Oregon City
    Posts
    280
    Thanks
    5
    Thanked 50 Times in 49 Posts
    Would need to see the directory structure first. If there are no databases involved than it is stored in some other file.

    test

  • #3
    New Coder
    Join Date
    Feb 2012
    Location
    Richardson
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Adee View Post
    Would need to see the directory structure first. If there are no databases involved than it is stored in some other file.

    test

    I coudn't find any directory called index.php -- this is the confusing part.

  • #4
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,338
    Thanks
    60
    Thanked 527 Times in 514 Posts
    Blog Entries
    4
    So it may well be a .htaccess file you need to look at then. It may be using the rewrite engine to rewrite the url to another script where it might be pulling content from a database.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #5
    New Coder
    Join Date
    Feb 2012
    Location
    Richardson
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tangoforce View Post
    So it may well be a .htaccess file you need to look at then. It may be using the rewrite engine to rewrite the url to another script where it might be pulling content from a database.
    PHP Code:
    # 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 
    Is this the .htaccess file you are talking about? Please guide me. I still couldn't change content of the existing site.

  • #6
    New Coder
    Join Date
    Feb 2012
    Location
    Richardson
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    whoa! What a pain! Downloaded 4000+ files and went through all. Thanks for your suggestion. They wrote a script called rd.php where I fouth that they are using the rewrite engine to rewrite the url to another script.... hehe. Stupid developer! Just wondering why he made it so difficult to find. :@

    Thank you tango.


    Quote Originally Posted by tangoforce View Post
    So it may well be a .htaccess file you need to look at then. It may be using the rewrite engine to rewrite the url to another script where it might be pulling content from a database.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •