• Resolved siuq

    (@siuq)


    Hello.

    I just installed a copy of a wordpress site on my computer and I can only see the index, the other pages fails. From the index when I click in the links there is a “not found” message, for example:
    Not Found
    The requested URL /test/contact/ was not found on this server.

    I made the following settings:
    ? In wp-admin>Settings > General
    WordPress Address (URL): https://localhost:82/test
    Site Address (URL): https://localhost:82/test

    ? In the database > wp_options
    Siteurl: https://localhost:82/test

    What can I do?
    Thanks
    Regards.

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m having the same issue. I have https://localhost:8888/testwordpress in my WordPress Address and Site URL in Admin>Settings>General. Changed the config file, I have access to my log-in and the dashboard and everything in there, but when I try to check a link I get the “404 not Found” message. Can Anyone help us, please? thanks in advance.

    I went into PHPmyAdmin and did a search on any url that was still my live site, and changed it to localhost:8888/my-local-site-name-here. That worked. You might try the same. It’s not just the config.php file you need to modify.

    Hakkim

    (@hakkimpahammed)

    Please update the ‘home’ and ‘site_url’ fields in wp-option table to your current local path (for ex:- https://localhost/your_site_name) and check. Also try change the permalinks from admin side-> Settings ->Permalinks to ‘default’.

    Thread Starter siuq

    (@siuq)

    Thanks for the answers.

    I activated the option rewrite_module in Apache and now I can load the pages but it gives a code error. This one:
    Parse error: syntax error, unexpected 'else' (T_ELSE) in C:\wamp\www\test\wp-content\themes\test\page.php on line 352
    I don’t know why beacuse is the same file of the original page and it works.

    Hakkim

    (@hakkimpahammed)

    Siuq,

    It seems like some syntax error in PHP code you are using in your template file page.php It would be better if you could paste the code over here, so that I can check for the issue.

    Thread Starter siuq

    (@siuq)

    Thanks for helping Hakkim P Ahammed.

    I activated the option “short open tag” in Apache and now it works.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘pages not found’ is closed to new replies.