Support » Fixing WordPress » Changing URL for my entire WordPress website problems

  • Hello,

    I am new to web design and wordpress and am having real problems in changing my URL for the entire website. Here’s what I’ve done step by step.

    1) I created a fresh wordpress website last year for the domain called ‘’ using a friends reg123 hosting account

    2) However, I decided to create the website again using better tools so I started the website from scratch on my own reg123 hosting plan ‘’. However, I installed the website into the following directory ‘’ to keep things separated from my own website directory (the root).

    3) Finally the website is almost complete now but instead of using ‘’ we want to use the url ‘’

    4) Therefore I transfered the domain ‘’ from my friends hosting reg123 account and over to my own.

    5) In my reg123 control panel I made sure that the domain ‘’ has the same IP address as (

    5) Inside my themes functions.php file I added the required php code (listed here: I was logged out immediately when I refreshed the page.

    6) When I entered the url ‘’ it directed me instantly to ‘’. However, it’s loaded me back to the old site in step one so it is not using the directory from ‘’.

    I have tried a few times but have failed. If anyone has any ideas or could offer any help I would be very very grateful.

    All the best,


  • The topic ‘Changing URL for my entire WordPress website problems’ is closed to new replies.