Crystals Palace

Search This Blog

Wednesday, November 23, 2011

Change Wordpress domain name! Wordpress Url is Redirecting to another url, or I can't login to wordpress

Change Wordpress domain name!

Before doing below steps this is to change the url Heres the link cited http://codex.wordpress.org/Changing_The_Site_URL short desc of above link if not working change the config file with a url tags change the your active theme functions.php page with url tags

Wordpress Url is Redirecting to another url.

or I can't login to wordpress website problem.


Here is a few tips I have found online to help solve your problems about "WHY CAN'T I LOGIN TO WORDPRESS" OR "HAVE I TRIED TO CHANGE MY DOMAIN URL TO ANOTHER DOMAIN ADDRESS AND NOW I CAN'T LOGIN TO MY WORDPRESS AFTER I REDIRECTED MY URL"


Look at this link

http://codex.wordpress.org/Changing_The_Site_URL



Here is the brake down of the must read part, if this part does not work then go back to this link above and work out other steps, or even type in keywords for your problem and take notes of every error message from your wordpress website.



BREAK DOWN STARTS BELOW.....!!!!!!!!!



Changing The Site URL

On the Settings->General screen in a single site installation of WordPress, there are two fields named "WordPress address (URL)" and "Site address (URL)". These are also known as the "Home" and "Site URL" settings. They are important settings, since they controls where WordPress thinks your site is located. They control the display of the URL in the admin section of your page as well as the front end, and are used throughout the WordPress code.

Every once in a while, somebody finds a need to manually change (or fix) these settings. Usually this happens when they change one or both and discover that their site no longer works properly. This can leave the user with no easily discoverable way to correct the problem. This article tells you how to change these settings directly.

Additional information is presented here for the case where you are moving WordPress from one site to another, as this will also require changing the site URL. You should not attempt to use this additional information if you're only attempting to correct a "broken" site.
Alert! These directions are for single installs of WordPress only. If you are using WordPress MultiSite, you will need to manually edit your database.
Contents
[hide]

1 Changing the Site URL
1.1 Edit wp-config.php
1.2 Edit functions.php
1.3 Relocate method
1.4 Changing the URL directly in the database
2 Moving Sites
2.1 Altering Table Prefixes
2.2 Changing Template Files
2.3 Changing the Config file
2.4 Verify the Profile
2.5 Changing the .htaccess file
2.6 Additional items of note
2.6.1 Important GUID Note
2.7 Multi-site notes


Changing the Site URL

There's four easy methods to change the Site URL manually. Any of these methods will work and perform much the same function.
Edit wp-config.php

It is possible to set the site URL manually in the wp-config.php file.

Add these two lines to your wp-config.php, where "example.com" is the correct location of your site.

define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');

This is not necessarily the best fix, it's just hardcoding the values into the site itself. You won't be able to edit them on the General settings page anymore when using this method.
Edit functions.php

If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.

1. FTP to the site, and get a copy of the active theme's functions.php file. You're going to edit it in a simple text editor (like notepad) and upload it back to the site.

2. Add these two lines to the file, immediately after the initial "
update_option('siteurl','http://example.com/blog');
update_option('home','http://example.com/blog');

Use your own URL instead of example.com, obviously.

3. Upload the file back to your site, in the same location. FileZilla offers a handy "edit file" function to do all of the above rapidly; if you can use that, do so.

4. Load the login or admin page a couple of times. The site should come back up.

5. Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.

If there is no functions.php file in the theme:

Create a new text file called "functions.php".

Edit it with notepad, and add this text to it, using your own URL instead of example.com:

update_option('siteurl','http://example.com/blog');
update_option('home','http://example.com/blog');

Upload that to your theme directory, then proceed as stated above. Remove the file afterwards.


contact me at


crystals palace at yola site

http://crystalspalace.yolasite.com/



downloads

http://www.unlimiteddownloadebooks.com



reselling market

http://unlimiteddownloadebooks.com