• Hello,

    I set up my wordpress site on my iMAC locally using MAMP, it was working perfectly so I wanted to see how it would look on my iPad.

    This article gave me instructions on how to view local wordpress sites on an iPad using MAMP.

    http://www.designshifts.com/view-local-wordpress-website-on-your-iphone-or-ipad-with-mamp/

    I followed all the instructions; I took my IP address & apache code to form a URL as instructed. EG: xxxxxxx:80.

    Then as the instructions stated I entered this created URL into the wordpress URL & site address URL in general settings but nothing worked.

    I reverted back to the original //localhost URL but now I am receiving the following message:

    Too many redirectsoccured trying to open “http://localhost/”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

    I can’t get back onto the site or into the back office of the site to amend anything!

    Please Help!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you are using the default settings of a default MAMP install, then your URL should normally be:

    http://loaclhost:8888/name_of_folder_where_WP_is

    For example: http://localhost:8888/wordpress

    Following the instructions on that link, your URL for the above to view on your iOS devices would be:

    http://your_Mac_IP_address:8888/wordpress

    This value would then be entered into the WP URL and Site URL in Settings > General.

    Just tried it on my iPad 2 from my Mac Mini and it works great 🙂

    Forgot … to get things back, from your MAMP Start Page:

    – select phpMyAdmin
    – select the WP database from the left pane
    – select the wp_options table, then click the Browse tab in the right pane
    – edit the siteurl and home fields with the URL noted in the previous post (the one with the IP addy if you want to keep testing on the iPad)

    Thread Starter HKS1

    (@hks1)

    Hi,

    thank you for your reply. 🙂

    The settings in MAMP for the Apache is 80 & MySQL Port is 8889

    As advised, I have amended my URL to the following in the siteurl & homefields:

    http://your_Mac_IP_address:80/wordpress

    I am still unable to view on my iMAC or iPad. The following message appears:

    Index of /wordpress

    Parent Directory

    When I click on Parent Directory, the original too many redirects message occurs.

    Where am I going wrong?

    I cannot get my MAMP to even show the MAMP Start Page when using port 80 for Apache.

    Reset the ports the the default MAMP ports try that.

    MAMP Dialog > Preferences > Ports > Reset MAMP ports (Apache 8888 and MySQL 8889)

    Make sure both servers are running. This works for me.

    Of course you will also need to adjust the URLs again in the appropriate places.

    Thread Starter HKS1

    (@hks1)

    Thank you for your reply.

    My Apache server will not start when using the port 8888, only when using 80.

    I have managed to get the test web page to appear using my URL:

    http://your_Mac_IP_address:80/wordpress

    How do I go back to the original wordpress admin/dashboard page so that I can continue to make amendments to the site?

    I have attempted to amend the following in the wp-config.php file to get it back to the original settings:
    define(‘WP_HOME’,’http://localhost’);
    define(‘WP_SITEURL’,’http://localhost’)

    As well as amending in the home & siteURL fields of the phpMyAdmin page as follows:

    home- http://localhost
    siteURL – http://localhost

    However the wordpress backoffice/dashboard does not appear.

    How can I refer back to the original general settings?

    Many thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘too many redirects occurred…’ is closed to new replies.