Wordpress on local host?
I have a simple (only 2 posts and no pages) test WP blog installed on a remote web host. I'm trying to work on a copy of it off-line on my localhost. I started by adding a new wordpress to my local host, then copied the wp-include folder from remote host to the new localhost wordpress. Export/Import databse. Start and install WP and follow steps to create config.php file.
All works as should. Blog appears on localhost with the 2 posts and the theme appearance and etc just as it does on remote host.
Problem - When, in the WP dashboard Posts section, I click on "view" post I get page not found error 404. I have been advised that I need to go to Settings>Permalinks and then click save. As soon as I select Settings>Permalinks a .htaccess file is added to the WP on localhost, the dashboard display becomes not correct and if I click save I get server error 500 message. From that point on I cannot access the blog on localhost at all. If I delete the .htaccess file I get back to where everything works except as described at the top of this post.
So I believe I need to configure the .htaccess file and/or possibly some other configuration settings I need to change. I just can't figure out what I need to do to get this working correctly. A link to the .htaccess files is below. One file from original remote host the other created by WP when I go to Settings>Permalinks
http://www.openrangeimaging.com/Test/htacess.jpg
someone suggested to me that I just work on my localhost without the .htaccess file but that doesn't seem right to me and I want to get this sorted out and working 100% correctly.
I know this is not realy a DW question. I have posted on the WP forum but not received any replies. I have gotten al lot of gret help and advice here so I am posting this in hopes someone can help me with this. Any advice on how I might get this resolved will be very much appreciated
Disable permalinks when working locally.
Nancy O.
Similar Messages
-
Using local host XAMPP with Wordpress and Dreamweaver
I hope this is within the scope of this forum. It's probably more of a WP than DW topic but I have found this forum to be very helpful on a wide scope of general web design/build topics so here goes.
I have a static html/css web site created with DW. I've got it as a local site on my computer and also have it uploaded to a remote host server (fatcow). It's using a temporary domain/address while under development and will replace an exisitng site when completed.
http://www.prospectrealty1.fatcow.com/index.html
I have installed WP on the remote host and created a Blog thru the WP Dashboard. There is a link in the navigation of the static site to the WP Blog. When clicked a new tab opens and the user is taken to the seperate blog.
http://prospectrealty1.fatcow.com/blog/
I want to be able to work on a copy of the blog "offline" on my local computer.
So I have xampp installed and it is working correctly on the C drive of my computer. Next I copied my entire local site folder into a folder under the htdocs/xampp. So Next I copied the folder I created that contains the wordpress install from the remote host at fatcow (I named it "blog"), and pasted it into my local install. So now I have localhost/xampp/prospect-blog-test/blog.geez, I was editing the post above but got an error and it didn't save my edits and left out the problem. so here's the trouble.
After trying what I described above I made a new install of all of the WP files and put it here localhost/xampp/prospect-blog-test/. did this just to "start from scratch" Planning to export the WP files from the fatcow host and import into new local host install. I type localhost/xampp/prospect-blog-test into my browser and the WP splash screen appears and askis about creating the config file. First step is to specify the database. That's where I am having trouble.
Using mySQL on the fatcow host and following the seemingly simple instructions on the WP codex I export the database .sql file. Then I go to mySQL on my local host and try to import the .sql file.
I am getting the following error message.
http://www.openrangeimaging.com/Test/local-host-MySQL.jpg
Not sure what I'm doing wrong. Any help or advice or point me to a resource will be much appreciated.
thanks in advance -
Cisco ASA 5505 Cannot ping local traffic and local hosts cannot get out
I have, what I believe to be, a simple issue - I must be missing something.
Site to Site VPN with Cisco ASA's. VPN is up, and remote hosts can ping the inside int of ASA (10.51.253.209).
There is a PC (10.51.253.210) plugged into e0/1.
I know the PC is configured correctly with Windows firewall tuned off.
The PC cannot get to the ouside world, and the ASA cannot ping 10.51.253.210.
I have seen this before, and I deleted VLAN 1, recreated it, and I could ping the local host without issue.
Basically, the VPN is up and running but PC 10.51.253.210 cannot get out.
Any ideas? Sanitized Config is below. Thanks !
ASA Version 7.2(4)
hostname *****
domain-name *****
enable password N7FecZuSHJlVZC2P encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
interface Vlan1
nameif Inside
security-level 100
ip address 10.51.253.209 255.255.255.248
interface Vlan2
nameif Outside
security-level 0
ip address ***** 255.255.255.248
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/1
interface Ethernet0/2
shutdown
interface Ethernet0/3
shutdown
interface Ethernet0/4
shutdown
interface Ethernet0/5
shutdown
interface Ethernet0/6
shutdown
interface Ethernet0/7
shutdown
ftp mode passive
dns server-group DefaultDNS
domain-name *****
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 10.1.7.0 255.255.255.0
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.1.10.250
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.200
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.9
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.14
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.15
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.16
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 10.1.9.0 255.255.255.0
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 10.10.9.0 255.255.255.0
access-list No_NAT extended permit ip 10.51.253.208 255.255.255.248 ***** 255.255.255.240
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 10.1.7.0 255.255.255.0
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.1.10.250
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.200
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.1.3.9
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.14
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.15
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 host 10.10.10.16
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 10.1.9.0 255.255.255.0
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 10.10.9.0 255.255.255.0
access-list Outside_VPN extended permit ip 10.51.253.208 255.255.255.248 ***** 255.255.255.240
pager lines 24
mtu Outside 1500
mtu Inside
icmp unreachable rate-limit 1 burst-size 1
icmp permit any Outside
no asdm history enable
arp timeout 14400
global (Outside) 1 interface
nat (Inside) 0 access-list No_NAT
route Outside 0.0.0.0 0.0.0.0 ***** 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
aaa authentication enable console LOCAL
aaa authentication serial console LOCAL
aaa authentication ssh console LOCAL
http server enable
no snmp-server location
no snmp-server contact
snmp-server community *****
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set DPS_Set esp-3des esp-md5-hmac
crypto map DPS_Map 10 match address Outside_VPN
crypto map DPS_Map 10 set peer *****
crypto map DPS_Map 10 set transform-set *****
crypto map DPS_Map interface Outside
crypto isakmp enable Outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 28800
crypto isakmp policy 65535
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 Outside
ssh timeout 60
console timeout 0
management-access Inside
username test password P4ttSyrm33SV8TYp encrypted
tunnel-group ***** type ipsec-l2l
tunnel-group ***** ipsec-attributes
pre-shared-key *
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect netbios
inspect rsh
inspect rtsp
inspect skinny
inspect esmtp
inspect sqlnet
inspect sunrpc
inspect tftp
inspect sip
inspect xdmcp
service-policy global_policy global
prompt hostname context
Cryptochecksum:8d0adca63eab6c6c738cc4ab432f609d
: end
1500Hi Martin,
Which way you are trying. Sending traffic via site to site is not working or traffic which you generate to outside world is not working?
But you say ASA connected interface to PC itself is not pinging that is strange. But try setting up the specific rules for the outgoing connection and check. Instead of not having any ACL.
If it is outside world the you may need to check on the NAT rules which is not correct.
If it is site to site then you may need to check few other things.
Please do rate for the helpful posts.
By
Karthik -
How do I change an IP address of SQL Server which is locally hosted and is not on cluster?
Hi All,
How do I change an IP address of SQL Server which is locally hosted and is not on cluster?
I am asking about IP for SQL Server, is there a way we can assign a different IP to SQL Server other than the server's(host) IP address? like the same what we do in a clustered env.
aaFull explanation can seen here:
SQL Server: Configure Listening IP, Port, and Named pipe
http://ariely.info/Blog/tabid/83/EntryId/151/SQL-Server-Configure-Listening-IP-Port-and-Named-pipe.aspx
[Personal Site] [Blog] [Facebook] -
Is there a way to run using local host ip (127.0.0.1)?
I am trying to get a working system at home. Obviously I cannot use a dialup
dynamic IP address, but is there a way to enable iAS 6.0 SP3 to use the
local host address of 127.0.0.1?
kas.exe complains 'value of admin host in registry is invalid (localhost IP
is not acceptable)'. I am running Windows 2000 and I do have a network card
that I sporadically use to connect a laptop. It appears that with Windows
2000, I can not use my Ethernet cards PI address unless I actually have it
connected to a network.
Any assistance would be appreciated.
Thanks,
Bret HansenYes. Use the loopback adapter.
Bret Hansen wrote:
I am trying to get a working system at home. Obviously I cannot use a dialup
dynamic IP address, but is there a way to enable iAS 6.0 SP3 to use the
local host address of 127.0.0.1? -
How to set up a JSP local host server?
I am trying to set up a local host JSP server, do you know any good youtube or tutorials in general that would help me set up a local host JSP server? Or could you post the steps here and your source (if any).
I am looking for something similar to XAMPP as in this youtube tutorial: http://ca.youtube.com/watch?v=KWRB-maTVyM&feature=rec-fresh However, any help would be greatly appreciated.
By the way, I am very new to JSP and was wondering, XAMPP includes Apache, is Apache a JSP server?
-Direction needed.
Edited by: watwatacrazy on Aug 31, 2008 6:51 AMYou need a Java web container to run JSP/Servlets. A commonly used one is Apache Tomcat. It is not the same as Apache HTTP Server which can only serve static files.
You can find Tomcat here: [http://tomcat.apache.org].
How to install/use it, just check the User Guide: [http://tomcat.apache.org/tomcat-6.0-doc/index.html]. -
Hey there all.
I am wondering if there is something wrong with my embedded form or if it is simply because
I have not uploaded my site to remote host yet? I am only getting a broken part of the header with
no actual form, with a warning "!local host" in top left hand corner. If anyone could enlighten
me on this problem it would be greatly appreciated, it is my first time making formsCheers, I noticed some browsers were treating the form differently. I am uploading to a test server tomorrow, hopefully all goes well, thanks for your reply
-
Error on invoking a webservice by giving ip address instead of local host
Hi,
I created a web service through jdeveloper and tried accessing the webservice generated WSDl file by giving ip address of my machine , but it throws me an error stating IE cannot display the web page . The same web service is running fine when giving local host on the Web service URL .
Looking frwd fr sme help
Thanks in advance
RagavenHi,
your WebLogic server is not setup to listen for the IP address. You can change this in the WLS console for the server configuration. Note that when you install WLS and don't define any hostname then it will listen to all addresses (which also is the default for the integrated WLS)
Frank -
Event ID 1012 - There was an error while attempting to read the local hosts file
When I start my Computer after it has been turned off overnight (switched off at the Power supply) I get a Blue screen and have to reboot the PC. in the Event log it has this error: Event ID 1012 - DNS client events - There was an error while attempting
to read the local hosts file.
Once the PC has booted evrything is O.K. I can restart the PC with no problems, it only seems to happen if the PC has been switched off for a while.
I am connected to the net via an Netgear dg834v4 Modem/Router
Windows 7 Ultimate
Intel Q8200 CPU
2 x 360 Gb HDD
ATI 4680 !Gb Video Card
Digital HDA X-Mystique 7.1 Sound Card
Aver media 777 TV Tuner card.
Thank you
jeepers01
After further Investigation it seems that this error is Not responsible for my Blue screening......I started my PC after leaving it off all night, and it started normally, but i still have this error in the Event Log - System.....I have searched the Technet
forums (and there is a lot of ID 1012 errors) but non relating to my problem....If anyone knows what is causing this error and how to fix it, i'd be Grateful....although it does not seem to affect the PC in any way that i can see.
thanks
jeepers01Since Windows system uses separated user mode and kernel mode memory space, stop errors are always caused by kernel portion components, such as a third-party device drivers, backup software or anti-virus services (buggy services).
The system goes to a BSOD because there is some exceptions happened in the kernel (either the device driver errors or the service errors), and Windows implements this mechanism: When it detects some errors occur in the kernel, it will kill the box in case
some more severe damage happens. Then we get a blue screen or the system reboots (it depends on what the system settings are).
To troubleshoot this kind of kernel crash issue, we need to debug the crashed system dump. Unfortunately, debugging is beyond what we can do in the forum. A suggestion would be to contact Microsoft Customer Service and Support (CSS) via telephone so that
a dedicated Support Professional can assist with your request. Please be advised that contacting phone support will be a charged call.
To obtain the phone numbers for specific technology request please take a look at the web site listed below:
Microsoft - Help and Support
If you are outside the US please see
Microsoft Worldwide Home for regional support phone numbers.
Meantime we can try some available steps as a general troubleshoot.
1. Please remove the antivirus and run the system with a period. If the issue does not occur, mainly focus on antivirus settings and compatibility.
2. Disable Automatic Restart and see detail information on the blue screen.
1).Click Start, in the Start Search box enter sysdm.cpl.
2).Click the tab Advanced. Under Startup and Recovery, click the Settings button.
3). Uncheck “Automatically restart”.
4). On the drop-down menu “Write debugging information”, choose “Small memory dump”.
5). Click OK.
When Blue Screen displays, you may find some useful information.
Arthur Xie - MSFT -
How to run local host web application in win 7 64 bit with oracle database?
Hi all,
Hope doing well,
sir i am running my local host web application with oracle database in win 7 32 bit. it's working fine.
but when i am running the same thing in win 7 64 bit. it's showing login error.
not going to home page even i checked with this published file open in visual studio it's working fine.
how to run it correctly?
thanks in advance.The number of times you have been asked to post sufficient details for your questions, we would expect you to have got the message by now... but clearly not.
952646 wrote:
but when i am running the same thing in win 7 64 bit. it's showing login error.What error? You haven't posted an error. There are millions of possible errors in computing and you're expecting people to guess which one.
not going to home page even i checked with this published file open in visual studio it's working fine.
how to run it correctly?No code, no database version, no details...... = NO HELP.
When are you going to learn. -
How do I add a new IP to the local host file?
One of the sites I manage has been migrated to a dedicated server. Before changing the nameservers, I need to proof all the pages. To do so, I need to add the new IP number to my local computer local host file.
How is that done?
OSX 10.9
davidDownload TextWrangler, choose Open File by Name from the File menu, provide /private/etc/hosts as the path, and enter them using the same format as the 127.0.0.1 line.
(92337) -
Save a csv file on local host, executing a DTP Open hub in a Process chain?
Hi All,
my client has asked me to try if there is a way to save in the local host c:\ a .CSV file generated from an Open HUB executed by a DTP in a Process chain.
when i execute my DTP it work correctly and it save the .csv file on my c:\ directory.
my client doesn't want to give th users authtorization on RSA1 and want to try if there is a way to put the DTP in a process chain
and when executing the process chain every user can have the file on his own local c:\ directory.
i tried this solution but it doesn't work i get an error on executin the process chain:
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Except. CX_SY_REF_IS_INITIAL
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "FILE_DELETE" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: "CL_GUI_FRONTEND_SERVICES=>HANDLE").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
can you give some advices please?
Thanks for All
BilalHi Bilal,
Unfortunately, DTPs belonging to Open Hubs wich are targeted to a local workstation file, can't be executed through a process chain.
The only way of including such DTP in a process chain is changing the Open Hub so that it writes the output file in the application server. Then, you can retrieve the file -through FTP or any other means- from the application server to the local workstation.
Hope this helps.
King regards,
Maximiliano -
Auto Sync Files not working with Local Host
Hi,
I am developing a site locally and testing on a local host. I have my working files in Adobe cloud and then 'upload' to my local host to test.
This works fine when I click upload, or control+shift+u, but its extremely annoying.
I have checked the box that says 'automatically upload files to server on save' but it doesn't do it.
The only thing I can think of it that it has to be an actual live server? Nothing else can explain it. My setting are fine and like I said, doing it manually works no problem.
I have the most recent version of DW CC
Thanks,
JakeHi,
I am developing a site locally and testing on a local host. I have my working files in Adobe cloud and then 'upload' to my local host to test.
This works fine when I click upload, or control+shift+u, but its extremely annoying.
I have checked the box that says 'automatically upload files to server on save' but it doesn't do it.
The only thing I can think of it that it has to be an actual live server? Nothing else can explain it. My setting are fine and like I said, doing it manually works no problem.
I have the most recent version of DW CC
Thanks,
Jake -
I am trying to set up a local host for testing PHP per David Powers book. I am doing something wrong because I keep getting a 404 error. I am probably screwing up the locations of my site folders and/or the url address. Can someone help me out?
The more information you provide the more likely you are to receive a response that will assist you. To avoid volunteer contributors from asking you 20 questions about the steps you've taken so far why not list in detail the steps you've taken to get to the point you're at now? Expect the amount of effort you put into your post to be reciprocated by others who respond. A three sentence post that vaguely describes your symptoms and methods will most likely be replied with the same minimal effort.
-
Problem in local host setting for webdynpro
Hi,
I configured the webdynpro and now when i click the webdynpro link the page not open but when i given the local host name and program name in the url path its work.but i want to set the automatically host name permenentaly in webdynpro design.Hi,
Not an expert in the webdynpro.
You can check in RZ11 whether the icm/host_name_full is mainted with fully qualified domain name.
Also you need to make an entry in your local desktop in host file.
Regards,
Vamshi.
Maybe you are looking for
-
Have an itunes account on a computer that is currently not working. Just installed itunes on a new laptop. Want to transfer music from near dead computer to my laptop. I can't access the 'home sharing' button on other computer - so is there a way to
-
I just purchased a 2nd-generation Apple TV, and I'm trying to hook it up. I have a TV with two HDMI ports in back. One HDMI cable goes from the TV to my DVR/receiver, the other goes to my Bluray DVD player. How do I hook up the Apple TV with both
-
Hi can anyone tell me how come
i install adobe and it turns all the icons thatn are link to .exe files into Adobe ones and when you ckick on them nothing will run on my computer very upseting to say the least HELP PLZ
-
Can I associate signatures with aliases in the Maverick Mail app?
Is there any way to have Mail include a specific signature when writing a message using an alias? For example, I would like to always include Signature #1 when using Alias #1, Signature #2 when using Alias #2, etc. I know it's possible to choose the
-
ARD fails to do things that I ask it to do...
Today we got a new Canon printer that requires the installation of a driver and a network utility on all 18 of our imacs (OSX 10.5) First I tried to do a remote install with ARD. It reported that 5 had succeeded in just a few minutes and the rest wer