WordPress links leads me to wamp server configuration page (Localhost)

i have online WordPress blog, now i copied my blog to localhost to change the design.
I replaced http://mydomain to http://localhost (in database & WordPress configuration) .

The blog is working great in my localhost, but when i click on some category or post link it leads me to wamp page, there’s something that i missing, any idea what can be the problem? by the way the a href links have right structure.

Read More

Thanks, and sorry for my bad English 🙂

Related posts

Leave a Reply

3 comments

  1. Possibly your .htaccess file inside the www/wordpress folder has a wrong RewriteBase configuration

    RewriteBase /wordpress/
    
    RewriteRule . /wordpress/index.php
    
  2. WAMP returns a 404 for completely non-existent links for me. Not sure why you’re getting the homepage-are you using normal permalinks? (http://www.myblog.com/?p=123)

    Typically with wamp you’re going to have to install your blog in a subdirectory-localhost/blog/ or something like that. Using just the main directory can cause problems (especially if you want an easy place to launch phpmyadmin or switch from project to project!).

    Maybe you already installed it in a subdirectory and so the links just point to root-which is where the wamp homepage sits.

  3. Maybe you have placed the absolute URL in your WordPress Template? If not, check the wp-options Table in your database if there is the old URL in it.

    Then you have to clear your cache if you have installed a Cache Plugin in WordPress.

    Image links are still linking to the old URI, if you also would redirect these, then you have to replace your old url with your current URI in the wp-posts table.