• Resolved webnewbie123456

    (@webnewbie123456)


    I installed wordpress in public_html then for version control tried to put wordpress in a subfolder and used a redirect to access it
    but now lost it
    http://gloucestershireramblers.org.uk
    I’ve spent about 3 days tearing my hair out trying to get it back
    I’ve tried creating subfolders which I can access
    http://gloucestershireramblers.org.uk/www02
    but not
    http:/www.gloucestershireramblers.org.uk/www02
    I can’t reinstall into public_html as it tells me there is already a version installed
    Each time I create a new installation it opens a new database.
    If I do create a new installation how do I link it back to my original database?
    help!
    thanks 😉

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter webnewbie123456

    (@webnewbie123456)

    Latest version of WP 3.8.1 I think
    Here we go some quotes
    In firefox
    The page isn’t redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies.
    In IE6
    Internet Explorer cannot display the webpage

    Login to your admin area and goto settings -> general. Change WordPress URL to http://gloucestershireramblers.org.uk/www02 and Site Address to http://gloucestershireramblers.org.uk

    Also review http://codex.wordpress.org/Changing_The_Site_URL and http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Hope that helps 🙂

    Thread Starter webnewbie123456

    (@webnewbie123456)

    thanks Keith
    I presume you mean the wordpress installation in www02
    The top setting wordpress URL was already there
    I removed the /www02 on the lower setting site address
    Seems to make no difference – I can access the site at URL/ww02
    but no other variants

    http://www.URL
    URL
    http://www.URL/www02

    Thread Starter webnewbie123456

    (@webnewbie123456)

    ok I’m getting there

    Edit wp-config.php
    It is possible to set the site URL manually in the wp-config.php file.

    Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);
    I did this edit in both locations public_html and in www01 subdomain
    using URL for the first pair and URL/www01 for the second pair
    and got the sites back

    Awesome! The only difference with setting the URL’s in the wp-config is that you will not be able to change them in the admin panel any longer 🙂

    Thread Starter webnewbie123456

    (@webnewbie123456)

    I now have 3 WP installations
    one each in public_html, public_html/www01, public_html/www02
    accessible as URL, URL\www01,URL\www02
    The first is also accessible as wwww.URL

    Why does http://www.URL\www01 & wwww.URL\www02 give ‘the webpage cannot be found’
    i.e.no www redirect

    Ive saved the permalinks option within each of the above to try to make sure htaccess is ok
    However if I remove the above two defines in wp-config the sites become inaccessible again
    Can you guess what is taking precedence?

    Thread Starter webnewbie123456

    (@webnewbie123456)

    Ive edited it more and moved the files from public_html to \www00
    using the last part of your last link to WP in its own directory
    I had to do some tidying of image links but now ok
    thanks 🙂

    Thread Starter webnewbie123456

    (@webnewbie123456)

    Mods – sorry to bother but this thread is getting more hits than my site
    ~Please can you remove the direct references to it in posts 1 and 3
    or change the name to ‘URL’ for consistency with subsequent posts
    thanks!

    It is not the general policy to edit or delete forum posts. When a post is made and people contribute answers to an issue, that then becomes part of the community resource for others to benefit from. Editing or deleting posts removes this added value. In extreme circumstances, the moderation team might be persuaded to remove sensitive information but. generally, your best course of action is not to publish anything that you wouldn’t want to be public.

    http://codex.wordpress.org/Forum_Welcome#Deleting_.2F_Editing_Posts

    I’m sorry but this is not an extreme case.

    Thread Starter webnewbie123456

    (@webnewbie123456)

    Hi esmi {bows]
    I realise now it’s not normal policy to remove links but I thought by changing it to ‘URL’ the thread would still make sense as that’s what it says in subsequent posts discussing how to get control back.

    Otherwise this thread is top of search engine listing for my site!

    I’m sorry but this is not an extreme case.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘lost control of my website’ is closed to new replies.