Hot answers tagged

9

This is because the URL settings inside WordPress are still pointing to the old WordPress site. In other words, you didn't read the Moving WordPress article in the documentation. If your WordPress admin pages are still working, you can go to Settings → General, and change the WordPress URL and the Site Address to the correct values. If your WordPress site ...


7

Shortly after, I was able to find Otto's tutorial on the topic. WordPress 3.0: Multisite Domain Mapping Tutorial


6

Apparantly this happens with the newer version of domain mapping because sunrise.php itself needs to be updated. To solve it I: Copy the new sunrise.php file from wp-content/plugins/wordpress-mu-domain-mapping/sunrise.php to wp-content/sunrise.php and you'll be fine. And it works now.


6

There's a pretty good step by step on moving WordPress in the Codex. It is what I follow when changing domains. Moving the files is pretty straight-forward. It is the hard-coded references in the database that are tricky. However, serialized search and replace will take care of all database changes. I've used the Velvet Blues plugin in the past, but ...


5

Are you wanting for the exact same WordPress site to work on two different domain names, where all links and content would use either domain name? If this were the case, you would run into Duplicate Content issues with Google, hurting your SEO pretty badly. That being said, you still would have a very hard time getting WordPress to properly load your ...


5

You would just need to use the multisite functionality now in WordPress, see http://codex.wordpress.org/Create_A_Network. Setup the site to use the subdomain install. You would then setup the main blog to be your site, ignoring the posts section for that site. Then setup a new site within the Super Admin menu and set the subdomain for the new site to be ...


5

Yes, you can. Follow this http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/


5

"example2.com sub1.example2com" Actually for subsites off of mapped sites, you want a multi network plugin. Free - http://wordpress.org/extend/plugins/wp-multi-network/ Paid - http://wpebooks.com/networks/


5

There are a number of ways to do this, Install WordPress on new host, export, then import post data (via Dashboard) XML file Install WordPress on new host, export, then import MySQL database file Use a back up plugin that allows you to clone your site from host-to-host (1:1) In both cases 1 and 2, you will need to; copy your theme file folder to your ...


5

I think you're confusing wordpress.org vs wordpress.com. If wordpress.com is what you're looking for, this isn't the place. Per the About page of WPSE, Don't ask about... WordPress.com support issues Now, if you're referring to using self hosted WordPress (wordpress.org) with a .edu domain, there are no limitation on domain extensions (afaik) and you ...


4

This question has been discussed several times on the WordPress Hackers email list, I'd recommend Googling something like wp-hackers absolute relative to get an overview of the various lively debates that have taken place over the years. Personally I use the searchreplacedb2 script whenever I migrate a database between URLs, e.g. from live to ...


4

I had a similar issue with another client, entering something like projects/project1 would error as the / would fail validation. After failing to find an override or filter, instead I found a loophole. If you make projectsproject1, then afterwards edit the site so its url is projects/project1 and save, update the homeurl etc, it works! You may need to make ...


4

Potential Issues Google's Page Speed service does not work with "naked domains". That is, it will not work with just "example.com". The domain name must have a subdomain in front of it, such as "www.example.com". This is due to a limitation on Google's implementation of the Page Speed service, which requires you to set up a CNAME record in your DNS. This ...


4

for reference, see also: How to use Multiple-Domains in one Multi-Site Installation? 301 Redirects for posts, category, pages from original domain to sub-domain of multisite Full Domain Mapping with WP3 in Multiuser Mode


4

I utilize the awesome plugin Duplicator to complete this exact procedure on a regular basis. http://wordpress.org/extend/plugins/duplicator/ The plugin is fully supported and there are great FAQ available here: http://lifeinthegrid.com/labs/duplicator/ The plugin will create a .zip backup of both your database and files and an installer .php that you ...


4

A simple constant WP_SITEURL could do the trick. I did worked on something similar to it. The difference is all of the domains were hosted on the same server and pointed to the root directory. The procedure i tried - Checked the host using $_SERVER['HTTP_HOST'] and Validated if it exist on the database. Comparing your needs, you could check this ...


3

If you set domain.com as an alias of original.com, in WordPress you have to do nothing to make it works. The problem is the countrary: once in DNS the 2 domains are aliases, every url of your WordPress will be accessible via user defined domains: domain.com/any/wp/url, but also domain2.com/any/wp/url, domain3.com/any/wp/url and so on... So, what you have ...


3

Yes, instead of installing WordPress at root-- example.com/-- you'd create the "programs", "sales", and "learning" directories on the server and install a seperate WordPress instance in each directory. There is nothing special you need to do to make this work. I think you may end up happier if you create a network, though. Multisite, while not always ...


3

You can either use the SQL query or use the Velvet Blues WordPress plugin. Via SQL UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost/test/', 'www.yourlivesite.com/'); This will resolve the broken links and missing images issue.


3

You need to check if the siteurl differs from the home URL: if ( get_option( 'siteurl' ) !== get_option( 'home' ) ) { // whatever This also works if home is a subdirectory of the root, with WordPress installed in yet another subdirectory. For example: domain.com/blog (URL) and domain.com/blog/wordpress (siteurl).


3

If you want sections in a subdomain and in subdirectories, use a multi-site installation. See Create a Network and our tag multi-site. Then you set the the blog and the shop as separate sites, and the portfolio as a custom post type or as a regular page in the main blog.


3

Every thing you need is covered in the codex Moving WordPress entry.


3

If you don't want to redirect your users from example.com to example.wordpress.com, but really want example.com to be new domain name for your WordPress.com blog, you can buy Domain Mapping for $12 per year if you already have your own domain.


3

You will have a few things to consider (later on the answer), I suggest the following steps: Backup your Files and Database This is pretty self-explanatory. You are going to do a lot of Data Manipulation, so be sure your original is safe. Transfer your files The fastest way to do this is to have a hoster where you can import directories from another ...


3

I just did this on a client site. I set up my rules like this: RewriteEngine on RewriteCond %{HTTP_HOST} ^(.*)fsdegrees.com [NC] RewriteRule ^(.*)$ http://www.56degrees.co.uk/$1 [R=301,L] The first rule checks the incoming domain and verifies that it is the old domain. The second sends a 301 redirect and visitors are sent to the corresponding page on the ...


2

You don't need a rewrite rule in .htaccess to add www back in. Remove the rewrite rule, remove all the defines in wp-config and try to login. If that doesn't work, delete permalinks in .htaccess to force them back to default. After you're in, add the www in Dashboard>>Settings and save. Then reset permalinks.


2

Yes, Use the "Subdomains" plugin and you can do exactly what are you looking for :) http://wordpress.org/extend/plugins/subdomains/ Cheers Hasin


2

Yes, i think you can work with 3 different ways. use multisite and each blog in the network is an subdomain and his categories. Its great for maintenance and an default and also great for capabilities, no problems. Use an custom pluign on filter pre_get_posts() and list in dependence on the url the categories for this url, only this. Filter the categories ...


2

If I am correctly understanding your setup, you are using wordpress hosting now, but want to make your domain be a self-hosted copy of your blog 1) Export all your current blog entries/layouts/etc. 2) Change new domain not to forward to the existing blog. 3) Set up wordpress on your new domain 4) Import all your blog entries/layouts/etc. 5) optionally, ...


2

There are some instances of serialized data in the database, notably in things like widget options, that become invalidated if you do a blind search-and-replace without accounting for different string lengths. You might try a tool like this one to do a search and replace that also handles serialized data: ...



Only top voted, non community-wiki answers of a minimum length are eligible