Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 13, 20187 yr Hello, I have issue after I moved board to new server. The domain is change and after is everything moved, in the core the stylesheets redirects still to old domain. So forums look like crap with only the text. How I can fix that? Best Regads!
January 13, 20187 yr Author I got this: "Sometimes badly cached data can cause problems. We have cleared all cached data." But nothing is changed, it's still redirects to old one.
January 13, 20187 yr But nothing is changed, it's still redirects to old one. Then it is likely that the stylesheet has the domain hard-coded in to it. Post your site url.
January 13, 20187 yr Author Then it is likely that the stylesheet has the domain hard-coded in to it. Post your site url. Don't look like this, I have tried to search in files, templates and stylesheets. In database I found in "core_cache" the code who redirects to old one, but I can't change this because it will create new ("cache_key" with " cache_value ") one with the old one. On the default IPS theme is the same problem, even when this was not edited. https://forum.devicentrum.net
January 13, 20187 yr You say your site is https://forum.devicentrum.net So "moved board to another server" means what exactly? Changed FQDN too? Edit conf_global.php and set it right. Run the support tool again. If it doesn't resolve the problem then give the full picture....
January 13, 20187 yr Edit conf_global.php and set it right. Run the support tool again. That's the decision resources are on the new domain, example https://devicentrum.net/forum/uploads/css_built_1/341e4a57816af3ba440d891ca87450ff_framework.css.804d5c18bdabdb5443f4f17f5417a30e.css?v=047297c671
January 13, 20187 yr Author And here is the problem, conf_global.php is set to new domain: $INFO['board_url'] = 'https://forum.devicentrum.net'; It's set from the beginning, and running support tool doesn't help. I can run this tool all day So "moved board to another server" means what exactly? Changed FQDN too? Edit conf_global.php and set it right. Run the support tool again. If it doesn't resolve the problem then give the full picture.... What's FQDN? That's the decision resources are on the new domain, example https://devicentrum.net/forum/uploads/css_built_1/341e4a57816af3ba440d891ca87450ff_framework.css.804d5c18bdabdb5443f4f17f5417a30e.css?v=047297c671 Yes, the resources are on the new domain, but in the code redirects to old one who no longer exist. It looks like only folder "uploads" and all the file that's board is taking from old one, but why? When applications and other stuff are normal linked.
January 13, 20187 yr Is there a .htaccess file, or a configuration on your server, which is rediecting devicentrum.net to forum.devicentrum.net
January 13, 20187 yr Author Is there a .htaccess file, or a configuration on your server, which is rediecting devicentrum.net to forum.devicentrum.net RewriteCond %{HTTP_HOST} ^devicentrum\.net$ [OR] RewriteCond %{HTTP_HOST} ^www\.devicentrum\.net$ RewriteRule ^forum$ "http\:\/\/forum\.devicentrum\.net\/" [R=301,L] Only something like this on main folder Remove all files directory 'datastore' Done, nothing change then I run support again and nothing results. What do you mean by that?
January 13, 20187 yr Only something like this on main folder So you do have something redirecting the site..... Delete it and see what happens What do you mean by that? All IT problems are fixed by "switching it off and on again" or "deleting the datastore" or "running the support tool"....except they're not. I'm old school IT....s**t happens for a reason, and rebooting isn't the answer. For me this https://devicentrum.net/ worked fine .....because the problem has now been resolved. MAGIC!!!
January 13, 20187 yr Author For me this https://devicentrum.net/ worked fine Yeah but this is homepage, the problem is with forums So you do have something redirecting the site..... Delete it and see what happens All IT problems are fixed by "switching it off and on again" or "deleting the datastore" or "running the support tool"....except they're not. I'm old school IT....s**t happens for a reason, and rebooting isn't the answer. Nothing happen when I removed it. You mean to reinstall/rebooting whole sewer?
January 13, 20187 yr Yeah but this is homepage, the problem is with forums Nothing happen when I removed it. You mean to reinstall/rebooting whole sewer? Do not reinstall the server. Do not reboot the server. Ignore my sense of humour. Sheesh. There is something on your site redirecting devicentrum.net/forum to forum/devicentrum.net and thus causing the problem. With each of your replies, you are providing little snippets of information which are filling in the gaps - provide the full picture of what has taken place and give people a chance to understand what has taken place.
January 13, 20187 yr Author Do not reinstall the server. Do not reboot the server. Ignore my sense of humour. Sheesh. There is something on your site redirecting devicentrum.net/forum to forum/devicentrum.net and thus causing the problem. With each of your replies, you are providing little snippets of information which are filling in the gaps - provide the full picture of what has taken place and give people a chance to understand what has taken place. You have put in one screenshot of this what happening. The stylesheets in the code is showing to domain ".pl", and forums is now on ".net". Quote There is something on your site redirecting devicentrum.net/forum to forum/devicentrum.net and thus causing the problem. So this is not this. In conf_global.php i have edited this, board is working with all aplications and everything only without some javascript and stylesheets to theme. And as I wrote this I was thinking that the problem is theme, but no. I tried to upload some custom theme. Also check FURL Never heard of is, can you explain what I supposed to do?
January 13, 20187 yr Advanced Configuration / Friendly Urls Perhaps 'Revert to default configuration'
January 13, 20187 yr On your new server you do not have a subdomain forum.devicentrum.net/ So either create or remove it from htaccess file RewriteRule ^forum$ "http\:\/\/forum\.devicentrum\.net\/" [R=301,L]
January 13, 20187 yr Author Advanced Configuration / Friendly Urls Perhaps 'Revert to default configuration' Ahhh this, but I check it and no Friendly Urls look like its redirect to ".pl" everyone is fine and it like this should be to ".net" Quote Perhaps 'Revert to default configuration' Can you say how to do this? Search bar in ACP is not working. On your new server you do not have a subdomain forum.devicentrum.net/ So either create or remove it from htaccess file RewriteRule ^forum$ "http\:\/\/forum\.devicentrum\.net\/" [R=301,L] I have a subdomain created its why this is over there. @Edit: I redirect old domain to the same new server, we will se if this work. But however, how I can change it to have this on one redirections.
January 13, 20187 yr Author Can you switch your ACP theme to a default? This is a default theme, it weird I know but after moving this looking so
January 13, 20187 yr Try opening the editing file storage settings. If you have a custom url, turn it off.
Archived
This topic is now archived and is closed to further replies.