SEO question regarding rails app on www.site.com hosted on Heroku and www.site.com/blog at another host
-
Hi, I have a rails app hosted on Heroku (www.site.com) and would much prefer to set up a Wordpress blog using a different host pointing to www.site.com/blog, as opposed to using a gem within the actual app.
Whats are peoples thoughts regarding there being any ranking implications for implementing the set up as noted in this post on Stackoverflow:
"What I would do is serve your Wordpress blog along side your Rails app (so you've got a PHP and a Rails server running), and just have your
/blog
route point to a controller that redirects to your Wordpress app. Add something like this to yourroutes.rb
:_`get '/blog', to:'blog#redirect'`_
and then have a
redirect
method in yourBlogController
that simply does this:_`classBlogController<applicationcontrollerdef redirect="" redirect_to="" "url_of_wordpress_blog"endend<="" code=""></applicationcontrollerdef>`_
_Now you can point at
yourdomain.com/blogand it will take you to the Wordpress site._
-
Hi Kane, thanks for that. After a fair bit of trawling the internet I eventually found the article below which provides a great way of doing what I wanted. For anyone else with an application built on rails (of which I'm sure there are quite a few!) then the following might make a lot of sense to those wishing to utilize the benefits of a Wordpress blog platform: https://medium.com/@parterburn/wordpress-inside-a-ruby-on-rails-app-c324fbf39ad8
-
I don't understand how the Rails side of things work, but as long as the Wordpress URLs resolve to www.site.com/blog, and canonical tags reflect that, then you should be good.
For app companies where there won't be many links accumulated to the app itself, we often recommend running a complete Wordpress website at www.mysite.com, and running their actual app at app.mysite.com. This allows for easy content management by the marketing team, and marketing projects don't require lots of developer resources to get implemented. Not saying you should do this, but it can simplify things from a marketing & IT perspective. If there's a public facing version of the app, for example how Moz allows pages like https://moz.com/researchtools/ose/ to rank, then it can make more sense to run everything on a single subdomain.
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
-
Question about Indexing of /?limit=all
Hi, i've got your SEO Suite Ultimate installed on my site (www.customlogocases.com). I've got a relatively new magento site (around 1 year). We have recently been doing some pr/seo for the category pages, for example /custom-ipad-cases/ But when I search on google, it seems that google has indexed the /custom-ipad-cases/?limit=all This /?limit=all page is one without any links, and only has a PA of 1. Whereas the standard /custom-ipad-cases/ without the /? query has a much higher pa of 20, and a couple of links pointing towards it. So therefore I would want this particular page to be the one that google indexes. And along the same logic, this page really should be able to achieve higher rankings than the /?limit=all page. Is my thinking here correct? Should I disallow all the /? now, even though these are the ones that are indexed, and the others currently are not. I'd be happy to take the hit while it figures it out, because the higher PA pages are what I ultimately am getting links to... Thoughts?
Intermediate & Advanced SEO | | RobAus0 -
I am being black hat SEO'd by another company. What should I do?
Hi There, I found out about 6 months ago that I have been getting black hat SEO'd by another company. There are around 350 spammy domains pointing to my home page and product page. I have disavowed a lot of them. Is there anything else I can do? http://bareblends.com.au/ http://bareblends.com.au/the-optimum-9400-blender Thanks!
Intermediate & Advanced SEO | | Oscarmj0 -
Content question about 3 sites targeted at 3 different countries
I am new here, and this is my first question. I was hoping to get help with the following scenario: I am looking to launch 3 sites in 3 different countries, using 3 different domains. For example the.com for USA, the .co.uk for UK , and a slightly different .com for Australia, as I could not purchase .com.au as I am not a registered business in Australia. I am looking to set the Geographic Target on Google Webmaster. So for example, I have set the .com for USA only, with .co.uk I won't need to set anything, and I will set the other Australian .com to Australia. Now, initially the 3 site will be "brochure" websites explaining the service that we offer. I fear that at the beginning they will most likely have almost identical content. However, on the long term I am looking to publish unique content for each site, almost on a weekly basis. So over time they would have different content from each other. These are small sites to begin with. So each site in the "brochure" form will have around 10 pages. Over time it will have 100's of pages. My question or my worry is, will Google look at the fact that I have same content across 3 sites negatively even though they are specifically targeted to different countries? Will it penalise my sites negatively?
Intermediate & Advanced SEO | | ryanetc0 -
Advanced SEO question.
Hi, I manage and do the SEO for this site: www.aerlawgroup.com. If you Google "Los Angeles Criminal Defense Attorney", you can see I rank well (1st page). I have managed to achieve similar rankings for interior pages within the site: www.aerlawgroup.com/domestic-violence.html (Google: "Los Angeles Domestic Violence Attorney".) Here is my question. No matter how hard I try, I cannot get to the first page on Google for the search term: "Los Angeles DUI Lawyer", for the following interior page: www.aerlawgroup.com/dui.html. Is there anyway that I can pass the authority/ranking (not sure what to call it) that I have for www.aerlawgroup.com to www.aerlawgroup.com/dui.html so that internal page ranks higher for "Los Angeles DUI Lawyer"? I apologize if my question doesn't make sense. In a nutshell, I'm trying to understand if there is anyway to use the ranking I have for www.aerlawgroup.com to help me rank higher for Los Angeles DUI lawyer for the dui interior page. If not, are there any other suggestions anyone has to achieve a higher ranking? Thanks!
Intermediate & Advanced SEO | | mrodriguez14400 -
Better SEO Option, 1 Site 3 Subdomains or 4 Separate Sites?
Hey Mozzers, I'm working with a client who wants to redo their web presence. They have a a main website for the umbrella and then 3 divisions which have their own website as well. My question is: Is it better to have the main site on the main domain and then have the 3 separate sites be subdomains? Or 4 different domains with a linking structure to tie them all together? To my understanding option 1 would include high traffic for 1 domain and option 2 would be building Page Authority by having 4 different sites linking to each other? My guess would be option 2, only if all 4 sites start getting relevant authority to make the links of value. But right out of the gates option 1 might be more beneficial. A little advice/clarification would be great!
Intermediate & Advanced SEO | | MonsterWeb280 -
The speed of my site do you agree with my hosting company
Hi my site is www.in2town.co.uk and i have to be honest i am not really happy at the moment. i took a huge gamble because my site was getting around 10,000 visitors per day but because the site was getting really slow as i was using the old joomla my hosting company suggested to me to use the modern version of joomla as i was using joomla 1.0 Now for months i said no but they said the site would remain slow until i updated it. I decided to take a gamble and as i was going to now move it to the new joomla i decided that i would redo the whole site and make it better which i am doing at the moment. But even though i am paying for a dedicated server and have done what they have said and using the new joomla and according to them they have refreshed my database the site is still running slow. If anyone could do a test on the site and let me know what speed they are getting. Below is the email i have sent to my hosting company and below is also the resonce that i am getting from them.- I would love to hear your feedback as i have taken a huge gamble and when i get back from spain i will be continuing the finish the site which will take me another week to complate and get it the way i want it. here is the feedback hi can you please look into my site www.in2town.co.uk as i am getting lots of reports that it is slow. we redone the whole site which i am still working on because of it being slow and you said that you cleared everything in my database so there was nothing there so we can start from scratch. when i started building the new site you said that the database would be like a brand new one but it seems that this is not working. what i mean by this is, we listened to you and got a dedicated server as you said this would make the site faster, this did not work, you said about redoing the site and using the latest joomla as this would make the site faster and after a lot of work we done this although we are still continuing to build it and as a result of this we lost lots of traffic and links and rankings but even though we done this the site is still slow. i have to be very honest with you, i am not happy and feel disapointed as the site is slow and i need this sorting out. i am in spain at the moment meeting clients ref the site and it is embarrassing when they say the site is slow so please can you look into this for me Hello, Thank you for contacting TMDHosting Technical Support Team. We have checked your current server load and it is below 1: top - 11:53:54 up 123 days, 9:47, 1 user, load average: 0.24, 0.12, 0.11 this is shows that the system is running fine. You have close to 1GB RAM free which provides enough resources for your scripts to function. As the server state is healthy the optimization of your website should be applied on its coding and main functions. This is a development related optimization and we do not offer development services at this point. If your developer recommends a server with more resources provide us with his/hers requirements and we will provide you with suitable solution. Should you have any further questions or comments please do not hesitate to contact us. Best regards, Gabriel Reed from me., i will have to have someone look into this as it may be a case that i will have to get rid of my dedicated server and take the sites to another hosting company and see the difference with them and see if the site is faster as no one else using joomla has the problems that i am having. can you let me know what speed the site is then, and then compare this against some other sites. for example, female first, claire hegarty.co.uk etc as when i do speed checks i am getting back over ten seconds and the site which is very small at the moment should not be more than 2 seconds Hello, Please note that even if you move the website to another hosting provider this will not change the reason because of which its speed is not as per your requirements. However it is up to you to explore different options. What we have ensured is that your server is not overloaded and it has resources for the functions on it to run. The optimization of your website coding I am afraid are outside of our technical the scope of our technical support. Additionally note that the loading speed of your website depends on huge number of other factors on certain remote locations which are not under our control. Should you have any further questions or comments please do not hesitate to contact us. Best regards, Gabriel Reed
Intermediate & Advanced SEO | | ClaireH-184886
Senior Support Team
TMDHosting.com If anyone can please comment on this and look at my site www.in2town.co.uk and test it for me on speed and advise me as i have done everything they have said and it seems that the site is no faster. There is not much content on there at the moment as they managed to lose over 20,000 pages of content while transfering it all which i am not happy about. So there should not be an issue on speed and now i am working through and putting some of the old content back on while writing new content0 -
Best way to host multiple sites for maximum seo
We have over 100 websites we built for clients that we currently host on 1 shared godaddy hosting account. They each have a link to us but since they are all under one shared account, we feel that we are not maximizing the inbound link potential. I've looked into c class hosting but found that either the ip's were flagged as spam, or they shared nameservers which defeats the purpose. I've also been told that since the c class ip's a hosting company gives to you are all owned by them, that also defeats the purpose. Anyone have any solutions besides opening 130 accounts with different hosting companies? Also, will it make any difference changing existing sites onto different hosts now or are they already tainted?
Intermediate & Advanced SEO | | seopet0 -
Local hosts for sites in foreign countries?
Hi everyone. I'm going to be launching localized websites in 5 different european countries (.de, .it. etc). Must I have a local host with servers in those countries or can I use a U.S. based host? WOuld having a U.S. based host hurt SEO?
Intermediate & Advanced SEO | | TexaSEO0