homepage Welcome to WebmasterWorld Guest from 107.20.25.215
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Wordpress Live site to Local -redirect isuses
local site - home page works but other pages go to to wamp server config
magicwiz




msg:4662675
 11:58 pm on Apr 12, 2014 (gmt 0)

local install of wp site brought down from host - home page is ok but other pages redirect to wamp config page.

I got all local files from host to www dir under local wamp.

I got database from host and loaded to new local db and used this tool at

https://interconnectit.com/products/search-and-replace-for-wordpress-databases/


to adjust
"site_on_web.com"
to
"localhost/site_on_local"

now the home page works great and can login to admin page but when click on reservations page and others of site then site just goes to

the wamp server config page even though the url shows correctly as
localhost/site_on_local/reservations

my htaccess file is this
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

and rewrite-module is checked in the php-apache-apache modules setting.

---------------------------------------

now when I uncheck the rewrite-module is checked in the php-apache-apache modules setting.

or I
clear out the whole htaccess file

then the pages just goto

Not Found
The requested URL /site_on_local/reservations/ was not found on this server.

-------

Please help as I am unsure now about my process to move local site up and down and be able to make it work and without this I am lost...

Thanks so much.
Jeff

 

not2easy




msg:4663051
 5:24 am on Apr 15, 2014 (gmt 0)

Have you edited your wp-config.php file? That is where you tell WordPress where to look for the database and the username/password combination used to access it. Sorry, I am not familiar with the tools you used to move the site, but anytime you move a WP site you need to be sure that the config is updated to the new information.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved