How do you incorporate a Wordpress blog onto an ecommerce website?
-
Hello there,
We have a company website: http://www.parklanechampagne.co.uk/ and a Wordpress blog: http://www.alastairharrison.me/ and I would like the blog on the subfolder http://www.parklanechampagne.co.uk/blog so that we get maximum SEO benefit from updating this regularly (I understand this would be better than putting it on a subdomain blog.parklanechampagne.co.uk?).
The Wordpress blog is hosted externally but I was after some advice on how we can move this blog to the parklanechampagne/blog subfolder?
Any help gratefully received - I've asked several SEO and web agencies this question and had a lot of contrasting replies!
Many thanks, Jon
-
If it's done correctly and Google sees it as if it lives in the subfolder, then yes - it's perfectly fine for SEO. This is a technically tricky solution, though, and would really depend on the capabilities of your hosting provider.
-
Hi Andrea, thank you for your comments - I'm definitely keen to avoid anything to painstaking and most importantly, costly! Jon
-
Thanks Ben, I feel this is good advice also safer, quicker and easier to run a blog in its native environment. Cheers, Jon
-
Hi Peter,
Many thanks for sending those two links over - I'm leaning on perhaps setting up a new .net blog so that it'll be easier to integrate with our site.Regarding your last point, it we run the current Wordpress blog on a separate server and make it look like it "lives" on a subfolder would it still have the same SEO benefit?
Cheers, Jon
-
The php-compiler.net blog article about running php on a .net platform is interesting, but wherever possible its always better to run applications in their native environment.
-
As someone who is currently dealing with the making a WP blog look like it lives on a subdomain, I will agree with Dr. Pete that it's very tricky.
-
Hi Jon,
Thank you for your feedback, its much appreciated and I'm glad I could assist. To answer your question, a blog can be written in any server-side language (PHP, .net, Clasic ASP, Ruby etc).
You will often find that .net hosting will be more expensive as opposed to php.
-
I can't vouch for these tactic, but there are ways to port WordPress to .Net. For example:
http://www.php-compiler.net/blog/2011/wordpress-on-net-4-0
http://sourceforge.net/projects/wordpressnet/
It might be better to go with a .Net-native app, but it's not completely impossible to run WordPress.
Can they set up a reverse proxy? You could theoretically run the current WordPress blog on a separate server, but then make it look like it "lives" on a subdomain or subfolder. It's a bit tricky, but it's possible.
-
Dear Peter, Andrea and Ben. Thank you all for taking the time to help answer my query. The points re security are valid and also Ben, thank you for your step by step response - much needed by an SEO novice!
However, I spoke to my web agency today and they have told me that they can only run .net blogs on their server and not .php which our current Wordpress blog is written in : ( Does anyone know of any blogs written in .net?
Thank you once again, Jon
-
It's probably true that the subdomain approach is easier, but I lean toward the subfolder these days - it's possible for subdomains to fragment in some cases and not pass all authority to the root domain. The subfolder can help preserve that inbound link value.
Ben and Andrea's comments about the difficulty of subfolders and potential risk of integrating WordPress on to your main servers are certainly valid and worth considering. I'm definitely not an expert on WP migration, and there's more than one way to achieve it. It's possible to actually keep the WP installation on a separate server and then make it act as if it "lives" under the "/blog" subfolder with a reverse proxy, but that's pretty complex:
http://www.apachetutor.org/admin/reverseproxies
No matter which route you go, keep in mind that you'd need to 301-redirect all of the old URLs to either the subdomain or subfolder version. Simply moving the WP installation won't migrate the inbound link-juice or traffic. Both visitors and spiders need to be redirected to the new URLs - that's absolutely critical.
-
Thank you Andrea. You've also made some good points as well. Obviously storing WordPress on a sub-domain would seem to be the safest option if the website is an e-commerce site, but having WordPress stored in a separate database really would be a necessity. The last thing you'd want to happen is for their WordPress blog to be hacked and data to be deleted from the blog and the e-commerce system simultaneously.
As far as WordPress vulnerabilities go you need to ensure you use trusted and highly used plugins. There is a plugin called WP Security Scan (http://wordpress.org/extend/plugins/wp-security-scan) that might outline ways you could secure the blog.
If WordPress security is a potential concern here are a few things I would recommend doing (or getting your hosting company to do for you):
1: Password protect the wp-admin directory with a .htaccess fileBy password protecting the WordPress admin area, if a malicious user tries to access your WordPress admin area login page to launch a brute-force attack, or any other file which resides in the wp-admin directory to send a harmful crafted HTTP request, he is greeted with a server side login prompt and no direct access to WordPress files is possible. Something like this should do, but feel free to suggest improvements:
_ AuthUserFile /etc/httpd/.htpasswd__ AuthType Basic__ AuthName “restricted”__ Order Deny,Allow__ Deny from all__ Require valid-user__ Satisfy any_2: Change the wordpress table prefix from wp_ to something else.This will make sure that a malicious user cannot insert wp_<table_name<strong>> into their scripts to compromise the database.</table_name<strong>3: Install and use the Login LockDown plugin to restrict failed login attempts (brute force attacks) http://wordpress.org/extend/plugins/login-lockdown/4: Don't use 'admin' account and use strong passwords.http://www.safepasswd.com is good for generating strong passwords if required.
5. Restrict access to /wp-admin to known IP addresses (Public Home IP and a Public Work IP for instance)
Put a .htaccess file in /wp-admin with the following:
Order Deny,Allow
Deny from all
Allow from xx.xx.xx.xx
Allow from xx.xx.xx.xxYou can use whatismyip.com to file the ip addresses you want to use and just update it as necessary
-
I think Ben outlines some great, actionable steps - there's one word of caution I'll throw out and that it's not necessarily that easy, depending on how your back end is set up.
I recently looked at something similar, and because of issues hosting WP (with PHP) on our server, we had to worry about hacking and the integrity of our shopping cart checkout system being vulnerable. So that wasn't a viable option to set it up as a sub folder and we had to look at a subdomain and pointing Apache at WP. (I don't want to bore you with all the technical vetting we went through, just suffice to say that theory and reality don't always go hand-in-hand.)
-
Personally I would say that having the WordPress blog as a sub-domain would be the simplest and easiest option available to you, you could always have links from the WordPress blog on the sub-domain pointing to content on parklanechampagne.co.uk to pass on some link juice from the blog.
In terms of moving the content across you would need to do a database export of the wordpress blog (if this is possible) you could always do this using WordPress Database Backup plugin (http://wordpress.org/extend/plugins/wp-db-backup) and send the .sql file to an email address.
You would then need to open the .sql file and do a find/replace on "http://www.alastairharrison.me" (note, no / on the end) and replace it with "blog.parklanechampagne.co.uk". Then you can import that .sql file into the database for your main website. If possible I would create a separate database for the blog on parklanechampagne.co.uk just to keep things nice and tidy.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Title and Description for blog pages
Hello, Could you please help me figure out how to create title and description for my website blog's pages? And for projects' pagination (third example below): https://www.titanpavers.com/blog/page/3/
Technical SEO | | VELV
https://www.titanpavers.com/blog/page/4/
https://www.titanpavers.com/projects/page/2/ Thank you!0 -
Why DA of my website is not increasing
Hi, Everyone.
Technical SEO | | Lauragabriel
I hope you are well So my question about Moz DA. I would like to ask that I have increased the content on my website which is related to Best Machete. I've done all the things that Google asks us to do for ranking and I'm avoiding wrongdoing. So what else do I need to do to increase Moz DA of my website?
So Please, If any one know also guide me, I would be grateful to him/her.0 -
Duplicate blog - will it be ok to do so
Hello, One of our client is interested in creating a duplicate blog under a new URL. We told them about Google penalizing the new blog since it would have duplicate content. Will it be ok to go ahead with the plan ? Their response was there are multiple news sites that carry the same stories. So, they said that it won't matter. Cheers
Technical SEO | | Johnroger0 -
Ecommerce and Secure Checkout
We made changes several months ago trying to become compliant with Google Trusted Stores. This change effects our secure checkout. Here is an example website:www.froggysfog.com once you go to checkout:
Technical SEO | | marketing_zoovy.com
https://www-froggysfog-com.app-hosted.com/c=gbY1kT9hZx1OJrCN07bHz3tTy/s=www.froggysfog.com/checkout.cgis
Once you have gone to checkout all the links are changed:
https://www-froggysfog-com.app-hosted.com/category/10-fluid.10-fog/ I know I can remove the session ID in webmaster tools, but I'm not sure what else I should be doing to ensure that these links are not indexed. We have the robot.txt set up to not index anything in checkout or that is on secure: http://www.froggysfog.com/robots.txt However, due to the entire url change when on secure. I'm wonder if I need to set up in webmaster tools to exclude any url with app-hosted.com or if there is a better option. thank you0 -
Big Mess - Multiple Websites
I have a customer, a Psychologist, who put up +/-20 websites many years ago. He has 1 main site (with his name as the domain) with hundreds of pages of quality content. The other sites are all exact match domains - anxiety counseling, couples counseling, etc. Some are single page sites, others have a good amount of quality content. Many of the EMD sites were getting ranked on the first page, as was the main site. The money site was ranking on the first page for the best keywords All of the EMD pages linked back to the main site, many with site wide footer links. The main site did not link back. All of the sites are on the same IP address. These sites have been in place for years. I don't believe that he has a duplicate content problem. About 8 weeks ago, the rankings for the main site crashed, moving 10 or more SERP pages deep. The EMD sites are still ranking. He has not gotten any nasty-grams from Google in Webmaster Tools. The Psychologist relies exclusively on organic for his business, and it has taken a significant hit. 1. Has anyone else seen this happen? 2. Is it safe to assume that Google finally nailed him for using a linking scheme? 3. How can we unwind this? The other sites are still generating business, and if those go away, he is really screwed. 4. Will taking down all of the links from the other sites be enough? Would moving the money site to another hosting company on a different IP make a difference? Ideas? I think the white hat answer would be to take down the EMD sites, and 301 redirect to the main site. The problem is that the loss of business from this process could be catastrophic.
Technical SEO | | CsmBill0 -
WordPress post indexation speed
Has anyone noticed any increases in the length of time it takes for WP posts to get indexed by Google? I have a website with the following: domain.com - CMS with lots of pages/content blog.domain.com - subdomain for the blog using WP It's odd.. the pages on the main site are indexed almost immediately. The posts on the blog are taking between 2-5 days. The blog posts are all unique content, here's an example of a recent one: blog.looksfishy.co.uk/2013/three-rivers-angling/
Technical SEO | | edwardlewis0 -
Websites not being included on google from mobiles?
Hi, Just had a call from a guy saying that google have made a statement saying that it will be stopping people finding websites from mobule devices if they dont have a mobile domain name. Doesn anyone know anything about any Google statements or is this just rubbish?
Technical SEO | | Ant710 -
What should be noindexed on a Wordpress blog?
I know this can be a "it depends" answer so I'll try to explain. Qualifications on your answers would be great. I use the Wordpress architecture for myself and clients on sites and blogs. Almost every business site we create has a blog and I'm always working to improve results on them. My strategy has been the following: Categories: General, main content types, general keywords. Index, follow Tags: Very specific, post specific, may only be used once for one post. My categories have descriptions that are displayed on the category pages with excerpts. Tags rarely have a description but are displayed with excerpts on the page. My idea has been to index the categories to crawl the content and they have unique content by showing the category description. Tags shouldn't be archived because they may be all over the place and may have only 1 post with no tag description. I'm trying to reduce duplicate content but I don't want to limit results for my clients and myself. Should I set tags to noindex, follow or should I have them indexed? The only thing I'm thinking with having the tags indexed is that I may be able to get additional traffic through the more specific tags (i.e. tag = meta tags, category = SEO).
Technical SEO | | JaredDetroit0