• Hi all!

    I am in dire need of some help. I tried to update and change my company’s URL. I made an edit within the domain tab and then pressed submit. When I did this, it re-directed me to another site which was not mine. I then changed the URL back to the original and now the original site has 1. Not reverted back to its original form 2. Now I am not able to log into my admin account for some reason and it keeps telling me that it is invalid.

    I am in the process of just updating our website and that’s all I wanted to do. How can I get our site back to its original form and how can I log into my admin account? Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Was this in the general settings of WP that you made this change? Does the url your page is showing now have any differences in it from its original? Are you sure when you made the url change that it was completely correct?

    Thread Starter vishaalreddy1

    (@vishaalreddy1)

    It was in the domain settings of wordpress and the the URL is now searchinc.com, as opposed to, search-inc.com- this is what I want it to be. When I know type search-inc.com in a browser, the site is very different and some of the links are even linked to a different site.

    Thread Starter vishaalreddy1

    (@vishaalreddy1)

    Additionally, if I need to delete the site then that is alright. I honestly just need to domain name search-inc.com so that my new site can be linked to that. Thanks!

    When did you purchase the domain https://www.search-inc.com. Ive had a look and both domains are registered for completely different company’s?

    edit

    sorry what i meant to ask was do you own both domains?

    You could use WP constants to define your site.

    This is what I use but you can just hard code these to use your domain.

    Put this in your wp-config.php file.

    define('WP_SITEURL', 'https://' . $_SERVER['SERVER_NAME'] . '/wordpress');
    define('WP_HOME',    'https://' . $_SERVER['SERVER_NAME']);

    WP_SITEURL: WordPress location (mine is in a subfolder)
    WP_HOME: Site root

    Thread Starter vishaalreddy1

    (@vishaalreddy1)

    No I do not own both domains. I am the webmaster at my company and have just taken this over. We own the search-inc.com. The other one is a different site entirely.

    jpSimkins- I do not code a ton so can you elaborate on your post? Thanks!

    Great thank you for clarifying that. I wont lie to you. Its quite a serious problem but fixable. You have essentially told WordPress to use someone else ‘s website as the source for yours.

    So i can help please can you clarify which domain is the one you own. Secondly to log into the back end admin do you use ….com/wp-admin, something similar or is the website setup to redirect users away from back end log in (ie all users can only access back end through a front end login screen?

    edit

    by front end login i mean no one has to type a custom url into address bar to access the wp login screen

    In addition do you have access to an FTP of some description?

    Thread Starter vishaalreddy1

    (@vishaalreddy1)

    Hi! Sorry for the late reply but I do not have an FTP description. I use the following domain to log in: https://www.search-inc.com/wp-admin. Let me know your thoughts on this as I would love to fix it ASAP. Thanks again!

    Ok. Option 1

    First you need to download an FTP program like Filezilla.
    This program will allow you to access the files on your website directly from the database. You might need to get your username and login from your host provider first.

    Once you have connected, find your function.php file, right click and go to edit. Use a program like notepad for this.

    Immediately below the ‘<?php at the top of the page enter these codes:

    update_option(‘siteurl’,’https://www.search-inc.com&#8217;);
    update_option(‘home’,’https://www.search-inc.com&#8217;);

    This will allow you to access the admin side as normal using /wp-admin

    Save

    Upload the file back to the site

    Go to the admin login page (you might have to refresh several times.

    This next bit is important. As soon as you’ve got into the admin side you need to go back to the function.php file and remove the code you just added. Save and re upload.

    Option 2

    Completely wipe wordpress and reinstall im afraid.

    Thread Starter vishaalreddy1

    (@vishaalreddy1)

    Completely wiping it is honestly the best option since I have built another site on my own that I will be managing. If I cannot log in into my account, how do I get rid of the site?

    Best way to do that would be by contacting your host and get them to do it. Honestly try the first option first. Filezilla is quick and free to download and you won’t be loosing any data.

    Thread Starter vishaalreddy1

    (@vishaalreddy1)

    Okay great! By contacting the host do you mean www.ads-software.com? Or the person who created the site originally?

    @vishaalreddy1, by host, he means contact the hosting provider that you are using to host your site on.

    In your case i believe its network solutions inc

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘URL and Admin will no longer work. HELP!’ is closed to new replies.