I have a Hosting in Hostgator with the domain http://vector5.eu set as principal. Also, I have a Joomla installed here: http://vector5.eu/responcat.
Then there is a domain (which I don't belong, belongs to another company): http://respon.cat. This domain have this redirection pointing to my Joomla:
http://respon.cat/newsletter --> http://vector5.eu/responcat
My problem is that this Joomla is not autogenerating the links with the domain http://respon.cat, instead they are generated with the domain http://vector5.eu.
This is an example of one link on the webpage: http://vector5.eu/responcat/index.php/newsletter-en-catala
I've tried almost everything with no luck. Any ideas?
Thanks!
Related
I have an AEM 6.3 site which uses ACS AEM Commons 3.15.12 sitemap functionality, it's configured on publish instances to use the 'publish' externalizer domain. The rendered sitemap has the correct hostname in the sitemap URLs.
When I add an additional homepage component (for the new site) in the same sitemap config as the existing working one, keeping publish as the externalizer domain, the new site's sitemap doesn't have the new site's domain name in the generated URLs, instead it has http://localhost:4503.
The working site (sitemap) does have some /etc/map/http mappings, which I recreated in kind for the new site, but again, when using the same config (with a home page component for each site), http://localhost:4503 remained as the domain name for my new site in its ACS AEM Commons generated sitemap.xml.
I did not try creating a new config with the new site (and its home page component), using publish as the externalizer domain, and with the new mappings I created.
I did however create a new config, with the new site's homepage component, and using a custom externalizer domain, which I created to match my new site's correct domain name, and did not have any /etc/map/http maps for the new site. In this case, the generated sitemap had the correct domain name in its sitemap.xml.
I'm trying to understand what's going on. Why the different behavior in the domain names printed in the generated sitemap.xml files for each site? Also, why does ACS AEM Commons want a home page component when a path could indicate the root of a site? It makes me wonder if my new site's home page component is missing something, so as not to work (i.e. causing the ACS AEM Commons sitemap to show http://localhost:4503 instead of the site's domain name), or maybe it's mapping related, or something else?
Seeking clarity (09/08/21):
The first site in my AEM to use ACS Commons Sitemap is using "publish" (which maps to http://localhost:4503) as the externalizer domain. How is the generated sitemap for this site getting the correct domain in this case? The only other info in the ACS Commons Site Map config for this site is the sling resource type for this site's homepage component.
Additionally, there are several /etc/map/http/<xxx_site:80> entries for this site, including one for sitemap (a redirect to home.sitemap.xml). I have a feeling these entries are how the sitemap has the correct domain while only having "publish" as the externalizer domain? The protocol shows as http however, could this be changed to https by creating similar /etc/map/https entries?
Instead of creating: publish1 https://www.yourfirstdomain.com, publish2 https://www.yourseconddomain.com for additional sites as suggested (and this does seem to work), could I use the same "publish" externalizer domain, in a new/separate ACS Site Map config, as the first site does, in conjunction with similar /etc/map/http(s) entries for the additional sites/domains?
Default configuration in externalizer for "publish" domain is "http://localhost:4503".
For your new/existing domain you should first configure Day CQ Link Externalizer:
use publish1, publish2...and so on
publish1 https://www.yourfirstdomain.com,
publish2 https://www.yourseconddomain.com
After this, you can enter the respective domain (publish1, publish2,..) in ACS AEM Commons - site map servlet as externalizer domain
I have a domain with GoDaddy called "livingmiracles.org". For years I had this domain forwarding to my livingmiraclescenter.org Joomla website. Recently, I discovered that the way the livingmiracles.org domain now forwards to our livingmiraclescenter.org site has changed and has left me with broken links on almost all of the over 60 websites I manage.
This is what used to happen:
Any URL of the livingmiraclescenter.org website would be able to be displayed with the livingmiracles.org domain instead. For example, the following URLs were interchangeable:
livingmiraclescenter.org/david-hoffmeister.html and
livingmiracles.org/david-hoffmeister.html
livingmiraclescenter.org/contact.html and
livingmiracles.org/contact.html
livingmiraclescenter.org/spiri-tv.html and
livingmiracles.org/spiri-tv.html
Also, variations of the above without ".html" would work.
Now, none of this works anymore. For the "livingmiracles.org/" links above, now, either the livingmiraclescenter.org home page pulls up or I get a GoDaddy error page.
I called GoDaddy and they confirmed a change in the way they handle domain forwarding now.
Can anyone suggest a simple/smart way—perhaps a RewriteRule or something like that—that I can set up somewhere (where?) to handle those specific page redirects? Basically, I want all my livingmiraclescenter.org links to be interchangeable with livingmiracles.org links like I wrote above in those examples.
Thank you so much!
Jutta
I have a question, I built a website for a client with a new domain (www.domain1.com) and new hosting. They have an old website with a different domain (www.domain2.com). The client requests that if someone clicks on www.domain2.com, that would take them to www.domain1.com. I built the website using WordPress, and the old website is built using Joomla 1.5.11 which doesn't have the option to use redirect under the Components option. I don't have any experience in Joomla 1.5.11 which is pretty old. Thanks in advance for looking into this for me.
Do you mean you want the domain to be redirected?
You can set up a 301 permanent wildcard redirect on your domain2.com to point to domain1.com.
Setting this up will also depend on the type of host you're using.
Also, you can set up an index.php file at the root of domain2.com to redirect:
<?php
header("Location: domain1.com");
?>
The problem with the above script is that you won't be able to do a wildcard redirect! But it can work with any Joomla! link, as Joomla's entrypoint is always set to index.php.
If none of the above is feasible for you, try adding more details about what you actually want to do.
Multiple stores in Magento 1.7.
I am having issues setting this up.
I have set up via configuration two websites, store, store views etc and the url's in web config.
I have changed the A records on the domain to point to the magento website and I have as instructed changed index.php but when i type in my 2nd website address it just takes me to the main (original) website pages, if I change the default website in Magento it works! I can't be far off but I'm struggling now, any advice?
I've been told that in 1.7 I only need to alter index.php to make it work
Andrew
you must provide either store code or website code to server variable $_SERVER['MAGE_RUN_CODE'] or as first parameter to Mage::run() function in index.php file, for example if every subdomain of site has one store, you can accomplish this by:
$storeOrWebsiteCode = strtok($_SERVER['HTTP_HOST'],'.');
$_SERVER['MAGE_RUN_CODE'] = $storeOrWebsiteCode;
or
$storeOrWebsiteCode = strtok($_SERVER['HTTP_HOST'],'.');
Mage::run($storeOrWebsiteCode, 'website');
or
Mage::run($storeOrWebsiteCode, 'store');
I have a blog which is hosted on myblog.blogger.com. I managed to redirect it to blog.mydomain.com.
However, I want users to access my bog under the URL: www.mydomain.com/blog. i.e. if a user types blog.mydomain.com, the url will become www.mydomain.com/blog, but the actual blog is hosted on myblog.blogger.com.
To reword the question in another way: is it possible to redirect myblog.blogger.com to www.mydomain.com/blog, where the actually blog is hosted on myblog.blogger.com?
if i understood you correctly, you are using blogger.com, and i dont believe that there is a need to redirect anything, you just specify your domain name in blogger.com
check the following link http://support.google.com/blogger/bin/static.py?hl=en&ts=1233381&page=ts.cs
Blogger.com doesn't support hosting the blog on subdirectories as of yet. You can only use a subdomain or www.