Koozali.org: home of the SME Server

Changing url for wordpress

Offline peterhocking

  • ****
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Changing url for wordpress
« on: January 26, 2010, 12:42:29 PM »
Hi

I have a number of domains hosted on my SME server. On one of those domains, (not the primary one), I've installed the wordpress contrib which is now setup to my satisfaction. It can currently be access at www.mydomain.com.au/wordpress. I'd like to change it so that when people www.mydomain.com.au, they go straight to the wordpress installation.

Is there a way to do this or do I need to get the DNS for that domain edited?

TIA

Peter

Offline peterhocking

  • ****
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Re: Changing url for wordpress
« Reply #1 on: January 26, 2010, 12:46:15 PM »
To clarify further, if someone goes to www.mydomain.com.au, that it goes to what is currently www.mydomain.com.au/wordpress.

TIA

Peter

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Changing url for wordpress
« Reply #2 on: January 26, 2010, 06:55:30 PM »
To clarify further, if someone goes to www.mydomain.com.au, that it goes to what is currently www.mydomain.com.au/wordpress.
Perhaps you can point the domain as a virtual domain to the ibay. That should make it available as a toplevel domain.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline peterhocking

  • ****
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Re: Changing url for wordpress
« Reply #3 on: January 26, 2010, 10:13:50 PM »
Thanks for your reply.

How do I do that?

TIA

Peter

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Changing url for wordpress
« Reply #4 on: January 27, 2010, 09:57:42 AM »
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline peterhocking

  • ****
  • 90
  • +0/-0
    • Welcome to the Hockings at Canberra
Re: Changing url for wordpress
« Reply #5 on: January 27, 2010, 10:25:17 AM »
Thanks again for your reply.

I've had a a look at the domains panel in the server manager but I can't see how to make the changes  I need to.

At present my original website is located in an ibay, (VB), which that domain resolves to. If I click on modify, it lets me select which ibat I want the domain to resolve to, but does not let me change it to where it needs to be. R=The wordpress does not put anything into an ibay.

Can you tell me where I'm going wrong?

Regards,

Peter

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Changing url for wordpress
« Reply #6 on: January 27, 2010, 12:13:42 PM »
peterhocking

The contrib installs wordpress into /opt so pointing the virtual domain at an ibay is not sufficient. You would also need to put a redirect or link in the html folder that then points to your wordpress. Do an advanced search of the forums on link or redirect as this has been answered quite a few times before.

Alternatively you can move wordpress from /opt to an ibay. You would need to change the wordpress config files to suit.

There is another possibility in this howto, which points your domain at wordpress in /opt. Some people report that this method causes other odd issues, but for others it seems to work OK. This method is the specific answer to your query, see
http://wiki.contribs.org/Web_Application_Redirect_Tutorial
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline kryptos

  • *****
  • 245
  • +0/-0
Re: Changing url for wordpress
« Reply #7 on: January 28, 2010, 03:06:39 AM »
Hi

I don't know if this applies to you but it applies to me. Just recently I have the scenario as you. I don't have to modify SME  but you need to modify it's wordpress database. Check on this link it might help you.

http://codex.wordpress.org/Changing_The_Site_URL

P.S

My wordpress is located in an Ibay.