InMotion Hosting Support Center

If you need to migrate your WordPress website, or change the location of your WordPress installation it's good to keep in mind how WordPress keeps track of itself via the WordPress Address and Site Address settings. Click here to learn more about WordPress Hosting.

These settings can be adjusted directly in the WordPress admin dashboard from Settings >> General or you can make these modifications to your wp-config.php file as well.

WordPress WP_HOME and WP_SITEURL settings

There are 2 WordPress options that you can adjust to change the behavior of how WordPress works.

  • WordPress Address / WP_HOME   The address typed in a browser to reach your WordPress blog.
  • Site Address / WP_SITEURL             The address where your WordPress core files reside.
WordPress Address / WP_HOME Site Address / WP_SITEURL
cPanel File Manager showing WordPress core files Web browser showing WordPress site URL setting
WordPress URL settings in admin dashboard

As you can see from the example above, I have my WordPress core files stored inside my /public_html/wp directory so that they aren't clogging up my root directory.

However I still want people just to type in http://example.com to get to my WordPress site, so I've left that set as my Site Address so WordPress knows this is what I want displayed instead of the core files location.

This is just one example of what can be done with WordPress URL settings. You might also need to modify these settings after moving your WordPress website to a new server, or testing a new structure for your website.

Change WordPress address with wp-config.php file

The easiest way to modify your WordPress URLs is via the wp-config.php file. If you've moved your WordPress site or are trying to test it from a temporary URL, this also might be the only method that works for you.

Be aware with these settings in the wp-config.php file, the ability to modify them from the dashboard is lost.

  1. Edit your wp-config.php file.
  2. Define your WP_HOME and WP_SITEURL settings by inserting these lines towars the top:
    define('WP_HOME','http://yourdomain.com');
    define('WP_SITEURL','http://yourdomain.com');
    
    // ** MySQL settings - You can get this info from your web host ** //

Change WordPress address in admin dashboard

You can also adjust your WordPress URL settings directly from the admin dashboard. This method will typically work if you haven't moved your WordPress installation and aren't having any issues access it.

  1. Login to WordPress admin dashboard
  2. Click on Settings >> General
  3. Fill in your WordPress Address and Site Address and click Save.

Change WordPress address directly in the Database

You can also diretly modify your WordPress URL settings in the WordPress database using the phpMyAdmin tool.

  1. Backup your database in cPanel prior to making changes.
  2. Use phpMyAdmin to manage your WordPress database.
  3. phpMyAdmin select WordPress databaseSelect your WordPress database from the left.
  4. phpMyAdmin select WordPress options tableThen select your wp_options table.

    Your wp_ prefix may differ depending on your install settings.

  5. phpMyAdmin click edit on siteurlClick Edit beside either the siteurl or home entries.
  6. phpMyAdmin update siteurlEnter in your new value in the option_valuie field, then click Go
  7.  

Detect and change WordPress address with RELOCATE

If you're having issues accessing your WordPress dashboard, you can have WordPress automatically try to figure out what the correct WordPress Address should be using the RELOCATE flag in your wp-config.php file.

With the RELOCATE flag set, WordPress will automatically update your WordPress core files path to the URL used to attempt to access the wp-login.php script. This only affects the WordPress dashboard and not the site itself.

  1. Edit your wp-config.php file.
  2. At the top of the file add a define('RELOCATE',true); line:
    define('RELOCATE',true);
    
    // ** MySQL settings - You can get this info from your web host ** //
  3. Now visit your http://example.com/wp/wp-login.php page in your web browser.

    Be sure to type in the path of your WordPress core files before wp-login.php

  4. Log into your WordPress dashboard as you would normally.
  5. If you navigate to Settings >> General, you should now see that WordPress has automatically populated the WordPress Address (URL) field for you, with the path to your WordPress files.

Support Center Login

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
wordpress temp URL to correct domain name
Adding a WordPress site to our account
Can't see media files after Primary Domain Change
I created edit.*****.com, but when I access editedit.*****.com/wp-admi
Wordpress directory showing on live site
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
2013-06-06 1:25 pm
I would like my display URL to read www.example.com, not example.com. I've changed this in the past, in the General Settings, and my website went away with errors everywhere. All I did was add the "www" to the beginning of each. I couldn't even load the login page. So I'm reluctant to mess with these setting again.

Even with your explanations here, I'm still not sure how these 2 setting work or what their real purposes are. There are two setting WordPress URL and Site URL, you referred to a "Home" URL... is this a third option or is Home the same as WordPress?

Also, If I change these two settings and my site crashes again, do I recover by editing the the wp-config file, or the functions.php file?

I know this shouldn't be this difficult, I just want to add the WWW. Thanks for your help.
Staff
25,386 Points
2013-06-06 1:48 pm
Hello LenEstrada,

Sorry to hear that you're confused and having problems with this issue. I looked it up through the Wordpress.org Forums and found this suggestion:

1) Login to the Wordpress Administrator
2) Click on SETTINGS
3) Click on GENERAL
4) The forum post I read suggests that BOTH of those URLs should be set to use WWW.

Here's the link to the post if you need it: Force WWW in WordPress.

I hope this answers your question! Please let us know if you require any further assistance.

Regards,
Arnel C.
n/a Points
2015-01-25 12:40 am

Can the first example be done of the basic version of wordpress or does it require the premium plan?

Staff
28,219 Points
2015-01-26 12:00 pm
Hello Laura,

This will work with all self-hosted versions of WordPress.

Kindest Regards,
Scott M
n/a Points
2014-04-13 1:54 am

I have having problem connecting to my admin loginon wordpress, I tried the step above, but I was redirected to my home page instead of my login page

Staff
11,186 Points
2014-04-14 9:06 am
Take a look at the address bar. Did it redirect to another domain from before you changed the site URL?
n/a Points
2014-04-14 2:33 pm

I follow the step above, the issue has been fixed, All I had to do was just to wait for sometime, the wordpress login page was overided with the site login page. All is working fine. Thanks for the help

n/a Points
2014-04-17 1:31 pm

I built a test website using an extension :

www.website.com/test

now I want to move the extension "test" to Website.com

I want the contain of website.com to be what I build under "test"

Staff
9,968 Points
2014-04-17 5:05 pm
Hello Rausty, and thanks for the comment.

You would have two options in order to move WordPress from a subfolder such as example.com/test to just example.com.

You can either move all of your files from the /test directory up one level to your main site's document root. This is the recommended method to ensure that everything with WordPress continues to function properly.

Or you can also just tell WordPress to utilize the files in the /test directory and just copy over 2 WordPress files if you'd like to keep your document root clear of all the WordPress files. This can complicate matters a bit, but you just have to keep in mind when trying to access things like /wp-admin to login to WordPress, you'd still need to use example.com/test/wp-admin.

The first option of simply moving your entire WordPress site from a subfolder to your document root could be completed with these steps:


  1. Login to WordPress

  2. Hover over Settings then click on General

  3. Both your WordPress Address (URL) as well as your Site Address (URL) settings should both say http://example.com/wordpress

    You'll want to change both to just read http://example.com


    Now you'll want to click on Save Changes, but note that as soon as you do WordPress will throw a Error 404 - Not Found error.


  4. Now you'd want to move all of the files and folders from your /test directory to your main document root.



The second option of making your WordPress site accessible from just the document root of your website, while still retaining the bulk of the WordPress files in a /test folder. Could be setup following these steps:


  1. Login to WordPress

  2. Hover over Settings then click on General

  3. Both your WordPress Address (URL) as well as your Site Address (URL) settings should both say http://example.com/wordpress

    Change just the Site Address (URL) to http://example.com


  4. Copy DO NOT MOVE the /test/.htaccess and /test/index.php files to your main document root.

  5. Edit the index.php file now sitting in your document root and change this line:

    require( dirname( __FILE__ ) . '/wp-blog-header.php' );


    To this:

    require( dirname( __FILE__ ) . '/test/wp-blog-header.php' );


    Then save the file and you should be able to access WordPress from your main example.com now.



Please let us know if you had any further questions at all.

- Jacob
n/a Points
2014-05-10 3:22 am

Hi I messed up my site by editing wordpress and site url. followed the above method and I am able to login to WP Dashboard and can see the home page. But none of the other pages are working. Error 404 is being displyed.  my site http://www.thewholehog.com.au/

Please help asap.

Staff
28,219 Points
2014-05-10 9:00 am
Hello Dharamveer,

Thank you for your question. I can see your site now, so it appears you have corrected the URL issue. However, there is an error on your pages reading "Call to undefined function wpsc_is_viewable_taxonomy() in /home/<removed for privacy>/wp-content/themes/nathan/loop.php on line 127 " In researching, there is not much available in the cause and fix of the issue. I did find one instance of the error that was fixed by installing the wp-ecommerce plugin. It seems the function it is calling is tied to that plugin.
Please let us know if that helps.
Kindest Regards,
Scott M
n/a Points
2014-05-10 10:00 am

Hi Scott, Many thanks for the quick response. I just updated the wp-ecommerce plugin and I lost everything including WP_Dashboard.

This is the error message I am getting: Fatal error: Cannot redeclare wpsc_print_product_list() (previously declared in /home/the24064/public_html/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-deprecated.php:465) in /home/the24064/public_html/wp-content/themes/nathan/functions.php on line 504

Staff
28,219 Points
2014-05-12 12:43 pm
Hello Dharamveer,

You may want to rename the wp-ecommerce plugin from the plugins folder to see if the site functions correctly without it (dashboard, regular posts, etc). If so, then the error is definitely within the wp-ecommerce plugin.

It is possible the theme and the current version of the plugin are fighting. So if it works with the theme turned off, change your theme to another for testing, say one of the defaults, then re-enable the plugin. If that works, then it is the combination of the plugin and theme. Also check to ensure the theme is only installed once in the plugin folder.

Kindest Regards,
Scott M
n/a Points
2014-07-05 3:00 pm

Thanks Very much, My issue is now solved after reading your blog..

n/a Points
2014-07-09 10:07 am

How can i modify the site url on the website hosting by my home server? when i change it to 'localhost',the outside world can't access my website.when i change it to 'http://mydomain.com', i cant get into my website on my server computer. i'm using DDNS services. plz help.

Staff
17,070 Points
2014-07-09 10:46 am
Hello jumbohalo,

Thank you for your question. Depending on your specific setup, you may have to setup Port Forwarding, to resolve to your server.

You may want to also check with your ISP, to ensure they allow incoming connections to port 80 (the standard internet port).

Here is a link to a helpful post on accessing WordPress from localhost AND domain in the official WordPress forums, that is similar to your question.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
n/a Points
2014-07-09 11:10 am

thanks for your quick responce. my problen has solved now.

n/a Points
2014-07-16 3:21 pm

Hello,

In 5 years of using wordpress Ive never ran into this problem. When I uploaded my Wordpress site it came out adding a /wp to the address of my site and all pages can only be accessed by adding that to the end of my url. How can I get it to render properly to the true url's without the /wp?

Thanks

Staff
25,386 Points
2014-07-16 7:46 pm
Hello Benjamin,

What happened was that WordPress was installed into the subfolder named WP. You can use the instructions in the tutorial above to use the WordPress Admin to make it so that you don't have to type the "wp" in your URL. You can also move your WordPress installation into the root folder. This is a much more involved process though.

I hope that helps to explain the issue. In either solution, you would not need to include WP in the URL when accessing the site.

Regards,
Arnel C.
n/a Points
2014-07-18 10:04 am

Can you please explain the difference between the original premise of the article --putting Wordpress in a subfolder-- and your second option response to Rausty on 04/17?  I don't see the difference, yet the answers are different. 

Staff
11,186 Points
2014-07-18 10:51 am
The difference in these is moving all of the files versus moving just a few of the files and editing the configuration within WordPress. The choice between these is simply based on preference.
n/a Points
2014-07-29 4:33 am

Thanks to those that put this thread together! I am smiling again... Very nearly had myself a 'hissy' fit!

It was the myPhPadmin solution that did it for me.

n/a Points
2014-08-19 10:41 pm

Hi

I had problems with login to my dashboard after I made a copy of my site.

I tried the fix.

define('RELOCATE',true);
and it worked. But my question is... do I leave it in the file or should I remove it?SincerelyTed
Staff
25,386 Points
2014-08-20 11:15 am
Hello Ted,

You can leave it there, though I would recommend that you remove it after looking to see where the location of your Administrator has been set. The information should be in your Administrator already (as indicated in the article above). If you want to be sure that it is set permanently, use the database option described above to set the location permanently - though WordPress is set to work with the location change in the Administrator settings.

Regards,
Arnel C.
n/a Points
2014-09-01 1:00 pm

My wordpress keeps adding an "s" to the end of my Site Address (URL). Which causes it to redirect. Why would WP do this?

Staff
28,219 Points
2014-09-02 1:56 pm
Hello Bre,

WordPress should not be doing that. Be sure to check your dashboard, then also the wp-config file. If all else fails, check your .htaccess in the root WordPress folder to see if there is a misconfigured setting. It is a bit cryptic, but the code for the rewrite rule would have an extra 's' in it if it is the cuplrit. Removing that would help, if it is there,

Kindest Regards,
Scott M
n/a Points
2014-09-02 2:25 pm

Thank you! I think it was the template I was using. It was changing breroz.com to brerozs.com.

Thank you for answering me. :)

n/a Points
2014-09-10 3:52 pm

Hi,

I need to change WP_SITEURL of my worpress site but is it possible to mantain the original site_url for admin access?es:my domain is www.mydomain.itI'd like to change my site url in: www.mynewdomain.it/projects/

and if I change WP_SITEURL all is ok but I can't to login in admin page: my installation is a multisite

thanks

Staff
11,186 Points
2014-09-10 4:04 pm
Unfortunately, when changing the site URL, it will affect the admin as well. The best solution would be to simply create a redirect from the old location to the new one.
n/a Points
2014-10-09 10:07 am

This article says:

WordPress Address / WP_HOME             The address where your WordPress core files reside.

Site Address / WP_SITEURL   The address typed in a browser to reach your WordPress blog.

 

In WordPress site, the opposite is said to be true:

 home is the address you want people to type in their browser to reach your WordPress blog.

WP_SITEURL, defined is the address where your WordPress core files reside.

http://codex.wordpress.org/Editing_wp-config.php

Staff
28,219 Points
2014-10-09 10:27 am
Hello Visakh,

Thank you for pointing out the error. We have made the change in the article to remain true to the WordPress official documentation.

Kindest Regards,
Scott M
n/a Points
2014-10-09 10:30 am

That was fast!

Thanks for the detailed article. :)

n/a Points
2014-10-27 4:06 pm

I'm so glad I found this (Bing!) - I thought my site was going to be messed up forever. I must had wasted a couple hours looking for a configuration file that had the right words.

By the time I completed the upload of the file as per:

"Change WordPress address with wp-config.php file"

 

Then I was done!!

Yahoo!! I actually thought it would be impossible to find this advice. Thanks for proving me wrong.

n/a Points
2014-11-01 1:55 am

Hi,

I want to change the address(WP_HOME) we type in the url to reach my website.Now it is www.example.com/abc, I want the  people to type www.abc.com in their browser to reach my WordPress website. How can I do that? Thanks in advance.

Staff
28,219 Points
2014-11-02 4:50 pm
Hello nb,

You will initially want to change the URL in the wp-config.php file so you can then access the wp-admin, so follow the instructions above named 'Change WordPress address with wp-config.php file'.

Once that is done and you can access the site at 'www.abc.com' you can then make the change in the admin dashboard. Follow the section titled "WordPress WP_HOME and WP_SITEURL settings" those instructions. Once that is completed, you can return and remove the lines you added in the wp-config.php file.


Kindest Regards,
Scott M
n/a Points
2014-11-09 8:43 am

Excellent stuff, really very helpful. I was soo much disappointed when I lost access to my site. Worked hard referred to many blogs but din't help. Your videos were really helpful in sorting this out. Thank you very much!!

n/a Points
2014-11-20 10:30 am
perfect!!!!!Thanks!!!!!!!!!!!!!
http://www.inmotionhosting.com/support/website/wordpress/wordpress-changing-the-site-url-and-home-settings
n/a Points
2014-11-26 6:20 am
if something goes wrong like a SERVER ERROR! after following the instructions at least explain how to go back.
Staff
28,219 Points
2014-12-01 9:53 am
Hello Joe,

Unless a typo is made when entering the information, there should be no Server Error afterwards. In the event something like that does happen, simply follow the instructions above for modifying the wp-config.php file to revert back or input the correct info. Then you can log into the admin dashboard and fix it.

Kindest Regards,
Scott M
n/a Points
2014-11-28 6:16 pm

I have straight away edited and added www.in wp admin and lost my site can not reach admin or site now.When this happened immediately on saving i pressed back and removed www and again saved it but site is still not showing.Can you please suggest action.

Staff
28,219 Points
2014-12-01 10:10 am
Hello Kayani,

Unless you have your www subdomain pointed elsewhere, it should not have had that effect. Since you put it back, try clearing your browser cache to see if that helps. If that fails, you may want to contact your hosting provider's support so they can assist with your particular account.

Kindest Regards,
Scott M
n/a Points
2014-11-28 6:31 pm

We had a volunteer come in to our nonprofit and redo our wordpress site. He created a root directory and put everything into http://example.org/2013 

If I want to change "2013" to something timeless or just want to get rid of it, what should I do? 

I wouldn't even know how to get to the site's files -- don't know where they are. I have only used the wordpress login (web access) to do anything.  Sorry if this is ridiculously beginner level, but I am afraid of messing up our site, even after reading all about this.

Staff
28,219 Points
2014-12-01 10:12 am
Hello Vap,

You can change the subfolder to anything you like, but you would first need to log into the server and either a) create that folder and copy all the files over to it or b) rename the current 2013 folder to the new name.

You would need access to the actual server to do so, however.

Kindest Regards,
Scott M
n/a Points
2014-12-16 3:55 pm
thanks it helps me lot to fix the url not exit error thank u very much
n/a Points
2014-12-23 5:15 pm
Saved my life!!!
n/a Points
2014-12-29 1:04 pm

After I did all the procedures above, the posts are not displaying anymore. It returns back to root. 

my website is www.envymestudio.ro 

maybe somebody can help me. 

Thanks a lot

Staff
28,219 Points
2014-12-29 1:50 pm
Hello Hello,

I checked the site you referenced and all links seem to be working fine. They are not returning to the main page as you described. Were you able to correct the situation? You only need to use one of the methods above, not all of them, though I do not think using more than one will have any adverse effect.

Kindest Regards,
Scott M
n/a Points
2014-12-29 1:57 pm

Thank you Scott, 

I reversed the process, and now it is back as it was before. Let me explain the problem in details:

1. My website is (envymestudio.ro) which is an html site.

2. The WP Blog is at the adress: envymestudio.ro/videochat_bucuresti/

the posts are like this: envymestudio.ro/videochat_bucuresti/post1

What I want to do is to keep the current location of wp installation which is envymestudio.ro/videochat_bucuresti/ but to show the posts like envymestudio.ro/post1

This is the problem. How can I do that? 

Thank you very much.

Staff
28,219 Points
2014-12-29 2:20 pm
Hello Alex,

I understand now. I checked with our WordPress expert and he gave me one solution. The solution will below does have a caveat. You will lose the main wordpress page. So, if you do not need that page, then this should work for you.

1) Set your WordPress URL in the General Settings to simply the domain name (envymestudio.ro). (Note: Leave the WordPress URL as it is).

2) Next, go into your .htaccess file in the root of your WordPress and change the following line:
RewriteRule . /index.php [L]


To the following:
RewriteRule . videochat_bucuresti/index.php [L]


Then you should be able to access the posts in the format you mentioned: envymestudio.ro/post1

This worked with our test server. Please let us know if you have any further questions.

Kindest Regards,
Scott M
n/a Points
2014-12-29 2:32 pm

1) Set your WordPress URL in the General Settings to simply the domain name. (Note: Leave the WordPress URL as it is). 

 

Change it or leave it as it is?  

Staff
25,386 Points
2014-12-29 2:39 pm
Hello Alex,

Scott said, "My apologies!" He meant to say change the bottom one (site address), and leave the top one (Wordpress Address) alone. Our apologies again for the confusion!

Kindest regards,
Arnel C.
n/a Points
2014-12-29 2:48 pm

Changed it the way you said, now when I click on the post links like e.g. http://envymestudio.ro/studiouri-videochat-bucuresti/ (<-- this is a post) it bounce back to envymestudio.ro

PS: after i changed that in general settings, in .htaccess of the wp it was already modified.

 

Staff
28,219 Points
2014-12-29 3:50 pm
Hello Alex,

Check one more thing to be sure. Ensure that your PermaLinks are set to Post Name. Give that a try. Those are all the changes our WordPress expert needed to make on a fresh install in order for it to function. If it still does not work, there may be other things interfering within the htaccess. Do you have other lines in the htaccess beyond the basic WordPress setup (about 6 or so lines)?

Kindest Regards,
Scott M
2014-12-29 4:39 pm
That's it Scott,

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

# END WordPress
Staff
28,219 Points
2014-12-29 4:47 pm
Hello Alex,

Are there any other WordPress sites on the account? That could cause issues as the htaccess files may conflict. From what I have seen, this is not the case, however. I asked our WP Expert and other than the instructions we gave you, he does not know of another way to do what you are asking. There also seem to be no plugins that offer that functionality. As it did work with our test server, it seems it can be done, but there appears to be something on your account that is interfering with the process. Did your hosting support have any suggestions?

Kindest Regards,
Scott M
2014-12-29 4:50 pm
I have another htaccess on root directory, which belongs to the html site, i will post the content of it:

RewriteCond %{HTTP_HOST} !^envymestudio\.ro$ [NC]
RewriteRule ^(.*)$ http://envymestudio.ro/$1 [R=301,L]
ErrorDocument 404 /error
RewriteRule ^error$ / [R]


## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

i removed this --> RewriteRule ^(.*)$ http://envymestudio.ro/$1 [R=301,L] --> and now when I click to a post, it takes the new path but it can not find the post.

Staff
28,219 Points
2014-12-29 6:24 pm
Hello Alex,

What happens if you rename the .htaccess file in your main site? Does the WordPress work then?

Kindest Regards,
Scott M
2014-12-29 6:29 pm
i changed the name of .htaccess from the main site. Now it does not redirect anymore. The permalinks are shown correctly e.g. envymestudio.ro/post1 but it returns 404 on the post.
Staff
28,219 Points
2014-12-29 6:47 pm
Hello Alex,

You may want to return the settings to their original state now. We are at a loss as to why it works for us but not on your server. You may want to check your hosting support to see if they have any ideas about their specific environment. They may know something we don't about their side. Without being able to play with the code on your server, we are unable to assist any further. Apologies our tips did not work out on the site.

The only other thing I can think of is to see if disabling plugins may have some effect. Once you can get it to work, you would be able to re-enable them one at a time to see if there is one that is interfering somehow. I do not think this is probable, but it is worth checking out as a last resort.

Kindest Regards,
Scott M
2014-12-29 7:23 pm
PROBLEM SOLVED

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

Thank you guys for support :) You gave me some ideas about what was not working.

Have a good day Scotty :)
Staff
28,219 Points
2014-12-29 7:57 pm
Hello Alex,

What a find! It looks like we will be adding more information to our WordPress knowledge base. Thank you for your patience and we are so very glad a solution was found.

Kindest Regards,
Scott M
n/a Points
2015-01-03 11:26 pm

Thanks for the info.

 

I am moving my website to a new domain,  same server.  I have purchased my new domain that I want to change my old domain to,  after following the steps do I need to edit the NS for new domain? 

 

Thanks

Staff
28,219 Points
2015-01-05 12:59 pm
Hello Robert,

If the new domain is not yet pointed to our server, then you will want to change the information so that it points to our name servers.

Kindest Regards,
Scott M
n/a Points
2015-01-13 6:02 pm

Hi,

I have recently removed a plugin that caused the site not load properly, following that I am unable to login to admin, but am redirected to http://www.example.com/wp-admin in stead of http://www.thelaptopdirectory.com/

Would appreciate any assistance.

Thanks

 

Staff
11,186 Points
2015-01-13 6:06 pm
Was your site ever on that previous domain? What was the plugin that you removed? Do you have any additional information inside your .htaccess file?
n/a Points
2015-01-23 6:50 am

i have four mail id i want to link with my site. when any person will register on my site

than notification should come on my four mail id 

Staff
28,219 Points
2015-01-23 11:12 am
Hello Sandeep,

This article covers how to change your URL settings in WordPress. I also am not quite understanding what you are asking. Please be more specific and give as many details as possible, but ask a new question so that it keeps the Support Center topics organized.

Kindest Regards,
Scott M
n/a Points
2015-01-27 1:45 am

Hello Sir,

 

 Actualy i am asking of you. we are four friend we want if any buddy will register on my site that time notification should come on me and friend mail id. if any buddy will comment ya any type of document will upload on my site if any buddy will ask any question notification should come me and my friend mail id. this i want how can i do that have you any type of please give me answer

Staff
11,186 Points
2015-01-27 10:02 am
Unfortunately, your question is very hard to understand. Could you clarify exactly what you are trying to accomplish?
n/a Points
2015-01-27 1:49 am

Hello sir,

 

Actuly i am asking of you if any buddy will register on my site that time notification should come on me and friends mail id.

Staff
25,386 Points
2015-01-28 12:20 pm
Hello Sandeep Kumar,

If you're using WordPress there are several plugins that you can obtain such as Stream that will notify you when an activity has occurred on your site. Check out and see if that doesn't meet your needs for notification.

Regards,
Arnel C.
n/a Points
2015-01-27 11:49 pm

I think what he is trying to say (ask) is this:

There are four of us who are friends running our site. We would like the site to send a notification to all four of our email addresses whenever an activity e.g., comments, posts, uploads or a new user registers on the site. 

I hope this helps.

Staff
25,386 Points
2015-01-28 12:19 pm
Hello GoodOlJoe,

If you're using WordPress there are several plugins that you can obtain such as Stream that will notify you when an activity has occurred on your site. Check out and see if that doesn't meet your needs for notification.

Regards,
Arnel C.
n/a Points
2015-01-29 5:06 pm

Actually, your answer to this  belongs to 'sandeep'. 

It was not my question, I was just helping you to decipher it. ;)

and You're welcome!

n/a Points
2015-02-02 2:18 pm

Hi. I'm hoping this is a simple request....I want to change my homepage from www.example.co.uk to www.example.co.uk/detox-juice-diet, for SEO purposes, without changing any file locations. Is it as simple as changing the site address in General Settings please? I'm sure I did this before with another website years ago and it caused major issues! Any help would be appreciated thank you :)

Staff
25,386 Points
2015-02-02 4:45 pm
Hello Marcelle,

Thanks for the question. You should be changing it with a 301 re-direct, if you're concerned about SEO. If you're moving the site, then make sure to review the following articles: Moving WordPress into a new folder. Also consider the WordPress Codex article on moving WordPress. I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.

n/a Points
2015-02-18 10:58 am

Hi Arnel,

Thanks for your reply. I've now changed the slug for the home page to http://www.example.co.uk/fresh-raw-juice-detox-diet-plans ;but we haven't ranked in the SERPS yet so I don't know if this will make any difference? Although, it sounds as though I should just do a 301?

 

Kind regards,

Marcelle

Staff
17,070 Points
2015-02-19 12:29 pm
Hello Marcelle,

Thank you for your question. For affecting your SERP position, I recommend using Google Webmaster Tools.

The official Google Webmasters Support site states: "If you need to change the URL of a page as it is shown in search engine results, we recommend that you use a server-side 301 redirect. This is the best way to ensure that users and search engines are directed to the correct page. The 301 status code means that a page has permanently moved to a new location."

Thank you,
John-Paul
n/a Points
2015-03-05 4:52 am

Hi,

 

I want to change my site url form http://richandclassy.com/wordpress_9 to http://richandclassy.com

However when i do so it comes up with 403 forbidden and i can't access my site.

Anyone know how this can be fixed? Ive tried changing it in general setings and inwp-config.php but to no success.

Any help on the matter would be appreciated.

Staff
17,070 Points
2015-03-05 10:43 am
Hello Zac,

Thank you for contacting us. A "403 Forbidden" error is typically caused by incorrect File permissions, or an existing rule in your .htaccess file is interfering with your code.

This is explained further in our guide on 403 Forbidden Error.

If you have any further questions, feel free to post them below.

Thank you,
John-Paul
n/a Points
2015-03-22 5:30 pm
Life saver. Thanks
n/a Points
2015-04-03 4:56 pm

Hello,I have changed the URL http://xyz.com > http://www.xyz.com from the admin panel, since then the domain doesn't work (frontend+backend).I have changed the field siteurl and home in my database: http://www.xyz.com,add the define line (WP_HOME+WP_SITEURL) in wp_config.phpNothing change.Help me!

Staff
25,386 Points
2015-04-03 7:58 pm
Hello Sergio,

If you are a customer with InMotion Hosting, the "WWW" link is actually a cname (or alias) for the domain, so regardless what people enter in the browser, it will resolve to your domain name. If you want to force the WWW in WordPress you will need to make a change in the .htaccess file. Check out this post in the WordPress support forums for the steps in how to do this.

If you have any further questions or comments, please let us know.

Regards,
Arnel C.
n/a Points
2015-05-29 4:48 am

Hi there,

Firstly, I have to inform you that I'm a complete newbie. I've only done one WP site before, and encountered the same problem then too. When I tried getting the /wp off my site's url, my entire site went into full spaz and I had to get one of my super coder buddies to figure out what I did. It even took him a while. After that horrific experience, I'm VERY hesitant to fiddle around.

My problem is with the basics of just moving the wp files to a new directory. Where do I create this new directory? (I'm using cPanel, btw)

I've tried your steps on using PHPMyAdmin, above. And it makes total sense in my head, but when I do it, the site just gives errors. I have also obviously tried changing the url in the wp dashboard. And, I'm DEFINITELY NOT going to go into the site's code. 

Your tutorials are laid out pretty clearly, I'm just not getting it right.

Help, please? 

 

Staff
4,061 Points
2015-05-29 9:23 am
Hello Orlitza,

The easiest way to do this is actually in the wp-config.php file of your wordpress website. you would place the following code in that file:

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

Best Regards,
TJ Edens
n/a Points
2015-06-13 7:02 pm

Thanks a lot Jacob,

I've just stood up after falling by unknown.

n/a Points
2015-06-24 10:54 pm

I am trying to create a test site for my WP site. I have followed what I thought to be all the steps in creating a new DB, copying files, chnaging URL in phpMY Admin ...all the steps and have done this now 4 times. I have also watched and rewatched Jeff's video (wich is very good by the way). Each time after completing all the steps, I try to bring up my test site and I get directed to a WP page that first asks to select a language and then asks me to enter the site name, url etc. Bottom line, is I am not getting a test site that is a clone of my live site...I get a blank page.  I must be doing something worng but heavens knows what...

I am a novice (newbie) at this BTW. Thx

Staff
17,070 Points
2015-06-25 2:59 pm
Hello Alan,

Thank you for contacting us. We are happy to help, but will need some additional information. When you are being redirected to the WP page, what is the URL? The original site or test site?

Have you enabled WordPress debugging? With debugging turned on, it is much easier to locate any errors within your WordPress site as well as any plugins and themes that may be causing errors.

Have you gone through the common WordPress Treoubleshooting techniques guide? This will often help determine if there is a plugin/theme issue going on.

Thank you,
John-Paul
n/a Points
2015-06-25 5:49 pm

Thank you John-Paul.  I will have to check to see whether I have enabled debugging. I have not yet gone through the troubleshooting techniques but will look there.  The test URL is testsite.endgame-success.com and the live site is endgame-success.com.  Thank You

Staff
17,070 Points
2015-06-25 7:06 pm
Hello Alan,

Thank you for contacting us. Since it is not hosted on our servers, I do not have access to check anything. But debugging mode should definitely help in the troubleshooting process, since I too am seeing a blank screen.

A blank screen often is suppressing the errors.

Thank you,
John-Paul
n/a Points
2015-07-01 2:39 am

Thanks dear , your post such a very good . After  reading this post my problam resolved and the major benifit of this post is that there is no dependancy on datbase to change siteurl.

n/a Points
2015-07-09 3:00 pm

When I go to my settings --> general, there is nothing that says "WordPress address" or anything close. Is this something that is only available in Premium? I have paid for a domain but accidentally chose the wrong site url than what I wanted and I would like to change the url to what I wanted originally.

Staff
17,070 Points
2015-07-09 6:59 pm
Hello TF,

Thank you for contacting us. This is standard in every installation of WordPress. When you login to the WordPress dashboard, and click Settings you should see both:
WordPress Address (URL)
&
Site Address (URL)

You should then be able to replace the existing URLS, such as: http://example.net

If that is not working for you, then use one of the other 3 options explained above.

Thank you,
John-Paul

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

93 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!