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 regarding Site and URL structure + Faceted Navigation (Endeca)
We are currently implementing the SEO module for Endeca faceted navigation. Our development team has proposed URLs to be structured in this way: Main category example: https://www.pens.com/c/pens-and-writing/ As soon as a facet is selected, for example "blue ink" - The URL path would change to https://www.pens.com/m/pens-and-writing/blue-ink/_/Nvalue (the "N" value is a unique identifier generated by Endeca that determines what products from the catalog are served as a match for the selected facet and is the same every time that facet is selected, it is not unique per user). My gut instinct says that this change from "/c/" to "/m/" might be very problematic in terms of search engines understanding that /m/pens-and-writing/blue-ink/ as part of the /c/pens-and-writing/ category. Wouldn't this also potentially pose a problem for the flow of internal link equity? Has anyone ever seen a successful implementation using this methodology?
Intermediate & Advanced SEO | | danatanseo0 -
10 quick questions for SEO experts!
Hey guys! I'm working to build something to make technical SEO audit less painful and I'd like to hear from other SEO experts. Can I ask you to answer this quick survey: https://mykoto.typeform.com/to/R5Gvyr THANKS!
Intermediate & Advanced SEO | | jbrisebois0 -
Domain.com/keyword1.keyword2.html vs doamin.com/keyword1-keyword2.html
I was doing some research and saw this url structure in a website that was not ranking well and can't help but wonder was the url structure part of the problem as well it looks like this with a period between keywords. domain.com/keyword1.keyword2.html and was wondering if that is acceptable for search engines as opposed to the normal dashes like this expample ... domain.com/keyword1-keyword2-keyword3.html I have never noticed a period to separate words in a url before. Anyone have any experience with this ? Is this going to hurt possible rankings ? Thank you in advance, Joe
Intermediate & Advanced SEO | | jlane91 -
Https://www.mywebsite.com/blog/tag/wolf/ setting tag pages as blog corner stone article?
We do not have enough content rich page to target all of our keywords. Because of that My SEO guy wants to set some corner stone blog articles in order to rank them for certain key words on Google. He is asking me to use the following rule in our article writing(We have blog on our website):
Intermediate & Advanced SEO | | AlirezaHamidian
For example in our articles when we use keyword "wolf", link them to the blog page:
https://www.mywebsite.com/blog/tag/wolf/
It seems like a good idea because in the tag page there are lots of material with the Keyword "wolf" . But the problem is when I search for keyword "wolf" for example on the Google, some other blog pages are ranked higher than this tag page. But he tells me in long run it is a better strategy. Any idea on this?0 -
Changing Hosting Companies - Site Downtime - Google Indexing Concern
We are getting ready to switch to a new hosting company. When we make the switchover, our sites will be offline for a couple of hours and in some cases perhaps as long as 12 hours while DNS is configured -- should we be worried about Google trying to index pages and finding them unavailable? Any fear of Google de-indexing pages. Our guess was that Google would not de-index anything after just a short period of not being able to find pages -- it would have to be over an extended period of time before GOOGLE or BING would de-index pages -- CORRECT? Just want to gut check this before pulling the trigger on switch over to new hosting company. We appreciate input on this and/or any other thoughts regarding the switch over to new hosting company that we may not have thought of. Thanks, Matt
Intermediate & Advanced SEO | | MWM37720 -
Doubt of multi country/language site
Hi ! We are building a site that is going to be available in some countrys with the same language (spanish), and we have some doubts about whih is the best way to do it. Option 1) Subdomains: Example; españa.mydomain.com , mexico.mydomain.com (the problem here is that there are some problems with linkbuilding with subdomains) Option 2) Language folders: Example; mydomain.com/es/es mydomain.com/es/mx (the problem here is that the prestige of the category in the url is going to be in 3rd position, example: mydomain.com/es/es/category and is not recommended for SEO) Option 3) Country domains Example; mydomain.es<a></a> mydomain.mx (the link building is going to be much more, cause we have to multipliate the links that we need ffor being in a good position with the diferent domains of each country) I am not sure of which one is the best option, what do you think? The only thing I am sure is to use te TAG: rel="alternate" hreflang="x" for not having duplicate content, because index and categories are going to be the same, the only thing that is going to change is the products of each country. Looking forward to your suggestions! Thanks, Regards Exequiel
Intermediate & Advanced SEO | | SeoExpertos0 -
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 -
Multiple blogs for seo
I have signed up for some rather expensive lawyer directories that have very high domain PR, 's of 6 or 7 . Some of these allow you to make blog posts or articles on their site which should be good for SEO because of the high domain PR. I understand that if I do a lot of posts on one of these blogs with links back to my site, I should rapidly reach the point of diminishing returns because they are all coming from the same domain. Therefore, I plan to mix up my blo posts betwee several of these sites and also rewrite them and post them on my own site's blog. My question is this, if I post on any of these sites and I link back to internal pages of my site, and not to the home page, does this offset the "diminishing returns" factor? Paul
Intermediate & Advanced SEO | | diogenes0