Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Linking domain to wordpress

Featured Replies

Ok, so I have been building my wordpress site for a few days so it's fair to say I am still very much a novice!

 

The site is looking ok but I can only access it through http://localhost:8888/wordpress%202/

 

I have the domain www.german-auto.co.uk which I would like to link to this site but can't seem to find a way.

 

Any help would be great!

 

Thanks

  • Author

Hi, thanks for the reply. I currently use MAMP to host the site, is it possible to link it to that? If so do you know how?

 

Thank you

If you're only running it on your computer you really won't be able to link it anywhere else apart from your local machine/computer. For your domain and wordpress to link you'll need a web host you can probably get a cheap web hosting, if you visit the hosting thread on the forum.

  • Author

Hi, thanks for the reply. I have web hosting with 123reg but every time I ask them they tell me I need to change the name server but I dont have one as mamp is a local host.

Any ideas how else I can do this?

 

Thanks

As I said in my previous reply that you have to have a web hosting *not locally*. You have you buy a web host let say from heart internet, freezone, godaddy and etc. Your MAMP is only for development purposes, if you want your wordpress to be found on the internet and by others then a web hosting is required.

Hi, thanks for the reply. I have web hosting with 123reg but every time I ask them they tell me I need to change the name server but I dont have one as mamp is a local host.

Any ideas how else I can do this?

 

Thanks

 

I don't think 123-reg understand the problem, you do not need to change your name servers. Unless your domain is registered elsewhere, then you will need to change your name servers to 123-reg, but that is not entirely accurate because you could just point an A Name to your 123 reg hosting.

 

Before that is done, you need to export your database from your MAMP's PHPMYADMIN and then go to your hostings PHPMYADMIN and import the SQL file. You will then need to find and replace the URL's by running the query below.

UPDATE wp_options SET option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl');

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl');

UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');

Then you need to use FTP or GIT to transfer your files from local to your hosting environment.

 

All should be complete.

 

FYI, developing with Wordpress can get tiresome with a live website. I would advise getting Migrate DB PRO to keep your local database up to track your live database. You cannot use 1 database unless you point your local files to your live db, which is not advisable.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.