WordPress.org

Ready to get started?Download WordPress

Forums

cambiar la url del navegador (9 posts)

  1. ander uraga real
    Member
    Posted 1 year ago #

    cambiar la url del navegador
    Si existe algun hilo con la solución a este problema,pido perdón por duplicar el tema pero no he encontrado la solución, ruego que me añadan el link a la solución.
    Mi pregunta es la siguiente:

    Si tengo un dominio comprado digamos 'midominio.com', pero la instalación de wordpress lo tengo en otro sitio diferentes digamos 'www.miotrositio.com/wp', ¿ como hago apra cambiar la ulr del navegador ?
    quiero que salga midominio.com en vez de http://www.miotrositio.com/wp

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    These are English language forums. Please use English.

  3. ander uraga real
    Member
    Posted 1 year ago #

    Sorry i think it was Spanish forum.
    change the url of the browser
    If there is any thread with the solution to this problem, I apologize for duplicating the issue but have not found the solution, please let me add the link to the solution.
    My question is this:

    If I have purchased a domain 'midomain.com', but what I have installed wordpress in different host 'www.miotherhost.com/wp/', how can I mantain(hold) the ulr browser for not change to 'www.miotherhost.com/wp/'?
    I want 'midomain.com' without change to 'www.miotherhost.com/wp/'.

    Sorry by my english :-(

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    See Changing_The_Site_URL for details of how to do this.

  5. ander uraga real
    Member
    Posted 1 year ago #

    I try with the second method: "Edit functions.php"
    But doesn´t work:

    update_option('siteurl','http://pymes-solutions.com/ssswp/');
    update_option('home','http://surfsearchspot.com/');

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    No - both urls need to point to the same domain name.

  7. ander uraga real
    Member
    Posted 1 year ago #

    then how can change the url?, if i want:

    "http://pymes-solutions.com/ssswp/" to "http://surfsearchspot.com/"

    My domain name is "surfsearchspot", but the wordpress is hostted in "pymes-solutions.com/ssswp/"

    sorry for my ignorance

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    Add:

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

    to the bottom of functions.php

  9. ander uraga real
    Member
    Posted 1 year ago #

    I try after initial "<?php" and in the bottom, but doesn´t work

    you can try:

    surfsearchspot.com
    http://pymes-solutions.com/ssswp/

Topic Closed

This topic has been closed to new replies.

About this Topic