rahulraj987
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problem sharing the ip address of the machine where I hosted wampVery disappointed
Forum: Fixing WordPress
In reply to: Problem sharing the ip address of the machine where I hosted wampThere would be some settings so that your ip address / wamp server is shared with others in the network ,right? i am new to this
Forum: Fixing WordPress
In reply to: Locally hosted wordpress blogI am now running into a new issue after making changes in httpd.conf and htttp-vhost files and in vhosts in system32 folder of my PC.
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.I reverted all(notsure) my changes . Tried a re install of wamp and copied wordpress folder again. Edited wp-config accordinngly.
I created a database ‘wordpressblog’ and tried giving the username and password as root ,and database host as localhost.define(‘DB_NAME’, ‘wordpresstest’);
/** MySQL database username */
define(‘DB_USER’, ‘root’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘root’);/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);Still the same error is shown.
I have copied the CONTENT of wordpress folder in c:/wamp64/www/myblogiste
Please let me know if I am doing anything wrong
Forum: Fixing WordPress
In reply to: Changing the URL for locally hosted wordpress———————————————————————-
I ran your find n replace (https://localhost is replced by http:/localhost/myblogsite/ and then tried changing the url to
define(‘WP_HOME’,’https://localhost/myblogsite/’);
define(‘WP_SITEURL’,’https://localhost/myblogsite/’);
in wp-config. But site still breaks down .Break down = just the texts are appearing with the posts without any images or any effect of the theme
Forum: Fixing WordPress
In reply to: Changing the URL for locally hosted wordpressmy aim is to replace my old url https://localhost to https://localhost/myblogsite where myblogsite is my wordpress folder
I changed in the settings as I mentioned above .
But to get back my old website structure ,I tried adding the below lines in wp-config file inside myblogsite folder.
define(‘WP_HOME’,’https://localhost/myblogsite/’);
define(‘WP_SITEURL’,’https://localhost/myblogsite/’);this also
functions.php i added<?php
update_option( ‘siteurl’, ‘https://localhost/myblogsite’);
update_option( ‘home’, ‘https://localhost/myblogsite’);This didnt solve the problem
later the entry in functions.php was removed.
Now If I remove the entry in config.php the site breaks down again. ONLY if the entry in wp-config file is like below the site worksdefine(‘WP_HOME’,’https://localhost/’);
define(‘WP_SITEURL’,’https://localhost/’);Now in my settings the site URL fields are non editable.
Forum: Fixing WordPress
In reply to: Locally hosted wordpress blogAlso there is no menu options showing so that I can go to corresponding menu and do a search and replace of my changed URL or any other settings changes . Just the texts are shown
Forum: Fixing WordPress
In reply to: Locally hosted wordpress blogEdit: my website url in the settings was https://localhost only. I followed method 2 of the below link
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_DirectoryNow the website is appearing with broken images , no structure for the contents of the site -everything comes one after the other(like archives, comments,recent posts sections)
- This reply was modified 7 years, 7 months ago by rahulraj987.
Forum: Fixing WordPress
In reply to: Local wordpress hosting- changing the themeThank you!.That worked
- This reply was modified 7 years, 7 months ago by rahulraj987.
Forum: Fixing WordPress
In reply to: Wamp server- trying to host a blogsite locallyThanks. Did a total re install and it worked
Forum: Fixing WordPress
In reply to: Wamp server- trying to host a blogsite locallyI had initially successfully installed wordpress from the url. Then I tried changing the url in the settings tab. Then my URL started redirecting and ended up in a loop. From then the site never worked. This was when I directly put the content of wordpress folder to the www folder.
Now I deleted those files from wordpress folder which were now inside www folder. Again copied the wordpress folder to www and renamed to myblogsite. Now if I give https://localhost/myblogsite/wp-admin/install.php – It says wordpress is already installed with a link to Login which goes to a page which says the site cant be reached.
If I give
localhost/myblogsite
or127.0.0.1/myblogsite
I get a message
“This localhost page can’t be foundNo webpage was found for the web address: https://localhost/myblogsite/”
I tried without preparing the wp-config file with db details. Gives me same error
- This reply was modified 7 years, 7 months ago by rahulraj987.
Forum: Fixing WordPress
In reply to: Wamp server- trying to host a blogsite locallyboth . And both shows me contents of w:\wamp\www.
My index.php and other wordpress files are inside w:\wamp\www\myblogsite folder