• Resolved MrsJessicaSimpson

    (@mrsjessicasimpson)


    Had a running web site, updated Friday morning. Wallop! – Re-curse issues.

    After the install : Here’s the contents of my .htaccess file.

    # BEGIN WordPress

    # END WordPress

    That’s it! – My site now simply re-curses into itself; as in.

    https://www.gb-dl.co.uk/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/

    I kept WordPress in a directory called /wd

    And for others with this same problem : Here is what you will see!
    The Browser reports.
    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.

    Still trying to get to the bottom of it, but I can’t find out what the new .htaccess file is supposed to look like, because I’m sure it wasn’t empty before! – I’ve been forced to use an external FTP Client to get even that basic information, and I know that the installer changed it, because the file date has changed.

    Holding off updating my other sites, till I can sort this out first.

    Any pointers greatly appreciated : Keep the faith people, its all worth it in the end.

    RGDS.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    In case it’s a plugin issue can you use FTP to rename wp-content/plugins to wp-content/plugins-OLD?

    Don’t delete anything just rename the directory. Once you’ve done that clear your browser cache and cookies and try your URL again.

    Also let’s see what your site looks like with curl…

    $ curl -I https://www.gb-dl.co.uk/wd/
    HTTP/1.1 301 Moved Permanently
    Server: nginx
    Date: Sat, 26 Oct 2013 21:18:32 GMT
    Content-Type: text/html; charset=iso-8859-1
    Connection: keep-alive
    Location: https://www.gb-dl.co.uk/wd/wd/

    Your using nginx so the .htaccess file would not do anything for you. nginx ignores that.

    Do you know what version of nginx you are using and if you can share a pastebin.com link to your nginx.conf file?

    I’m using nginx/1.1.19 on Ubuntu LTS

    $ nginx -v
    nginx version: nginx/1.1.19

    if I you can share your nginx.conf file I may be able to see why it works for me and not you.

    Thread Starter MrsJessicaSimpson

    (@mrsjessicasimpson)

    Forgot to mention – I’ve already renamed all my plugins directory.

    Still not a runner, also tried on the other browser, and flushed the firefox one as well.

    Haven’t got a ngix.conf file in my root directory. And my provider runs an Apache Server.

    I do have a .htaccess file in the root, that redirects to the /wd directory; where the WordPress files reside.

    In it is this:-

    RewriteEngine On
    RewriteRule ^(.*)$ https://www.gb-dl.co.uk/wd/$1 [L,R=301]

    As I say, I’m sure that the .htaccess in the /wd directory; did have something in before the update, and I’m sure that! – Is what’s causing my problems.

    Many thanks for your speedy reply.

    And my provider runs an Apache Server

    Your provider may be running Nginx on top of Apache.

    Anyway, please update your .htaccess (in the root directory) like…

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/wd/?
    RewriteRule ^/?(.*)$ https://www.gb-dl.co.uk/wd/$1 [L,R=301]

    I hope that fixes the issue.

    Thread Starter MrsJessicaSimpson

    (@mrsjessicasimpson)

    Pothi – Thank you for your response.

    I updated the .htaccess file as you suggested.

    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/wd/?
    RewriteRule ^/?(.*)$ https://www.gb-dl.co.uk/wd/$1 [L,R=301]

    From

    RewriteEngine On
    RewriteRule ^(.*)$ https://www.gb-dl.co.uk/wd/$1 [L,R=301]

    https://www.gb-dl.co.uk/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/wd/

    As you can see above, my site still re-curses into itself, and the error now changes to; file not found.

    Not Found
    The requested document was not found on this server.

    Web Server at gb-dl.co.uk

    Sigh! – But many thanks for your salient effort.

    Your site (gb-dl.co.uk and gb-dl.co.uk/wd/) looks good from here… https://www.dropbox.com/s/w1zrfuv6vwllrgi/Screenshot%202013-10-27%2014.13.15.png

    Thread Starter MrsJessicaSimpson

    (@mrsjessicasimpson)

    Solution:-

    Put my .htaccess back, as below.

    RewriteEngine On
    RewriteRule ^(.*)$ https://www.gb-dl.co.uk/wd/$1 [L,R=301]

    Found a backup of the .htaccess file, that used to reside in my /wd directory. If you’ll remember, the installer left it empty.
    – It now looks like.

    # BEGIN WordPress

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wd/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wd/index.php [L]
    </IfModule>

    # END WordPress

    My site is held on the folder/directory called /wd

    – Should you also be suffering the same sort of issues I encountered after running the 3.7 update/installer. Then consider the solution I’ve outlined above as a means of relieving your stress.

    Hope it helps.

    – Praise be the ORI.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘3.7 update issue’ is closed to new replies.